forked from OCA/edi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdespatch_advice_2.xml
96 lines (96 loc) · 3.37 KB
/
despatch_advice_2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="UTF-8" ?>
<DespatchAdvice:DespatchAdvice
xmlns:DespatchAdvice="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<cbc:ID>{picking_name}</cbc:ID>
<cbc:IssueDate>2020-11-16</cbc:IssueDate>
<cbc:DespatchAdviceTypeCode>scheduled</cbc:DespatchAdviceTypeCode>
<cac:OrderReference>
</cac:OrderReference>
<cac:DespatchSupplierParty>
<cac:Party>
<cac:PartyIdentification>
<cbc:ID schemeName="BE:VAT">BE0477472701</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
<cbc:StreetName>STREET</cbc:StreetName>
<cbc:CityName>CITY</cbc:CityName>
<cbc:PostalZone>0000</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>BE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName>S.A. SOCIETY</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:DespatchSupplierParty>
<cac:DeliveryCustomerParty>
<cac:Party>
<cac:PartyIdentification>
<cbc:ID schemeName="BE:VAT">BE0421801233</cbc:ID>
</cac:PartyIdentification>
<cac:PartyLegalEntity>
<cbc:RegistrationName>COMPANY</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:DeliveryCustomerParty>
<cac:Shipment>
<cbc:ID>0987654321</cbc:ID>
<cac:Delivery>
<cac:EstimatedDeliveryPeriod>
<cbc:EndDate>2020-11-17</cbc:EndDate>
</cac:EstimatedDeliveryPeriod>
</cac:Delivery>
</cac:Shipment>
<cac:DespatchLine>
<cbc:ID>{line_1_id}</cbc:ID>
<cbc:DeliveredQuantity unitCode="BG">{line_1_qty}</cbc:DeliveredQuantity>
<cbc:OutstandingQuantity
unitCode="BG"
>{line_1_backorder_qty}</cbc:OutstandingQuantity>
<cac:OrderLineReference>
<cbc:LineID>{line_1_id}</cbc:LineID>
<cac:OrderReference>
<cbc:ID>{line_1_order_id}</cbc:ID>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:Item>
<cbc:Name>PRODUCT1</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>1234567</cbc:ID>
</cac:SellersItemIdentification>
<cac:ItemInstance>
<cbc:BestBeforeDate>2022-03-31</cbc:BestBeforeDate>
<cac:LotIdentification>
<cbc:LotNumberID>1234890</cbc:LotNumberID>
</cac:LotIdentification>
</cac:ItemInstance>
</cac:Item>
</cac:DespatchLine>
<cac:DespatchLine>
<cbc:ID>{line_2_id}</cbc:ID>
<cbc:DeliveredQuantity unitCode="C62">{line_2_qty}</cbc:DeliveredQuantity>
<cac:OrderLineReference>
<cbc:LineID>{line_2_id}</cbc:LineID>
<cac:OrderReference>
<cbc:ID>{line_2_order_id}</cbc:ID>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:Item>
<cbc:Name>PRODUCT2</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>2345678</cbc:ID>
</cac:SellersItemIdentification>
<cac:ItemInstance>
<cbc:BestBeforeDate>2021-12-31</cbc:BestBeforeDate>
<cac:LotIdentification>
<cbc:LotNumberID>876540</cbc:LotNumberID>
</cac:LotIdentification>
</cac:ItemInstance>
</cac:Item>
</cac:DespatchLine>
</DespatchAdvice:DespatchAdvice>