Symptom
After updating a Sales Order via the web service, the fulfilment and ship-from fields are empty for the item, even though the payload still contains this information.
Environment
SAP Business ByDesign
Reproducing the Issue
- Create a Sales Order via the web service. Sales Order ABC is created.
- Update the Sales Order ABC to the same payload, and change the value of one of the fields, e.g. <BuyerID>.
- Execute the web service.
- The fulfilment data and ship-from have been deleted on item level.
Cause
During Sales Order creation, the system expects all of the required data to be provided.
However, during an update of an existing Sales Order, the system expects only the identifying information and new data to be provided.
Resolution
In the update payload, include only the required information, such as Sales Order ID and field to be updated. If you want to update item information, include the item ID, and the field to be updated on item level. This means that the ship-from data will not be removed.
Keywords
ManageSalesOrderIn; update sales order; ship from. , KBA , AP-SLO-SO , Sales Order , SRD-CRM-ORD , Orders & Contracts , Problem