MovementOrder

This component allows you set up and maintain movement orders and runs the Movement Order Entry (MOE) function.

This component also provides various methods that allow you to progress movement orders through certain stages. If doing so, you must ensure that movement orders are at the correct stage in order to be processed.

Depending on how your movement type stages have been set up, some component methods will be not be relevant.

Примечание. You must define movement types for your business unit before you can enter movement transactions.

There are three ways to improve performance of movement order imports:

  • Restricting the payload - the payload definition for movement orders is composed of all data items that are used within order fulfillment. As your SunSystems installation may not use all available data items, you can reduce the time taken to process movement orders by ensuring that your payloads only include those data items that you wish to work with.

  • Reduce the number of processing options in SunSystems. If you are importing movement orders from an external application you can set up a particular Movement type that does not carry out the various calculations, validations and lookups that would normally happen. These can significantly increase the time taken to process a given Movement Order.

  • Ensure that any line numbers are in numerical order, as disordered line numbers will impact performance. If both the User Line Number (MovementOrder.MovementOrderLine.UserLineNumber) and the System Line Number (MovementOrder.MovementOrderLine.LineNumber) are provided, then User Line Number is used.

You should of course ensure that any data you do import is correct.

Примечание. We do not support the import of Movement Orders using a 'Start of Document', 'Line' or 'End of Document' preset type. 'Start of Document' and 'Line' preset types can cause inconsistency in the line numbers. For example, when importing a new Movement Order using a 'Start of Document' preset type, the order is created with a preset line, then imported into a Movement Type that also creates a preset line.

Creating new orders line using the 'End of Document' preset type will not work, because an empty line is required to insert the new lines information. However, the empty line is not present if this preset type has been used.