CurrencyCodes

This component runs the Currency Codes (CNC) function.

Note: This Help contains hyperlinks that are enabled when the Help is accessed within the application. However, if you have accessed this Help via the SunSystems Web portal, hyperlinks are not enabled.

Methods

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

Mandatory fields

When creating, amending or changing the status of a currency code, a value must be supplied for Currency Code - payload element <CurrencyCode>.

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.

Related data

None.