Create Price to ERP

Purpose

Allows you to run a script to create ERP price items.

Setup

Upload the script to the Groovy script with the name Create Price to ERP.

For details about uploading and configuring Groovy scripts, read Upload a Groovy script.

Binding variables

In addition to the common binding variables, the following binding variables are available for this extension point.

Variable name Class Description
activeObject String URI of the active object.
salesItemsTree SalesItemsTree Represents the quote. It contains the functions that can be used to query and modify the quote and its line item data.
currencyCollection CurrencyCollection List of currency data.
salesItemDTOs Collection<JSONBusinessObjectDTO> List of selected sales items to create price items for.