Methods: MovementTypes
Closed
Driver Type: SASI
Use this method to change the status of a movement type to 「Closed」.
Create
Driver Type: SASI
Use this method to create a movement type. If the movement type already exists, an error message is produced and the payload is rejected.
CreateAsDraft
Driver Type: SASI
Use this method to create one or more draft movement types.
CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more movement types. A movement type is created if it does not exist and amended if it does. Whereas the Create and Amend methods depend on you to know whether the data does or does not exist in advance, this method can be used if you are unsure.
Delete
Driver Type: SASI
Use this method to delete one or more movement types.
DeleteChildData
Driver Type: SASI
Use this method to delete child data (MO Assign Preset, MO Analysis, Value, Stage) but retain the parent record (Movement Type).
It is also possible to delete 'grandchild' data. The deletion of child
and grandchild data is controlled by a
<DeletionFlag>
node at child level. If the flag
is set to Y, both child and grandchild is deleted. Otherwise, the child data is
retained.
For example, the
<Stage>
node contains child data, and the
<LedgerIFReversal>
node contains grandchild
data. The
<DeletionFlag>
node is set to Y, so the
<LedgerInterfaceDefinitionCode>
data is deleted
first, followed by the
<Stage>
data:
<MovementTypes> <MovementOrderDefinition>MVMT</MovementOrderDefinition> <Stage> <Stage>0</Stage> <DeletionFlag> <DeleteStageAfterLIReversalDeleted>Y</DeleteStageAfterLIReversalDeleted> </DeletionFlag> <LedgerIFReversal> <LedgerInterfaceDefinitionCode>LIDEF</LedgerInterfaceDefinitionCode> </LedgerIFReversal> </Stage> </MovementTypes>
Hidden
Driver Type: SASI
Use this method to change the status of a movement type to 「Hidden」.
Open
Driver Type: SASI
Use this method to change the status of a movement type to 「Open」.
Query
Driver Type: Export
Use this method to obtain movement type details or to extract movement types data from SunSystems.
Suspended/Held
Driver Type: SASI
Use this method to change the status of a movement type to 「Suspended/Held」.