Mandatory fields: MovementOrder
As movement orders can be tailored to suit customer needs, there are no fields that are always mandatory. The minimum amount of data required for entering movement orders is very small. However, you should bear in mind that the actual amount needed to create meaningful orders and to progress those orders is much larger. This is wholly dependant on how your system is configured.
- Movement Order Definition Code - payload element <MovementOrderDefinitionCode>
- Movement Order Reference - payload element <MovementOrderReference>
- Either User Line Number - payload element <UserLineNumber> or Line Number - payload element <LineNumber>.
Standard Text
- Standard Text Class Code - payload element <StdTextMo_StdTextClassCode>
- Standard Text Code - payload element <StdTextMo_StdTextCode>.
- Standard Text Class Code - payload element <StdTextMo1_StdTextClassCode>
- Standard Text Code - payload element <StdTextMo1_StdTextCode>.
Note: At runtime the component validates the payload contents to ensure that the values supplied are correct. Various combinations of values may require other elements in the payload to be specified before the payload can be processed successfully.
Example Payload using CreateOrAmendWithSerialNumbers
Receipt:
For an example payload, two items codes are used - ITMAUTO, with automated serial numbers, and ITMUSER, with user generated serial numbers. A payload for a three line movement order is given below:
<MovementOrder>
...
<MovementOrderLine>