mirror of
https://github.com/bringout/oca-edi.git
synced 2026-04-24 15:32:04 +02:00
Initial commit: OCA Edi packages (42 packages)
This commit is contained in:
commit
df976c03db
2184 changed files with 571602 additions and 0 deletions
|
|
@ -0,0 +1,94 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>1673980/1700802</cbc:ID>
|
||||
<cbc:Note/>
|
||||
<cbc:IssueDate>2023-04-30</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>1700802</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name></cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName></cbc:StreetName>
|
||||
<cbc:CityName></cbc:CityName>
|
||||
<cbc:PostalZone></cbc:PostalZone>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode></cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID></cbc:CompanyID>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID></cbc:ID>
|
||||
<cbc:TaxTypeCode></cbc:TaxTypeCode>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name></cbc:Name>
|
||||
<cbc:Telephone></cbc:Telephone>
|
||||
<cbc:ElectronicMail></cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>YourCompany</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>250 Executive Park Blvd, Suite 3400</cbc:StreetName>
|
||||
<cbc:AdditionalStreetName>AdditionalStreetName_1</cbc:AdditionalStreetName>
|
||||
<cbc:Department>Department_1</cbc:Department>
|
||||
<cbc:CityName>San Francisco</cbc:CityName>
|
||||
<cbc:PostalZone>94134</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID></cbc:CompanyID>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID></cbc:ID>
|
||||
<cbc:TaxTypeCode></cbc:TaxTypeCode>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name>Chester Reed</cbc:Name>
|
||||
<cbc:Telephone>(979)-904-8902</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>chester.reed79@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID>GE 2/120185</cbc:ID>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-04-13</cbc:EndDate>
|
||||
<cbc:EndTime>11:00:00</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
<cac:Despatch>
|
||||
<cac:DespatchLocation>
|
||||
<cbc:ID>Quai-22</cbc:ID>
|
||||
</cac:DespatchLocation>
|
||||
</cac:Despatch>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>10001</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="XBO">1500</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID>000011</cbc:LineID>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>7076</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>WH/PICK/1700802</cbc:ID>
|
||||
<cbc:Note/>
|
||||
<cbc:IssueDate>2023-04-30</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>SO1700802</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>YourCompany</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>250 Executive Park Blvd, Suite 3400</cbc:StreetName>
|
||||
<cbc:CityName>San Francisco</cbc:CityName>
|
||||
<cbc:PostalZone>94134</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID></cbc:CompanyID>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID></cbc:ID>
|
||||
<cbc:TaxTypeCode></cbc:TaxTypeCode>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name>Chester Reed</cbc:Name>
|
||||
<cbc:Telephone>(979)-904-8902</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>chester.reed79@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>Name</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>StreetName</cbc:StreetName>
|
||||
<cbc:Department>Department</cbc:Department>
|
||||
<cbc:AdditionalStreetName>AdditionalStreetName</cbc:AdditionalStreetName>
|
||||
<cbc:CityName>San Francisco</cbc:CityName>
|
||||
<cbc:PostalZone>94134</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID></cbc:CompanyID>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID></cbc:ID>
|
||||
<cbc:TaxTypeCode></cbc:TaxTypeCode>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name></cbc:Name>
|
||||
<cbc:Telephone>(979)-904-8902</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>chester.reed79@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID>GE 2/120185</cbc:ID>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-04-13</cbc:EndDate>
|
||||
<cbc:EndTime>11:00:00</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
<cac:Despatch>
|
||||
<cac:DespatchLocation>
|
||||
<cbc:ID>Quai-22</cbc:ID>
|
||||
</cac:DespatchLocation>
|
||||
</cac:Despatch>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>10001</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET">1500</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>7076</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>10002</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT">50</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>5225</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
ODOO WAMAS 00000120230501020000AUSK00056000WH/PICK/1700802 ODOO SO1700802 000 Name Department StreetName AdditionalStreetName 94134 San Francisco (979)-904-8902 Name Department StreetName AdditionalStreetName 94134 San Francisco California US (979)-904-8902 chester.reed79@example.com 20230413130000Quai-22 FRUEH FRUEHGE 2/120185 ODOO 00000000000000000000000000 CAM 001 ST Def_Strat
|
||||
ODOO WAMAS 00000220230501020000AUSP00054000WH/PICK/1700802 ODOO 0100010007076 00000 DISPONIBLE 0000000000000000000000000000 000001500000PET 00000000000000 NN N 0000N
|
||||
ODOO WAMAS 00000320230501020000AUSP00054000WH/PICK/1700802 ODOO 0100020005225 00000 DISPONIBLE 0000000000000000000000000000 000000050000BOUT 00000000000000 NN N 0000N
|
||||
|
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>WH/IN-RET/000235</cbc:ID>
|
||||
<cbc:Note/>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>SO001243</cbc:ID>
|
||||
<cbc:IssueDate>2023-04-27</cbc:IssueDate>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>1040</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>MyCompany</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>StreetName</cbc:StreetName>
|
||||
<cbc:Department>Department</cbc:Department>
|
||||
<cbc:AdditionalStreetName>AdditionalStreetName</cbc:AdditionalStreetName>
|
||||
<cbc:CityName>Turlock</cbc:CityName>
|
||||
<cbc:PostalZone>95380</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone>(623)-853-7197</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>wood.corner26@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>YourCompany</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>250 Executive Park Blvd, Suite 3400</cbc:StreetName>
|
||||
<cbc:AdditionalStreetName>AdditionalStreetName_1</cbc:AdditionalStreetName>
|
||||
<cbc:Department>Department_1</cbc:Department>
|
||||
<cbc:CityName>San Francisco</cbc:CityName>
|
||||
<cbc:PostalZone>94134</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID></cbc:CompanyID>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID></cbc:ID>
|
||||
<cbc:TaxTypeCode></cbc:TaxTypeCode>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name>Chester Reed</cbc:Name>
|
||||
<cbc:Telephone>(979)-904-8902</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>chester.reed79@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID>130377</cbc:ID>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-05-01</cbc:EndDate>
|
||||
<cbc:EndTime>14:00:00</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0001</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT">1536</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1151</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0002</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET">5184</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1156</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0003</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT">3840</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID>0003</cbc:LineID>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1160</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0004</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET">3072</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1162</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0005</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET">3024</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1176</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ODOO WAMAS 00000120230501020000KRETK0051000WH/IN-RET/000235 ODOO SO001243 RETCLI0001040 MyCompany Department StreetName AdditionalStreetName 95380 Turlock US (623)-853-7197 wood.corner26@example.com SF-EM-RETCLI 20230501160000
|
||||
ODOO WAMAS 00000220230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000010001151 00000DISPONIBLE 000001536000BOUT N
|
||||
ODOO WAMAS 00000320230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000020001156 00000DISPONIBLE 000005184000PET N
|
||||
ODOO WAMAS 00000420230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000030001160 00000DISPONIBLE 000003840000BOUT N
|
||||
ODOO WAMAS 00000520230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000040001162 00000DISPONIBLE 000003072000PET N
|
||||
ODOO WAMAS 00000620230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000050001176 00000DISPONIBLE 000003024000PET N
|
||||
|
|
@ -0,0 +1,152 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>WH/IN/000377</cbc:ID>
|
||||
<cbc:Note/>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>PO001040</cbc:ID>
|
||||
<cbc:IssueDate>2023-04-27</cbc:IssueDate>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>1040</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>MyCompany</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>StreetName</cbc:StreetName>
|
||||
<cbc:Department>Department</cbc:Department>
|
||||
<cbc:AdditionalStreetName>AdditionalStreetName</cbc:AdditionalStreetName>
|
||||
<cbc:CityName>Turlock</cbc:CityName>
|
||||
<cbc:PostalZone>95380</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone>(623)-853-7197</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>wood.corner26@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name>YourCompany</cbc:Name>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName>250 Executive Park Blvd, Suite 3400</cbc:StreetName>
|
||||
<cbc:CityName>San Francisco</cbc:CityName>
|
||||
<cbc:PostalZone>94134</cbc:PostalZone>
|
||||
<cbc:CountrySubentity>California</cbc:CountrySubentity>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode>US</cbc:IdentificationCode>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID></cbc:CompanyID>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID></cbc:ID>
|
||||
<cbc:TaxTypeCode></cbc:TaxTypeCode>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name>Chester Reed</cbc:Name>
|
||||
<cbc:Telephone>(979)-904-8902</cbc:Telephone>
|
||||
<cbc:Telefax></cbc:Telefax>
|
||||
<cbc:ElectronicMail>chester.reed79@example.com</cbc:ElectronicMail>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID>130377</cbc:ID>
|
||||
<cac:Delivery>
|
||||
<cac:PromiseDeliveryPeriod>
|
||||
<cbc:EndDate>2023-05-02</cbc:EndDate>
|
||||
<cbc:EndTime>15:00:00</cbc:EndTime>
|
||||
</cac:PromiseDeliveryPeriod>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-05-01</cbc:EndDate>
|
||||
<cbc:EndTime>14:00:00</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0001</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT">1536</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1151</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>7910063</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0002</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET">5184</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1156</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>7910105</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0003</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT">3840</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1160</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>7910004</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0004</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET">3072</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1162</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>12156876</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>0005</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="XBO">3024</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1176</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>7910044</cbc:ID>
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ODOO WAMAS 00000120230501020000WEAK00050000WH/IN/000377 ODOO PO001040 STDMAN0001040 MyCompany Department StreetName AdditionalStreetName 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230502170000
|
||||
ODOO WAMAS 00000220230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000010001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501020000 202305011600007910063 NNLG
|
||||
ODOO WAMAS 00000320230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000020001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501020000 202305011600007910105 NNLG
|
||||
ODOO WAMAS 00000420230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000030001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501020000 202305011600007910004 NNLG
|
||||
ODOO WAMAS 00000520230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000040001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501020000 2023050116000012156876 NNLG
|
||||
ODOO WAMAS 00000620230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000050001176 00000 NDISPONIBLE 000003024000XBO NORMAL 20230501020000 202305011600007910044 NNLG
|
||||
|
|
@ -0,0 +1,162 @@
|
|||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>1673982/1701778</cbc:ID>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>1673982/1701778</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID/>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyIdentification>
|
||||
<cbc:ID schemeName="ODOO:ID">4009542</cbc:ID>
|
||||
</cac:PartyIdentification>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cbc:CountrySubentity/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID>GE 2/120185</cbc:ID>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cac:Shipment>
|
||||
<cac:TransportHandlingUnit>
|
||||
<cac:ActualPackage>
|
||||
<cbc:ID>376401426411929180</cbc:ID>
|
||||
</cac:ActualPackage>
|
||||
<cbc:TransportHandlingUnitTypeCode>PE</cbc:TransportHandlingUnitTypeCode>
|
||||
</cac:TransportHandlingUnit>
|
||||
<cac:GrossWeightMeasure>
|
||||
<cbc:Measure>314.7</cbc:Measure>
|
||||
</cac:GrossWeightMeasure>
|
||||
</cac:Shipment>
|
||||
<cbc:ID>101</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="TETRA" unitCodeListAgencyName="WAMAS">
|
||||
7.0
|
||||
</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID/>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>
|
||||
15455
|
||||
</cbc:ID>
|
||||
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cac:Shipment>
|
||||
<cac:TransportHandlingUnit>
|
||||
<cac:ActualPackage>
|
||||
<cbc:ID>376401426411929180</cbc:ID>
|
||||
</cac:ActualPackage>
|
||||
<cbc:TransportHandlingUnitTypeCode>PE</cbc:TransportHandlingUnitTypeCode>
|
||||
</cac:TransportHandlingUnit>
|
||||
<cac:GrossWeightMeasure>
|
||||
<cbc:Measure>314.7</cbc:Measure>
|
||||
</cac:GrossWeightMeasure>
|
||||
</cac:Shipment>
|
||||
<cbc:ID>102</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="TETRA" unitCodeListAgencyName="WAMAS">
|
||||
8.0
|
||||
</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID/>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>
|
||||
15455
|
||||
</cbc:ID>
|
||||
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cac:Shipment>
|
||||
<cac:TransportHandlingUnit>
|
||||
<cac:ActualPackage>
|
||||
<cbc:ID>376401426411929180</cbc:ID>
|
||||
</cac:ActualPackage>
|
||||
<cbc:TransportHandlingUnitTypeCode>PE</cbc:TransportHandlingUnitTypeCode>
|
||||
</cac:TransportHandlingUnit>
|
||||
<cac:GrossWeightMeasure>
|
||||
<cbc:Measure>314.7</cbc:Measure>
|
||||
</cac:GrossWeightMeasure>
|
||||
</cac:Shipment>
|
||||
<cbc:ID>103</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="TETRA" unitCodeListAgencyName="WAMAS">
|
||||
0.0
|
||||
</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID/>
|
||||
</cac:BuyersItemIdentification>
|
||||
<cac:SellersItemIdentification>
|
||||
<cbc:ID>
|
||||
15455
|
||||
</cbc:ID>
|
||||
|
||||
</cac:SellersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
WAMAS ODOO 00005620230413110200AUSKQ00520001673982/1701778 HOST 1673982/1701778 0004009542 202304140000002023041305252320230413110128GE 2/120185 HOST
|
||||
WAMAS ODOO 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700
|
||||
WAMAS ODOO 00000220230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010100015455 00000000000007000000000000000DISPONIBLE 376401426411929180
|
||||
WAMAS ODOO 00000320230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010200015455 00000000000008000000000000000DISPONIBLE 376401426411929180
|
||||
WAMAS ODOO 00000420230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010300015455 00000000000000000000000000000DISPONIBLE 376401426411929180
|
||||
|
|
@ -0,0 +1,169 @@
|
|||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>ABCDE/IN/00424</cbc:ID>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>000185</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>1069</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cbc:CountrySubentity/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID/>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2025-01-14</cbc:EndDate>
|
||||
<cbc:EndTime>12:13:23</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>1</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT" unitCodeListAgencyName="WAMAS">100.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>99098 2</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>ABCDE/IN/00409</cbc:ID>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>000176</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>1069</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cbc:CountrySubentity/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID/>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2025-01-14</cbc:EndDate>
|
||||
<cbc:EndTime>12:13:23</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>1</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT" unitCodeListAgencyName="WAMAS">114.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>12766</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>1</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT" unitCodeListAgencyName="WAMAS">115.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>12766</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
WAMAS ODOO 00000720250114132733WEAKQ0051000212712 ODOO 20250114070918 19700101010000202501140710472025011413132320250114070939 0001069
|
||||
WAMAS ODOO 00000820250114132733WEAPQ0050000212712 000ABCDE/IN/00424 ODOO 000185 0000019623 00099098 2 00000DISPONIBLE 000000100000000000000000 BOUT 19700101 12 eCAM 173980 N
|
||||
WAMAS ODOO 00000920250114132733WEAPQ0050000212712 000ABCDE/IN/00409 ODOO 000176 0000019623 00012766 00000DISPONIBLE 000000114000000000000000 BOUT 19700101 12 eCAM 173970 N
|
||||
WAMAS ODOO 00001020250114132733WEAPQ0050000212712 000ABCDE/IN/00409 ODOO 000176 0000019623 00012766 00000DISPONIBLE 000000115000000000000000 BOUT 19700101 12 eCAM 173970 N
|
||||
|
|
@ -0,0 +1,202 @@
|
|||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>1683399</cbc:ID>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>1712149</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>4026234</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cbc:CountrySubentity/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID/>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-05-10</cbc:EndDate>
|
||||
<cbc:EndTime>09:54:47</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>10</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">108.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1172</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>20</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">36.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1272</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>30</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">48.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>16076</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>40</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">72.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>22876</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>50</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">60.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>25676</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>1683288</cbc:ID>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID>1711980</cbc:ID>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>4007720</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cbc:CountrySubentity/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID/>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-05-10</cbc:EndDate>
|
||||
<cbc:EndTime>09:57:14</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>10</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT" unitCodeListAgencyName="WAMAS">144.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>8060</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
WAMAS ODOO 00000120230510115944KRETKQ0500001683399 HOST 1712149 0004026234 202305101026402023051011102920230510115447
|
||||
WAMAS ODOO 00000220230510115944KRETPQ0500001683399 HOST 1712149 0000100001172 00000DISPONIBLE 000000108000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000320230510115944KRETPQ0500001683399 HOST 1712149 0000200001272 00000DISPONIBLE 000000036000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000420230510115944KRETPQ0500001683399 HOST 1712149 00003000016076 00000DISPONIBLE 000000048000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000520230510115944KRETPQ0500001683399 HOST 1712149 00004000022876 00000DISPONIBLE 000000072000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000620230510115944KRETPQ0500001683399 HOST 1712149 00005000025676 00000DISPONIBLE 000000060000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000720230510115944KRETKQ0500001683288 HOST 1711980 0004007720 202305100810092023051011562820230510115714
|
||||
WAMAS ODOO 00000820230510115944KRETPQ0500001683288 HOST 1711980 0000100008060 00000DISPONIBLE 000000144000000000000000 BOUT 19700101
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
|
||||
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
|
||||
<cbc:ID>130377</cbc:ID>
|
||||
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
|
||||
<cac:OrderReference>
|
||||
<cbc:ID/>
|
||||
</cac:OrderReference>
|
||||
<cac:DespatchSupplierParty>
|
||||
<cbc:CustomerAssignedAccountID>1040</cbc:CustomerAssignedAccountID>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:Contact>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DespatchSupplierParty>
|
||||
<cac:DeliveryCustomerParty>
|
||||
<cac:Party>
|
||||
<cac:PartyName>
|
||||
<cbc:Name/>
|
||||
</cac:PartyName>
|
||||
<cac:PostalAddress>
|
||||
<cbc:StreetName/>
|
||||
<cbc:CityName/>
|
||||
<cbc:PostalZone/>
|
||||
<cbc:CountrySubentity/>
|
||||
<cac:Country>
|
||||
<cbc:IdentificationCode/>
|
||||
</cac:Country>
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyTaxScheme>
|
||||
<cbc:CompanyID/>
|
||||
<cac:TaxScheme>
|
||||
<cbc:ID/>
|
||||
<cbc:TaxTypeCode/>
|
||||
</cac:TaxScheme>
|
||||
</cac:PartyTaxScheme>
|
||||
<cac:Contact>
|
||||
<cbc:Name/>
|
||||
<cbc:Telephone/>
|
||||
<cbc:Telefax/>
|
||||
<cbc:ElectronicMail/>
|
||||
</cac:Contact>
|
||||
</cac:Party>
|
||||
</cac:DeliveryCustomerParty>
|
||||
<cac:Shipment>
|
||||
<cbc:ID/>
|
||||
<cac:Delivery>
|
||||
<cac:EstimatedDeliveryPeriod>
|
||||
<cbc:EndDate>2023-05-01</cbc:EndDate>
|
||||
<cbc:EndTime>04:43:39</cbc:EndTime>
|
||||
</cac:EstimatedDeliveryPeriod>
|
||||
</cac:Delivery>
|
||||
</cac:Shipment>
|
||||
<cac:DespatchLine>
|
||||
<cbc:ID>20</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT" unitCodeListAgencyName="WAMAS">1536.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1151</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>30</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">5184.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1156</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>40</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="BOUT" unitCodeListAgencyName="WAMAS">3840.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1160</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>50</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">3072.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1162</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine><cac:DespatchLine>
|
||||
<cbc:ID>60</cbc:ID>
|
||||
<cbc:DeliveredQuantity unitCode="PET" unitCodeListAgencyName="WAMAS">3024.0</cbc:DeliveredQuantity>
|
||||
<cac:OrderLineReference>
|
||||
<cbc:LineID/>
|
||||
</cac:OrderLineReference>
|
||||
<cac:Item>
|
||||
<cac:BuyersItemIdentification>
|
||||
<cbc:ID>1176</cbc:ID>
|
||||
</cac:BuyersItemIdentification>
|
||||
</cac:Item>
|
||||
</cac:DespatchLine>
|
||||
</DespatchAdvice>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120230501065723WEAKQ0051000196241 HOST 20230501060217 19700101010000202305010609112023050106433920230501060221 0001040
|
||||
WAMAS ODOO 00000220230501065723WEAPQ0050000196241 000130377 HOST 00002045415 0001151 00000DISPONIBLE 000001536000000000000000 BOUT 19700101 12 eCAM 018090 N
|
||||
WAMAS ODOO 00000320230501065723WEAPQ0050000196241 000130377 HOST 00003045415 0001156 00000DISPONIBLE 000005184000000000000000 PET 19700101 12 eCAM 018090 N
|
||||
WAMAS ODOO 00000420230501065723WEAPQ0050000196241 000130377 HOST 00004045415 0001160 00000DISPONIBLE 000003840000000000000000 BOUT 19700101 12 eCAM 018090 N
|
||||
WAMAS ODOO 00000520230501065723WEAPQ0050000196241 000130377 HOST 00005045415 0001162 00000DISPONIBLE 000003072000000000000000 PET 19700101 12 eCAM 018090 N
|
||||
WAMAS ODOO 00000620230501065723WEAPQ0050000196241 000130377 HOST 00006045415 0001176 00000DISPONIBLE 000003024000000000000000 PET 19700101 12 eCAM 018090 N
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"ref": "0001",
|
||||
"name": "Adam Smith",
|
||||
"street": "3273 Laurel Lane",
|
||||
"street2": "",
|
||||
"zip": "79782",
|
||||
"city": "Sand Springs",
|
||||
"state": "Texas",
|
||||
"country_code": "US",
|
||||
"phone": "432-393-1264",
|
||||
"email": "aaa",
|
||||
"street": "adam@dayrep.com",
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"ref": "223224",
|
||||
"wamas_code": "PE/PP/RO",
|
||||
"priority_sequence": 0,
|
||||
"game_identifier": "N",
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
ODOO WAMAS 00000120240211231422LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
ODOO WAMAS 00000120240211231532KSTAUS050000223224 PE/PP/RO kMEZ 0 N
|
||||
ODOO WAMAS 00000220240211231532KSTAUS050000223224 PE/PP/RO kPAR 0 N
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
{'WATEKQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'),
|
||||
('Telheader_Ziel', 'SYSLOG'),
|
||||
('Telheader_TelSeq', 1),
|
||||
('Telheader_AnlZeit', '20230413110200'),
|
||||
('Satzart', 'WATEKQ054'),
|
||||
('IvTek_TeId', '376401426411929180'),
|
||||
('IvTek_Pos_FeldId', 'QUAI-22'),
|
||||
('IvTek_Pos_Offs_L_X', 0),
|
||||
('IvTek_Pos_Offs_L_Y', 0),
|
||||
('IvTek_Pos_Offs_L_Z', 0),
|
||||
('IvTek_Stamm_TeId', ''),
|
||||
('AnzSubTe', 0),
|
||||
('IvTourp_TOUR_TourId_TourNr', 'GE 2/120185'),
|
||||
('IvTourp_TOUR_TourId_HostTourKz', 'HOST'),
|
||||
('IvTts_THM_ThmId', 'PE'),
|
||||
('IvTts_MaxLadeHoehe', 740),
|
||||
('IvTour_VAST_Versandart', 'ST'),
|
||||
('IvTourp_TOUR_TourId_IntLfdNr', 9016),
|
||||
('IvTek_GesGew', 314.7),
|
||||
('IvTourp_LiefSNr', '')])]}
|
||||
|
|
@ -0,0 +1 @@
|
|||
WAMAS SYSLOG 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{'WATEPQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'),
|
||||
('Telheader_Ziel', 'SYSLOG'),
|
||||
('Telheader_TelSeq', 24),
|
||||
('Telheader_AnlZeit', '20230413110200'),
|
||||
('Satzart', 'WATEPQ050'),
|
||||
('IvTep_MId_Charge', '2723041Aé°°²¹370150'),
|
||||
('IvTep_MId_MHD', '20250210'),
|
||||
('IvTep_MId_ResNr', ''),
|
||||
('IvTep_MId_WeNr', '12 eCAM 013370'),
|
||||
('IvTep_MId_ThmKz', 'N'),
|
||||
('IvTep_PrimThmKz', 'N'),
|
||||
('IvTep_FifoDatum', '20250210'),
|
||||
('IvTep_PosNr', 7),
|
||||
('IvArt_Bestand_Einheit', 'PET'),
|
||||
('IvArt_HOSTUNITS_HostEinh', ''),
|
||||
('IvAusp_UrAusId_Mand', '000'),
|
||||
('IvAusp_UrAusId_AusNr', '1673981/1700809'),
|
||||
('IvAusp_UrAusId_HostAusKz', 'HOST'),
|
||||
('IvAusp_HostPosNr', 61),
|
||||
('IvArt_AId_Mand', '000'),
|
||||
('IvArt_AId_ArtNr', '7055'),
|
||||
('IvArt_AId_Var', '00000'),
|
||||
('Mngs_Mng', 90.0),
|
||||
('Mngs_Gew', 0.0),
|
||||
('IvMatqk_HMATQ_HMatQ', 'DISPONIBLE'),
|
||||
('IvTep_TeId', '376401426411929081')])]}
|
||||
|
|
@ -0,0 +1 @@
|
|||
WAMAS SYSLOG 00002420230413110200WATEPQ0502723041Aé°°˛š370150 20250210 12 eCAM 013370 NN20250210000007PET 0001673981/1700809 HOST 0000610007055 00000000000090000000000000000DISPONIBLE 376401426411929081
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{'WATEPQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'),
|
||||
('Telheader_Ziel', 'SYSLOG'),
|
||||
('Telheader_TelSeq', 11),
|
||||
('Telheader_AnlZeit', '20230413110200'),
|
||||
('Satzart', 'WATEPQ050'),
|
||||
('IvTep_MId_Charge', ''),
|
||||
('IvTep_MId_MHD', '20231231'),
|
||||
('IvTep_MId_ResNr', ''),
|
||||
('IvTep_MId_WeNr', '12 eCAM 014020'),
|
||||
('IvTep_MId_ThmKz', 'N'),
|
||||
('IvTep_PrimThmKz', 'N'),
|
||||
('IvTep_FifoDatum', '20231231'),
|
||||
('IvTep_PosNr', 10),
|
||||
('IvArt_Bestand_Einheit', 'PET'),
|
||||
('IvArt_HOSTUNITS_HostEinh', ''),
|
||||
('IvAusp_UrAusId_Mand', '000'),
|
||||
('IvAusp_UrAusId_AusNr', '1673982/1701778'),
|
||||
('IvAusp_UrAusId_HostAusKz', 'HOST'),
|
||||
('IvAusp_HostPosNr', 21),
|
||||
('IvArt_AId_Mand', '000'),
|
||||
('IvArt_AId_ArtNr', '1176'),
|
||||
('IvArt_AId_Var', '00000'),
|
||||
('Mngs_Mng', 30.0),
|
||||
('Mngs_Gew', 0.0),
|
||||
('IvMatqk_HMATQ_HMatQ', 'DISPONIBLE'),
|
||||
('IvTep_TeId', '376401426411929180')])]}
|
||||
|
|
@ -0,0 +1 @@
|
|||
WAMAS SYSLOG 00001120230413110200WATEPQ050 20231231 12 eCAM 014020 NN20231231000010PET 0001673982/1701778 HOST 0000210001176 00000000000030000000000000000DISPONIBLE 376401426411929180
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{'WATEPQ': [{'IvArt_AId_ArtNr': '34155',
|
||||
'IvArt_AId_Mand': '000',
|
||||
'IvArt_AId_Var': '00000',
|
||||
'IvArt_Bestand_Einheit': 'PET',
|
||||
'IvArt_HOSTUNITS_HostEinh': '',
|
||||
'IvAusp_HostPosNr': '000131',
|
||||
'IvAusp_UrAusId_AusNr': '1673982/1701778',
|
||||
'IvAusp_UrAusId_HostAusKz': 'HOST',
|
||||
'IvAusp_UrAusId_Mand': '000',
|
||||
'IvMatqk_HMATQ_HMatQ': 'DISPONIBLE',
|
||||
'IvTep_FifoDatum': '20240202',
|
||||
'IvTep_MId_Charge': '6423033A370063',
|
||||
'IvTep_MId_MHD': '20240202',
|
||||
'IvTep_MId_ResNr': '',
|
||||
'IvTep_MId_ThmKz': 'N',
|
||||
'IvTep_MId_WeNr': '12 eCAM 012210',
|
||||
'IvTep_PosNr': '000011',
|
||||
'IvTep_PrimThmKz': 'N',
|
||||
'IvTep_TeId': '376401426411929180',
|
||||
'Mngs_Gew': '000000000000',
|
||||
'Mngs_Mng': '000000048000'}]}
|
||||
|
|
@ -0,0 +1 @@
|
|||
WAMAS SYSLOG 00001220230413110200WATEPQ0506423033A鰰<41><E9B0B0>370063 20240202 12 eCAM 012210 NN20240202000011PET 0001673982/1701778 HOST 00013100034155 00000000000048000000000000000DISPONIBLE 376401426411929180
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
WAMAS SYSLOG 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700
|
||||
WAMAS SYSLOG 00001620230413110200WATEPQ050 20231030 12 eCAM 012630 NN20231030000015PET 0001673982/1701778 HOST 00015100053126 00000000000096000000000000000DISPONIBLE 376401426411929180
|
||||
WAMAS SYSLOG 00005620230413110200AUSKQ00520001673982/1701778 HOST 1701778 0004009542 202304140000002023041305252320230413110128GE 2/120185 HOST
|
||||
WAMAS SYSLOG 00005720230413110200AUSPQ00510001673982/1701778 HOST 1701778 00001100022056 00000DISPONIBLE 000000048000000000000000 PET 19700101 N
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000
|
||||
ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N
|
||||
ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N
|
||||
ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N
|
||||
ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N
|
||||
ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000
|
||||
ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N
|
||||
ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N
|
||||
ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N
|
||||
ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N
|
||||
ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000
|
||||
ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N
|
||||
ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N
|
||||
ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N
|
||||
ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N
|
||||
ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestlé Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000
|
||||
SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG
|
||||
SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG
|
||||
SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG
|
||||
SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG
|
||||
SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestlé Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000
|
||||
SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG
|
||||
SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG
|
||||
SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG
|
||||
SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG
|
||||
SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestlé Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000
|
||||
SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG
|
||||
SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG
|
||||
SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG
|
||||
SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG
|
||||
SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000
|
||||
WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000000000000000 BOUT 19700101
|
||||
WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000000000000000 BOUT 19700101
|
||||
WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000000000000000 PET 19700101
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000
|
||||
WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000000000000000000000000 BOUT 19700101
|
||||
WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000000000000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000000000000000000000000 BOUT 19700101
|
||||
WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000000000000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000000000000000000000000 PET 19700101
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000
|
||||
WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000000001000000000000000 BOUT 19700101
|
||||
WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000000001000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000000001000000000000000 BOUT 19700101
|
||||
WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000000001000000000000000 PET 19700101
|
||||
WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000000001000000000000000 PET 19700101
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040
|
||||
WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000001536000000000000000 BOUT N
|
||||
WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000005184000000000000000 PET N
|
||||
WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000003840000000000000000 BOUT N
|
||||
WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000003072000000000000000 PET N
|
||||
WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000003024000000000000000 PET N
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040
|
||||
WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000000000000000000000000 BOUT N
|
||||
WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000000000000000000000000 PET N
|
||||
WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000000000000000000000000 BOUT N
|
||||
WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000000000000000000000000 PET N
|
||||
WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000000000000000000000000 PET N
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040
|
||||
WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000000001000000000000000 BOUT N
|
||||
WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000000001000000000000000 PET N
|
||||
WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000000001000000000000000 BOUT N
|
||||
WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000000001000000000000000 PET N
|
||||
WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000000001000000000000000 PET N
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
import ast
|
||||
import unittest
|
||||
|
||||
from freezegun import freeze_time
|
||||
|
||||
from ..dict2wamas import dict2wamas
|
||||
from ..utils import file_open, file_path
|
||||
|
||||
|
||||
class TestDict2wamas(unittest.TestCase):
|
||||
|
||||
maxDiff = None
|
||||
|
||||
def _test(self, msg_type, filename):
|
||||
with file_open(
|
||||
file_path("tests/samples/dict2wamas_input%s.dict" % filename)
|
||||
) as infile, file_open(
|
||||
file_path("tests/samples/dict2wamas_output%s.wamas" % filename)
|
||||
) as outfile:
|
||||
dict_input = ast.literal_eval(infile.read())
|
||||
output = dict2wamas(dict_input, msg_type)
|
||||
expected_output = outfile.read()
|
||||
self.assertEqual(output, expected_output)
|
||||
|
||||
@freeze_time("2024-02-11 22:14:22")
|
||||
def test_LST(self):
|
||||
self._test("Supplier", "")
|
||||
|
||||
@freeze_time("2024-02-11 22:15:32")
|
||||
def test_KSTAUS(self):
|
||||
self._test("CustomerDeliveryPreferences", "_2")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
import unittest
|
||||
from datetime import date, datetime
|
||||
|
||||
from freezegun import freeze_time
|
||||
|
||||
from ..ubl2wamas import ubl2wamas
|
||||
from ..utils import file_open, file_path, set_value_to_string
|
||||
|
||||
|
||||
class TestUbl2wamas(unittest.TestCase):
|
||||
|
||||
maxDiff = None
|
||||
|
||||
def test_helpers(self):
|
||||
dict_data = {
|
||||
"str": [
|
||||
{
|
||||
"input_val": "WEAPQ0050",
|
||||
"expected_output_val": "WEAPQ0050",
|
||||
"length": 9,
|
||||
"dp": False,
|
||||
},
|
||||
],
|
||||
"int": [
|
||||
{
|
||||
"input_val": 30,
|
||||
"expected_output_val": "000030",
|
||||
"length": 6,
|
||||
"dp": False,
|
||||
},
|
||||
{
|
||||
"input_val": "30",
|
||||
"expected_output_val": "000030",
|
||||
"length": 6,
|
||||
"dp": False,
|
||||
},
|
||||
],
|
||||
"float": [
|
||||
{
|
||||
"input_val": 5184.0,
|
||||
"expected_output_val": "000005184000",
|
||||
"length": 12,
|
||||
"dp": 3,
|
||||
},
|
||||
{
|
||||
"input_val": "5184.0",
|
||||
"expected_output_val": "000005184000",
|
||||
"length": 12,
|
||||
"dp": 3,
|
||||
},
|
||||
],
|
||||
"date": [
|
||||
{
|
||||
"input_val": "2023-05-01",
|
||||
"expected_output_val": "20230501",
|
||||
"length": 8,
|
||||
"dp": False,
|
||||
},
|
||||
{
|
||||
"input_val": date(2023, 5, 1),
|
||||
"expected_output_val": "20230501",
|
||||
"length": 8,
|
||||
"dp": False,
|
||||
},
|
||||
{
|
||||
"input_val": datetime(2023, 5, 1, 0, 0),
|
||||
"expected_output_val": "20230501",
|
||||
"length": 8,
|
||||
"dp": False,
|
||||
},
|
||||
],
|
||||
"datetime": [
|
||||
{
|
||||
"input_val": "2023-05-01 06:57:23",
|
||||
"expected_output_val": "20230501085723",
|
||||
"length": 14,
|
||||
"dp": False,
|
||||
},
|
||||
{
|
||||
"input_val": datetime(2023, 5, 1, 6, 57, 23),
|
||||
"expected_output_val": "20230501",
|
||||
"length": 8,
|
||||
"dp": False,
|
||||
},
|
||||
],
|
||||
"bool": [
|
||||
{
|
||||
"input_val": "N",
|
||||
"expected_output_val": "N",
|
||||
"length": 1,
|
||||
"dp": False,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
for ttype in dict_data:
|
||||
for data in dict_data[ttype]:
|
||||
input_val = data["input_val"]
|
||||
expected_output_val = data["expected_output_val"]
|
||||
length = data["length"]
|
||||
dp = data["dp"]
|
||||
|
||||
output_val = set_value_to_string(
|
||||
input_val, ttype, length, dp, do_convert_tz=True
|
||||
)
|
||||
self.assertEqual(output_val, expected_output_val)
|
||||
|
||||
@freeze_time("2023-05-01")
|
||||
def _convert_ubl2wamas(
|
||||
self, input_filename, expected_output_filename, telegram_type
|
||||
):
|
||||
path = file_path("tests/samples/")
|
||||
with file_open(path + input_filename) as inputfile, file_open(
|
||||
path + expected_output_filename
|
||||
) as outputfile:
|
||||
str_input = inputfile.read()
|
||||
output = ubl2wamas(str_input, telegram_type)
|
||||
expected_output = outputfile.read().strip("\n")
|
||||
self.assertEqual(output, expected_output)
|
||||
|
||||
def test_convert_ubl2wamas_picking(self):
|
||||
input_file = "UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml"
|
||||
expected_output = "UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas"
|
||||
msg_type = "Picking"
|
||||
self._convert_ubl2wamas(input_file, expected_output, msg_type)
|
||||
|
||||
def test_convert_ubl2wamas_reception(self):
|
||||
input_file = "UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml"
|
||||
expected_output = "UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas"
|
||||
msg_type = "Reception"
|
||||
self._convert_ubl2wamas(input_file, expected_output, msg_type)
|
||||
|
||||
def test_convert_ubl2wamas_return(self):
|
||||
input_file = "UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml"
|
||||
expected_output = "UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas"
|
||||
msg_type = "Return"
|
||||
self._convert_ubl2wamas(input_file, expected_output, msg_type)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
import unittest
|
||||
|
||||
import xmltodict
|
||||
from dotty_dict import Dotty
|
||||
|
||||
from ..utils import (
|
||||
_set_string_bool,
|
||||
_set_string_float,
|
||||
file_open,
|
||||
file_path,
|
||||
get_address_elements,
|
||||
get_Adrs_Adr,
|
||||
get_Adrs_Name,
|
||||
get_Adrs_Name2,
|
||||
get_Adrs_Name3,
|
||||
get_Adrs_Name4,
|
||||
)
|
||||
|
||||
|
||||
class TestUtils(unittest.TestCase):
|
||||
def testGetAddressNamePicking(self):
|
||||
with file_open(
|
||||
file_path("tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml")
|
||||
) as infile:
|
||||
dict_item = Dotty(xmltodict.parse(infile.read()))
|
||||
address_elements = get_address_elements(dict_item)
|
||||
self.assertEqual(
|
||||
address_elements,
|
||||
{
|
||||
"ContactName": "Chester Reed",
|
||||
"PartyName": "YourCompany",
|
||||
"Department": "Department_1",
|
||||
"StreetName": "250 Executive Park Blvd, Suite 3400",
|
||||
"AdditionalStreetName": "AdditionalStreetName_1",
|
||||
},
|
||||
)
|
||||
self.assertEqual(get_Adrs_Name(address_elements), "Chester Reed")
|
||||
self.assertEqual(get_Adrs_Name2(address_elements), "YourCompany")
|
||||
self.assertEqual(get_Adrs_Name3(address_elements), "Department_1")
|
||||
self.assertEqual(
|
||||
get_Adrs_Name4(address_elements), "250 Executive Park Blvd, Suite 3400"
|
||||
)
|
||||
self.assertEqual(get_Adrs_Adr(address_elements), "AdditionalStreetName_1")
|
||||
|
||||
def testGetAddressNameFromDict(self):
|
||||
address_elements = {
|
||||
"ContactName": "Nom",
|
||||
"PartyName": "YourCompany",
|
||||
"Department": "Nom3",
|
||||
"StreetName": "Nom4",
|
||||
"AdditionalStreetName": "Adresse",
|
||||
}
|
||||
self.assertEqual(get_Adrs_Name(address_elements), "Nom")
|
||||
self.assertEqual(get_Adrs_Name2(address_elements), "YourCompany")
|
||||
self.assertEqual(get_Adrs_Name3(address_elements), "Nom3")
|
||||
self.assertEqual(get_Adrs_Name4(address_elements), "Nom4")
|
||||
self.assertEqual(get_Adrs_Adr(address_elements), "Adresse")
|
||||
|
||||
def test_set_string_bool(self):
|
||||
# Input is boolean
|
||||
self.assertEqual(_set_string_bool(False, 1, False), "N")
|
||||
self.assertEqual(_set_string_bool(True, 1, False), "J")
|
||||
|
||||
# Input is string
|
||||
self.assertEqual(_set_string_bool("N", 1, False), "N")
|
||||
self.assertEqual(_set_string_bool("J", 1, False), "J")
|
||||
|
||||
def test_set_string_float(self):
|
||||
# Positive
|
||||
self.assertEqual(_set_string_float(3.6, 9, 3), "000003600")
|
||||
self.assertEqual(_set_string_float(3.0, 9, 3), "000003000")
|
||||
|
||||
# Negative
|
||||
self.assertEqual(_set_string_float(-3.6, 9, 3), "-00003600")
|
||||
self.assertEqual(_set_string_float(-3.0, 9, 3), "-00003000")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright 2023 Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
import unittest
|
||||
from pprint import pformat
|
||||
|
||||
from ..utils import file_open, file_path
|
||||
from ..wamas2ubl import wamas2dict
|
||||
|
||||
|
||||
class TestWamas2dict(unittest.TestCase):
|
||||
|
||||
maxDiff = None
|
||||
|
||||
def _test(self, filename):
|
||||
with file_open(
|
||||
file_path("tests/samples/%s.wamas" % filename)
|
||||
) as infile, file_open(
|
||||
file_path("tests/samples/%s.dict" % filename)
|
||||
) as outfile:
|
||||
str_input = infile.read()
|
||||
expected_output = outfile.read()
|
||||
output_prettified = pformat(wamas2dict(str_input))
|
||||
self.assertEqual(output_prettified, expected_output)
|
||||
|
||||
def test_normal(self):
|
||||
self._test("line_WATEPQ_-_normal")
|
||||
|
||||
def test_non_ascii(self):
|
||||
self._test("line_WATEPQ_-_non_ascii")
|
||||
|
||||
def test_length_off(self):
|
||||
self._test("line_WATEKQ_-_length_off_by_one_01")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
# Copyright 2023 Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
import unittest
|
||||
|
||||
from freezegun import freeze_time
|
||||
|
||||
from ..utils import file_open, file_path
|
||||
from ..wamas2ubl import wamas2ubl
|
||||
|
||||
|
||||
class TestWamas2ubl(unittest.TestCase):
|
||||
|
||||
maxDiff = None
|
||||
|
||||
@freeze_time("2023-05-01")
|
||||
def _convert_wamas2ubl(self, input_filename, expected_output_filename):
|
||||
path = file_path("tests/samples/")
|
||||
with file_open(path + input_filename) as inputfile, file_open(
|
||||
path + expected_output_filename
|
||||
) as outputfile:
|
||||
str_input = inputfile.read()
|
||||
output = "\n".join(wamas2ubl(str_input))
|
||||
expected_output = outputfile.read()
|
||||
self.assertEqual(output, expected_output)
|
||||
|
||||
def test_convert_wamas2ubl_picking(self):
|
||||
input_file = "WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas"
|
||||
lst_expected_output = "WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml"
|
||||
self._convert_wamas2ubl(input_file, lst_expected_output)
|
||||
|
||||
def test_convert_wamas2ubl_reception_simple(self):
|
||||
input_file = "WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas"
|
||||
lst_expected_output = "WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml"
|
||||
self._convert_wamas2ubl(input_file, lst_expected_output)
|
||||
|
||||
def test_convert_wamas2ubl_reception_combined(self):
|
||||
"""
|
||||
Test a reception with a single header concerning multiple receptions
|
||||
|
||||
This happens when a supplier deliver goods for multiple INs
|
||||
"""
|
||||
input_file = "WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas"
|
||||
lst_expected_output = "WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml"
|
||||
self._convert_wamas2ubl(input_file, lst_expected_output)
|
||||
|
||||
def test_convert_wamas2ubl_return(self):
|
||||
input_file = "WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas"
|
||||
lst_expected_output = "WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml"
|
||||
self._convert_wamas2ubl(input_file, lst_expected_output)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
import unittest
|
||||
|
||||
from freezegun import freeze_time
|
||||
|
||||
from ..utils import file_open, file_path
|
||||
from ..wamas2wamas import wamas2wamas
|
||||
|
||||
|
||||
class TestWamas2wamas(unittest.TestCase):
|
||||
|
||||
maxDiff = None
|
||||
|
||||
def _test(self, filename, processed_qty=None):
|
||||
with file_open(
|
||||
file_path("tests/samples/wamas2wamas_input_%s.wamas" % filename)
|
||||
) as infile, file_open(
|
||||
file_path("tests/samples/wamas2wamas_output_%s.wamas" % filename)
|
||||
) as outfile:
|
||||
str_input = infile.read()
|
||||
output = wamas2wamas(str_input, processed_qty=processed_qty)
|
||||
expected_output = outfile.read()
|
||||
self.assertEqual(output, expected_output)
|
||||
|
||||
@freeze_time("2023-12-20 09:11:16")
|
||||
def testWamas2wamas_wea_full(self):
|
||||
"""Reception where the demand is fully processed"""
|
||||
self._test("wea")
|
||||
|
||||
@freeze_time("2023-12-20 09:11:16")
|
||||
def testWamas2wamas_wea_partial(self):
|
||||
"""Reception where the demand is partially processed"""
|
||||
self._test("wea_partial", processed_qty=1)
|
||||
|
||||
@freeze_time("2023-12-20 09:11:16")
|
||||
def testWamas2wamas_wea_nothing(self):
|
||||
"""Reception where the demand is not processed at all"""
|
||||
self._test("wea_nothing", processed_qty=0)
|
||||
|
||||
@freeze_time("2023-12-20 09:11:16")
|
||||
def testWamas2wamas_kret_full(self):
|
||||
"""Customer return where the demand is fully processed"""
|
||||
self._test("wea")
|
||||
|
||||
@freeze_time("2023-12-20 09:11:16")
|
||||
def testWamas2wamas_kret_partial(self):
|
||||
"""Customer return where the demand is partially processed"""
|
||||
self._test("wea_partial", processed_qty=1)
|
||||
|
||||
@freeze_time("2023-12-20 09:11:16")
|
||||
def testWamas2wamas_kret_nothing(self):
|
||||
"""Customer return where the demand is not processed at all"""
|
||||
self._test("wea_nothing", processed_qty=0)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue