Symptom
You are trying to update a Sales Order via webservice, and when executing the payload, the system returns the error: DATREF_NOT_ASSIGNED.
Environment
SAP Business ByDesign
Reproducing the Issue
Send the payload to update the Sales Order document.
Cause
The reason the system is returning the error is because in the payload you passing the tag ItemScheduleLine to be updated.
This is not permitted as the ATP (Available To Promise) has already been executed.
Resolution
This is the system expected behavior.
When updating Sales Orders, please do not pass the tag ItemScheduleLine to update.
The tag ItemScheduleLine can be used for new documents, but not already created ones.
See Also
3295420 - Error DATREF_NOT_ASSIGNED When Trying to Complete Execution for a Service
Keywords
DATREF_NOT_ASSIGNED, Sales Order, Item, itemScheduleLine, Webservice, EDI , KBA , AP-CI-CI , Customer Invoice , How To