SalesPriceBookPages

This component runs the Sales Price Book Pages (SPG) function.

Note: Sales Price Books are maintained using the SunSystems Sales Price Book (SPB) function or via payloads using the SalesPriceBook component.

Methods

BulkCreateOrAmend
Driver Type: DJI
Use this method for the bulk loading of addresses or bulk amendment of addresses, or where performance is critical.
CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more sales price book pages. A sales price book page is created if it does not exist and amended if it does.
Query
Driver Type: Export
Use this method to obtain sales price book page details or to extract sales price book page 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 page, a value must be supplied for the Price Book Definition Code - payload element <PriceBookDefinitionCode>.
  • When creating or amending sales price book page lines, a value must be supplied for the Range From - payload element <RangeFrom>.
  • When creating or amending sales price book page lines for promotional items, a value must be supplied for the Promotional Item Code - payload element <PromotionalItemCode>.
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

  • Base Formula
  • Base Value Label
  • Range Formula
  • Range Value Label
  • Sales Price Book Analysis
  • Sales Price Book Definition.

For each Sales Price Book Line:

  • Promotional Item, Promotional Item Formula and Promotional Item Value Label.