SalesPriceBooks

This component runs the Sales Price Book (SPB) function.

Note: Sales Price Book pages are maintained using the SunSystems Sales Price Book Pages (SPG) function or via payloads using the SalesPriceBookPages component.

Methods

CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more sales price books. A sales price book is created if it does not exist and amended if it does.
Query
Driver Type: Export
Use this method to obtain sales price book details or to extract sales price book data from SunSystems. In your query you must set Price Book Type - payload element <PriceBookType> to '2' and Price Book Sequence Type - payload element <PriceBookSequenceType> to '1' .

Mandatory fields

When creating or amending a sales price book, a value must be supplied for the Price Book Definition Code - payload element <PriceBookDefinitionCode>.

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

Sales Price Book Analysis.