Methods: DocumentFormatSetup

Closed

Driver type: SASI

Use this method to change the status of one or more document format setups to Closed

CreateAsDraft

Driver type: SASI

Use this method to create one or more draft document formats.

CreateOrAmend

Driver type: SASI

Use this method to create or amend one or more document formats. A document format is created if it does not exist, and amended if it does exist.

Remarque: It is not possible to amend existing Tax Filters using the CreateOrAmend method. Tax Filter records have unique, system-generated sequence numbers, so running CreateOrAmend with <TaxFilters> data in the payload multiple times would create a new Tax Filter record each time. This would produce multiple Tax Filter records with the same Filter Definition Control Id.

Delete

Driver type: SASI

Use this method to delete one or more document formats.

Remarque: You cannot delete a DocumentFormat record if child data exists. When this occurs, use the DeleteChildData method prior to using the Delete method.

DeleteChildData

Driver type: SASI

Use this method to delete child data (Consolidation Rules and/or Tax Filters) but retain the parent record (DocumentFormat).

Hidden

Driver type: SASI

Use this method to change the status of one or more document formats to Hidden.

Open

Driver type: SASI

Use this method to change the status of one or more document formats to Open.

Query

Driver type: Export

Use this method to extract document formats from SunSystems.

SuspendedHeld

Driver type: SASI

Use this method to change the status of one or more document formats to Suspended/Held.