EDI - Conferma Ordine XML
Versione del 3 nov 2020 alle 14:16 di Dpezza (discussione | contributi)
Di seguito i dettagli della soluzione EDI relativa alle conferme degli ordini in formato XML.
Tipo file: | XML |
Modalità di trasferimento: | FTP |
Frequenza di aggiornamento: | tempo reale |
Flusso informativo: | da Desktoo a Dealer |
Nome file: | ORAxxxx.xml |
Cartella FTP: | pickup |
Tags | Description | Example | Note-Explanation |
---|---|---|---|
<?xml version="1.0" encoding="UTF-8"?> | Header | Always displayed | |
<OrderResponse> | Header | It opens the file (second row), and closes the file </OrderResponse> (last row) | |
<OrderResponseHead> | Header files | <OrderResponseHead> <Schema> <Version>3.04</Version> </Schema> <Parameters> <Language>en-GB</Language> <DecimalSeparator>.</DecimalSeparator> <Precision>20.2</Precision> </Parameters> <OrderResponseType Code="ACK">Full Acknowledgement</OrderResponseType> <OrderCurrency> <Currency Code="EUR">Euros</Currency> </OrderCurrency> <Checksum/> </OrderResponseHead> |
"ACK" means that the file is an order acknowledgement |
<OrderResponseReferences> | Order reference | <BuyersOrderNumber Preserve="true">C2014729</BuyersOrderNumber> | BuyersOrderNumber from the XML order file |
<OrderResponseReferences> | Unique order reference | <CrossReference>7042411</CrossReference> | <CrossReference> from the XML order file |
<BOSS:AdditionalOrderResponseReferences> | Order type | <BOSS:AdditionalOrderResponseReferences xmlns:BOSS="urn:Schemas-bossfed-co-uk:OP-OrderResponse-v1"> <BOSS:OrderResponseReference ReferenceType="OTP" ReferenceDesc="Order Type"> <BOSS:Reference>1</BOSS:Reference> </BOSS:OrderResponseReference> </BOSS:AdditionalOrderResponseReferences> |
Order type from the XML order file 1, 2, 3, 4 |
<OrderResponseDate> | Acknowledgement date | <OrderResponseDate>2020-09-11</OrderResponseDate> | YYYY-MM-DD |
<OriginalOrderDate> | Order date | <OriginalOrderDate>2020-09-11</OriginalOrderDate> | YYYY-MM-DD |
<Supplier> | Supplier | <Supplier> <SupplierReferences> <BuyersCodeForSupplier>.</BuyersCodeForSupplier> </SupplierReferences> <Party>.</Party> </Supplier> |
This content is always the same |
<Buyer> | Customer | <Buyer> <BuyerReferences> <SuppliersCodeForBuyer>10000009</SuppliersCodeForBuyer> </BuyerReferences> <Party>DESKTOO ITALIA S.R.L.</Party> <Address> <AddressLine>VIA DELL'INDUSTRIA, 19/F</AddressLine> <AddressLine/> <AddressLine>CASTEL SAN GIOVANNI</AddressLine> <PostCode>29015</PostCode> </Address> </Buyer> |
The address here is always the one of the main warehouse of the dealer (even if the order is type 2, 3 or 4) |
<DeliverTo> | <DeliverTo> <Party>DESKTOO ITALIA S.R.L.</Party> <Address> <AddressLine>VIA DELL'INDUSTRIA, 19/F</AddressLine> <AddressLine/> <AddressLine>CASTEL SAN GIOVANNI</AddressLine> <PostCode>29015</PostCode> </Address> </DeliverTo> |
Delivery address | |
<DeliverFrom> | <DeliverFrom> <DeliverFromReferences> <SuppliersCodeForLocation/> </DeliverFromReferences> <Party/> </DeliverFrom> |
Supplier warehouse, can be empty | |
<OrderResponseLine> | Order line | <OrderResponseLine> <LineNumber>1.00</LineNumber> <OrderResponseLineReferences> <BuyersOrderLineReference Preserve="true">1</BuyersOrderLineReference> </OrderResponseLineReferences> <Product> <SuppliersProductCode>100388</SuppliersProductCode> <BuyersProductCode>ZZ100388</BuyersProductCode> </Product> <Quantity> <Amount>2.00</Amount> </Quantity> <LineTotal>1.34</LineTotal> <Delivery> <Quantity> <Amount>2.00</Amount> </Quantity> <DeliveryInformation>LS</DeliveryInformation> </Delivery> <Delivery> <Quantity> <Amount>0</Amount> </Quantity> <DeliveryInformation>LB</DeliveryInformation> </Delivery> <Narrative>001</Narrative> </OrderResponseLine> |
<LineNumber> = line number <BuyersOrderLineReference> = line reference <SuppliersProductCode> = product code <BuyersProductCode> = dealer product code <Amount> = quantity <LineTotal> = line total price <DeliveryInformation>LS</DeliveryInformation> LS = Line Sent, RESERVED quantity <DeliveryInformation>LB</DeliveryInformation> LB = quantity in back order <SuppliersCodeForLocation>LA</SuppliersCodeForLocation> |
<Narrative> | <Narrative>closed by</Narrative> | Notes at order level | |
<OrderResponseTotal> | <OrderResponseTotal> <FreightCharges>0.00</FreightCharges> <MiscCharges/> </OrderResponseTotal> |
Esempio File: Conferma Ordine XML