to get a personalized navigation.
to get a personalized navigation.
Hello, this is the payload sent for the SalesOrder POST endpoint.
{
"sendToAutoInvoice": {"value": false},
"referenceNumber": {"value": "0000000001"},
"customer": {"value": "10030"},
"documentDate": {"value": "2021-08-22"},
"description": {"value": "Description"},
"currency": {"value": "SEK"},
"orderType": {"value": "SO"},
"lines": [
{
"operation": "Insert",
"quantity": {
"value": 1
},
"uom": {
"value": "STK"
}
}
]
}
"unitCost": {
"value": 1000
}
}
]
}
It is unclear what the error is related to and how to resolve it.
Could we kindly get some guidance?
Solved! Go to Solution.
Hello Azadeh,
"Unit of Measurements" may differ depending on what is defined for each Inventory / Financials ERP Company.
If no item has been added then general definitions should be checked
In the UI, ScreenId=CS203100
via the API:
If any item has been added, then the item's specific and available UOM's should be checked.
In this kind of issues, by far the most plausible diagnosing would be trying the same operation in the Financials UI, so that system can highlight the not accepted values in the GUI.
Regards.
Copyright © 2022 Visma.com. All rights reserved.