This document provides detailed instructions on where and how to include the whsId
parameter in the Purchase Orders API request using the purchaseOrderRowPreAdviceValue
JSON (Extend Commerce API).
This will allow incoming goods to be labeled with pre-printed labels, enabling the customer to use these instead of our standard labels. The purpose is to ensure smooth handling and traceability by integrating the customer’s labels into our processes for warehouse movement and confirmation similar like SmartworkCode (Pallet id).
\uD83D\uDCD8 Instructions
Add Pallet id (whsId) to PurchaseOrders API:
...
{
"header": {
"purchaseNumber": "ExtendTest001",
"externalOrderNumber": "",
"warehouse": "HJHgm1",
"supplier": {
"supplierNumber": "505",
"supplierAgreementNumber": 50550501
}
},
"rows": [
{
"productNumber": "00001_zain_warehouse",
"purchaseDataPurchaseUnit": {
"quantity": 10,
"unit": "ST"
},
"purchaseDataProductUnit": {
"quantity": 10,
"unit": "ST",
"unitPrice": 2,
"vatPercent": 25,
"currency": "DKKSEK"
},
"expectedDeliveryDate": "2025-01-31T00:00:00+01:00",
"purchaseOrderRowPreAdviceValue": [
{
"serialNumber": null,
"batchNumber": null,
"bestBeforeDate": null,
"iMEINumber": null,
"macAddress": null,
"antiTheftID": null,
"uUID": null,
"mSPKID": null,
"wLANMAC": null,
"packageInfo": null,
"palletInfo": null,
"iMEI2": null,
"computerName": null,
"assetNumber": null,
"preAdviceQuantity": 10,
"whsId": "ExtendTest001"
}
]
}
]
}
...
Code Block |
---|
{ "header": { "purchaseNumber": "ExtendTest001", "externalOrderNumber": "", "supplierOrderNumber": null, "status": "Ordered", "createDate": "2025-01-08T2209T10:3029:3732.47307+01:00", "warehouse": "HJHGM1", "deliveryAddress": { "name1": "HJH HansenGrillmaster1", "name2": "Engroslager (afgiftsfrit)Centrallager GM1 Grillmaster", "address1": "TolderlundsvejVästra 103Storgatan HJHWarehouse7", "address2": "Zain HJHWarehouse Address2"null, "address3": null, "postalCode": "500055315", "city": "Odense CHJHWHJönköping", "state": null, "countryCode": "DKSE", "doorCode": null }, "supplier": { "supplierNumber": "505", "supplierName": "hzkazmiZain Hzkazmi supplierSupplier2", "supplierAgreementNumber": 50550501, "supplierAgreement": "hzkazmi-sa beverages Agr", "supplierAgreementAddress": { "name1": "hzkazmiZain Hzkazmi supplierSupplier2", "name2": null, "address1": "ISBZain address supplier agreement storgatan", "address2": null, "address3": null, "postalCode": "520010316", "city": "Odense VStockholmZain", "state": null, "countryCode": "DKSE", "doorCode": null }, "supplierContact": { "name": "Zain kazmi", "phone": null"", "email": null"zain.kazmi@webtechpk.com" }, "paymentTerms": "300", "deliveryMethod": "CONS_91336", "deliveryMethodName": "PostNordParcel-ZainAPIPSO & PUR", "transportCondition": "AVTDAP", "forwarder": "PostNordBring", "forwarderCustomerNumber": ".5050001", "transportConditionDescription": "24 X 12 conzain kazmi trasnport for hzkazmi supplier agr" }, "buyerContact": { "name": "ZAINZain KAZMIhzkazmi", "phone": "03336506505", "email": "shzkazmi@gmailhzkazmi@gmail.com" }, "reference": null, "notes": null, "internalNotes": null, "currencyExchangeRate": null, "shippedDate": null, "requestedDeliveryDate": null, "autoReception": false }, "rows": [ { "position": 10, "subPosition": 0, "externalPosition": null, "externalSubPosition": null, "rowStatus": "Ordered", "statusChangeDate": "2025-01-08T2209T10:3029:3732.52325+01:00", "productNumber": "00001_zain_warehouse", "productName": "00001_zain_warehouse", "supplierProductNumber": null, "purchaseDataPurchaseUnit": { "quantity": 10, "unit": "ST", "gtiNumber": "123456789950800001_zain_warehouse" }, "purchaseDataProductUnit": { "quantity": 10, "unit": "ST", "unitPrice": 2, "vatPercent": 25, "currency": "DKKSEK", "unitExplicitCost": null, "listPrice": null, "unitExplicitCurrency": null }, "expectedDeliveryDate": "2025-01-31T00:00:00+01:00", "originalExpectedDeliveryDate": "2025-01-31T00:00:00+01:00", "shipDate": null, "requestedDeliveryDate": null, "notes": null, "purchaseCode": null, "purchaseCodeName": null, "loadingPurchaseCode": null, "loadingPurchaseCodeName": null, "unitDetails": [], "purchaseOrderRowPreAdviceValue": [ { "serialNumber": null, "batchNumber": null, "bestBeforeDate": null, "iMEINumber": null, "macAddress": null, "antiTheftID": null, "uUID": null, "mSPKID": null, "wLANMAC": null, "packageInfo": null, "palletInfo": null, "iMEI2": null, "computerName": null, "assetNumber": null, "preAdviceQuantity": 10, "whsId": "ExtendTest001" } ], "autoReceptionStoragePlace": null } ], "shipments": [] } |
...
...
...
WMS:
...
...
...
Info |
---|
Summary |
...