JournalTypes

This component runs the Journal Type (JNT) function.

Methods

Amend
Driver Type: SASI
Use this method to amend one or more journal types. If a journal type does not exist, an error message is produced and the payload is rejected.
Closed
Driver Type: SASI
Use this method to amend the status of one or more journal types to Closed.
Create
Driver Type: SASI
Use this method to create one or more journal types. If a journal 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 journal types.
CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more journal types. A journal type is created if it does not exist and amended if it does. Both the Create and Amend methods require you to know in advance if a journal type exists, whereas this method can be used if you are unsure.
CreateReplaceOrDelete
Driver Type: SASI
Use this method to synchronize journal types. A journal type is created if it does not exist already and replaced if it does. If a journal type does not exist in the originating business unit, it is deleted.
Delete
Driver Type: SASI
Use this method to delete one or more journal types.
Hidden
Driver Type: SASI
Use this method to amend the status of one or more journal types to Hidden.
Open
Driver Type: SASI
Use this method to amend the status of one or more journal type to Open.
Query
Driver Type: Export
You can use this method to obtain journal type details or to extract journal types data from SunSystems.
SuspendedHeld
Driver Type: SASI
Use this method to amend the status of one or more journal types to Suspended/Held.

Mandatory fields

  • A value must be supplied for Journal Type - payload element <JournalType> except for the Query method, where it is optional.
  • When specifying a Currency Rate Type, you must enter an existing rate type code:
    <RateType>
      <ShortHeading>.</ShortHeading>
    </RateType>

If no rate type is specified, the currency period rate is used as the DEFAULT rate type.

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.

Related data

None.