Skip to content

Instantly share code, notes, and snippets.

@apost0706
Created April 7, 2019 02:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apost0706/d354314ce857ffad112cdf0d94062ed9 to your computer and use it in GitHub Desktop.
Save apost0706/d354314ce857ffad112cdf0d94062ed9 to your computer and use it in GitHub Desktop.
SAP B1 Delivery Note
POST
b1s/v1/DeliveryNotes
{
"CardCode": "C26000",
"DocEntry": 0,
"DocObjectCode": 0,
"DocNum": 0,
"TrackingNumber": "1ZV69W420396070867",
"PickRemark": "Shipped on 4/6/2019 from Default\n Shipped On: 4/6/2019 11:00:00 PM\n Est. Delivery: 4/11/2019\n Carrier: UPS® Ground\n Billing Type: Sender\n Total Weight: 5.00\n Number Pkgs: 1\n Pack:\n Tracking #: 1ZV69W420396070866\n Pkg Content Desc: J.B. Offi",
"DocumentLines": [
{
"BaseEntry": 1261,
"LineNum": 0,
"BaseLine": 0,
"BaseType": 17,
"WarehouseCode": "01",
"ItemCode": "A00002",
"Quantity": 2.0,
"RemainingOpenQuantity": 0.0,
"UoMCode": "",
"BatchNumbers": [],
"SerialNumbers": [],
"TaxCode": "",
"Price": 0.0
},
{
"BaseEntry": 1261,
"LineNum": 1,
"BaseLine": 1,
"BaseType": 17,
"WarehouseCode": "01",
"ItemCode": "A00003",
"Quantity": 3.0,
"RemainingOpenQuantity": 0.0,
"UoMCode": "",
"BatchNumbers": [],
"SerialNumbers": [],
"TaxCode": "",
"Price": 0.0
}
],
"DocumentAdditionalExpenses": [
{
"LineNum": 0,
"ExpenseCode": 1,
"LineTotal": 105.0,
"Remarks": "// Freight UPS® Ground"
}
],
"DocumentPackages": [
{
"Number": 1,
"DocumentPackageItems": [
{
"ItemCode": "A00002",
"Quantity": 2.0,
"MeasureUnit": "",
"UoMEntry": -1,
"UnitsOfMeasurement": 1.0
},
{
"ItemCode": "A00003",
"Quantity": 3.0,
"MeasureUnit": "",
"UoMEntry": -1,
"UnitsOfMeasurement": 1.0
}
],
"Type": "Box"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment