The current price list is only used when the price lists are employed. It determines which price list is used for catalog and order pricing operations. It is also used to determine the pricing locale.
The CSRConfigurtor
has a property called usingPriceLists,
which must be set to true
when the application is using price lists.
The values of the current price list can be set by the following actions:
When the agent first logs in, a new, transient profile is automatically loaded as the active customer. The current price list is set from the new profile’s assigned price list. If the profile doesn’t have an assigned price list, the current price list is set based on the
PriceListManager
defaultPriceList
.When the agent selects a customer from the profile repository to be the active customer, the current price list is set based on the selected profile’s assigned price list.
When the agent selects an order from the repository to be the active order, the current price list is set based on the first commerce item in the order with a price list assigned. A commerce item’s price info contains a reference to the price list used to the price it.
The agent can manually select a different price list using the UI. Once an agent has explicitly selected a price list, that price list remains active even if a new customer with a different assigned price list is selected from the repository. Starting a new call will also reset the current price list and remove the agent’s explicitly selected price list.
CSREnvironmentTools
Class |
|
Component |
|
This component contains the API for gaining access to the current catalog and current price list
CSRAgentTools
Class |
|
Component |
|
This component contains the API for generating a parameter map for pricing operations that contains the active price list.
ChangeCatalogAndPricelist
Class |
|
Component |
|
This form handler component is used to manually change the catalog and price list through the UI.