Methods: Accounts

Amend

Driver Type: SASI

Use this method to amend one or more accounts. If an account does not exist, an error message is produced and the payload is rejected.

Примечание. You cannot use this method to amend the status of the account. Instead, use one of the Open, Hidden, SuspendedHeld or Closed methods.

BulkCreateOrAmend

Driver Type: DJI

Use this method for the bulk loading of data or bulk amendment of data, or where performance is critical.

Примечание. 

Although the SASI method accepts dates and periods with slashes, the DJI method does not and expects dates in ddmmyyyy format and periods in pppyyyy format.

You cannot use this method to amend the status of the account. Instead, use one of the Open, Hidden, SuspendedHeld or Closed methods.

Примечание. The DJI bulk Create or Amend component for Accounts replicates, but does not run, the SunSystems Chart of Accounts (COA) function. The DJI bulk Create or Amend method and the non DJI Create or Amend method generally perform the same validation rules, but the DJI method is faster when importing a large number of data records. DJI bulk imports do not apply rules defined in Rule Sets. If user business rules are required, they must be defined in a transformation attached to the transfer profile.

Closed

Driver Type: SASI

Use this method to amend the status of one or more accounts to Closed.

Create

Driver Type: SASI

Use this method to create one or more accounts. If an account 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 accounts.

CreateOrAmend

Driver Type: SASI

Use this method to create or amend one or more accounts. An account 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 account already exists, whereas this method can be used if you are unsure.

Примечание. You cannot use this method to amend the status of the account. Instead, use one of the Open, Hidden, SuspendedHeld or Closed methods.

CreateReplaceOrDelete

Driver Type: SASI

Use this method to synchronize one or more accounts. An account is created if it does not exist already and replaced if it does. If the account does not exist in the originating business unit, it is deleted.

Delete

Driver Type: SASI

Use this method to delete one or more accounts.

DeleteChildData

Driver Type: SASI

Use this method to delete child data (Disallowed Currency Codes) but retain the parent record (Chart of Accounts).

Примечание. Standard Text should be deleted using the Delete method for the StandardTextLanguageVariants component .

Hidden

Driver Type: SASI

Use this method to amend the status of one or more accounts to Hidden.

Query

Driver Type: Export

Use this method to obtain account details or to extract account data from SunSystems.

Open

Driver Type: SASI

Use this method to amend the status of one or more accounts to Open.

SuspendedHeld

Driver Type: SASI

Use this method to amend the status of one or more accounts to Suspended/Held.