We are importing purchase orders from customers into Acumatica using the SalesOrder endpoint of the REST API. Once we have that completed, we are trying to create a production order using the ProductionOrder endpoint of the REST API. The production order is created just fine but we’re passing along the sale order reference information which is not being set for some reason. Any idea as to why that would be happening? Here are the details of what we’re doing.
PUT → https://Our-Domain/entity/Manufacturing/20.200.001/ProductionOrder
JSON →
{
"Customer": {
"value": "000000001433"
},
"InventoryID": {
"value": "107753"
},
"OrderType": {
"value": "RO"
},
"SOLineNbr": {
"value": 1
},
"SOOrderNbr": {
"value": "007744"
},
"SOOrderType": {
"value": "SO"
}
}
We are on 2020 R2 Manufacturing version. Thank you in advance for your help.
Best answer by Nayan Mansinha
View original