BatchReference

This component runs the Batch Reference Setup (BRS) function.

It is used to set up and maintain batch numbers and associated information, such as expiration date and batch status.

Note: When running the Create method you must supply and existing item code and a new unique batch number. The batch reference must be unique for that item, but may exist for another item.

Methods

CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more batch references. A batch reference and its associated information is created if it does not already exist, and amended if it does.
Export
Driver Type: Export
Use this method to obtain batch details or to extract a batch details data from SunSystems.

Mandatory fields

When creating or amending a batch, the following must be supplied:

  • Batch Reference - payload element <BatchReference>
  • Item Code - payload element <ItemCode>
Note: At runtime the component will validate 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.