Hi,
I am able to successfully create a Sales Order and all of the customer data, line item data etc. is correct except for RequestedOn date. It seems to be auto-assigning to the day before delivery based on the delivery Route assigned to the customer. Even if I put the RequestedOn date weeks in the future, it still assigns to the day before the next delivery route is scheduled.
This is what my JSON Request Body looks like:
{
"OrderNbr": {
"value": "<NEW>"
},
"OrderType": {
"value": "SO"
},
"CustomerID": {
"value": "XXXXX"
},
"note": "",
"CustomerOrder": {
"value": "XXXXXX"
},
"Details": [
{
"InventoryID": {
"value": "XXXX"
},
"OrderQty": {
"value": 1
}
},
{
"InventoryID": {
"value": "XXXX"
},
"OrderQty": {
"value": 1
}
},
{
"InventoryID": {
"value": "XXXXX"
},
"OrderQty": {
"value": 1
}
},
{
"InventoryID": {
"value": "XXXXX"
},
"OrderQty": {
"value": 1
}
}
],
"RequestedOn": {
"value": "2024-05-29"
},
"Date": {
"value": "2024-05-20"
}
}
The RequestedOn response looks like this:
"RequestedOn": {
"value": "2024-05-26T00:00:00+00:00"
}