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:

CSREnvironmentTools

Class

atg.commerce.csr.environment.CSREnvironmentTools

Component

/atg/commerce/custsvc/environment/CSREnvironmentTools

This component contains the API for gaining access to the current catalog and current price list

CSRAgentTools

Class

atg.commerce.csr.util.CSRAgentTools

Component

/atg/commerce/custsvc/util/CSRAgentTools

This component contains the API for generating a parameter map for pricing operations that contains the active price list.

ChangeCatalogAndPricelist

Class

atg.svc.agent.environment.EnvironmentChangeFormHandler

Component

/atg/commerce/custsvc/environment/ChangeCatalogAndPricelist

This form handler component is used to manually change the catalog and price list through the UI.

 
loading table of contents...