Reseller Message LXIRCompanyGroup

Description

The flow shows the arrangement of the Group Goods Owner (= Retailers in the EWS), as well as the change and cancellation.

No feedback is made from the EWS and you cannot ask for information.


If a Group Goods Owner is placed in LXIR, the information is sent to the EWS according to the flow NY. Changes to such article are also sent to the EWS and then all information is always sent again.

Simple flow chart

NEW

CHANGE

Message Triggering

All triggerings are made by events in LXIR.

New Dealer: zxxxxxxxxxxxxxx


Change Dealer: xxxxxxxxxxxxxxxx

Specifications

XML Structure

LXIRCompanyGroup (1)

Envelope (1) LXIRCompanyGroup

Element       

Code

Mand.

Explanation

FromPartners
YFrom system
FromPartnerUser
YUsers from system / client
ToPartner
YTo system
ToPartnerUser
YUser System / Client
DateTime
NTime to create the message (YY-MM-DD hh: mm)
ReferenceNumber
YThe reference number of the message
InterchangeableTest
NIndicates test message

LXIRCompanyGroup Header (1-999)


HeaderInfo (1) LXIRCompanyGroup

Element       

Code

Mand.

Explanation

DocumentNumber
YThe reference number of the message
DocumentNameCompany GroupYMessage Name: CompanyGroup

LXIRCompanyGroup CompanyGroup (1)

CompanyGroupInfo (1) LXIRCompanyGroup

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

CompanyGroupId


J

Company ShortName

X

X

Goods owner / group

CompanyGroupIdOld


J

Company ShortName

X

X


Name


J

Name

X

X


LXIRCompanyGroup CompanyGroup CompanyGroupAdditions (1)

Attribute

Code

Mand

Explanation

Lxir

EWS

Comment

OperationCode


1 
2

J

Operation

1 = new layout 
2 = change

X

X

1 and 2

Handled identically in the EWS

Note to CompanyGroupIdOld

Sent to identify former CompanyGroupId when changing CompanyGroupId

Example

<? xml version = "1.0" encoding = "utf-8"?>

- < LXIRCompanyGroup >

  < Envelope FromPartner = " XOE " FromPartnerUser = " KERAKOLL " ToPartner = " EWS " ToPartnerUser = " KERAKOLL " DateTime = " 2008-02-06 14:08 " ReferenceNumber = " 1 " />

- < Header >

  < HeaderInfo DocumentNumber = " 0011 " DocumentName = " CompanyGroup " />

- < CompanyGroup >

  < CompanyGroupInfo CompanyGroupId = " GRP01 " CompanyGroupIdOld = " GRP01 " Name = " Number 1 " />

  < CompanyGroupAdditions OperationCode = " 2 " />

  </ CompanyGroup >

</ Header >

</ LXIRCompanyGroup >

Document version history

Version

Date

Author/change

Commenct

A2013-05-08Lasse SääfFirst draft