Supplier - methods

Amend

Driver Type: SASI

Use this method to amend a supplier. This method only amends an existing supplier. If the supplier does not exist, an error message is produced and the payload is rejected.

Uwaga: You cannot use this method to amend the status of the supplier. Instead, use one of the Open, Hidden, SuspendedHeld or Close methods.

BulkCreateOrAmend

Driver Type: DJI

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

Uwaga: 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 Supplier. Instead, use one of the Open, Hidden, SuspendedHeld or Closed methods.

Closed

Driver Type: SASI

Use this method to amend the status of a Supplier to Closed.

Create

Driver Type: SASI

Use this method to create a supplier. This method only creates a supplier. If the supplier already exists, an error message is produced and the payload is rejected.

CreateOrAmend

Driver Type: SASI

This method creates a supplier if it does not exist already and amends it 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.

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

CreateReplaceOrDelete

Driver Type: SASI

Use this method to synchronize suppliers. The supplier is created if it does not exist already and replaced if it does. If the supplier does not exist in the originating business unit, it is deleted.

Delete

Driver Type: SASI

Use this method to delete suppliers.

DeleteChildData

Driver Type: SASI

This method deletes child data (Contacts, DocumentFormat, Order Addresses) but retains the parent record (Supplier).

Uwaga: Standard Text should be deleted using the Delete method for the StandardTextLanguageVariants.

Hidden

Driver Type: SASI

Use this method to amend the status of a Supplier to Hidden.

Open

Driver Type: SASI

Use this method to amend the status of a Supplier to Open.

Query

Driver Type: Export

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

SuspendedHeld

Driver Type: SASI

Use this method to amend the status of a Supplier to Suspended/Held.