The Pricing Ext component allows you to define multiple standard prices, up to five, applicable for specific quantity intervals. For a tenant, only one of the two available pricing models can be used, depending on the component state:
inactive - product price information will available in the Price tab, Product window;
active - product price information will be available in the Price Ext tab, Product window.
To activate the component you need the following:
at tenant level add the Pricing Ext component. After selected (and a cache reset), the Price Ext tab will become available in the following windows: Product, Price List, Promotional Price List. Also for in the Product Info window the Price (1-5) columns will be available. This can only be done by the system user!
at tenant level, Tenant Info tab, in the Pricing Engine Class field enter: "org.bitsoftware.sprc.pricing.Ext". The action can only be done by an administrator role.
Entering the prices is done manually, through the Product window, Price Ext tab, or through the Price List -> Versions window, Price Ext tab, as described below:
in the fields Price (1-5), enter the price which will be added to documents, depending on the quantity entered in the corresponding Threshold field;
in the fields Threshold (1-5), enter the quantity threshold for which the corresponding price is applied, as described in the example below:
for a product with 3 distinct prices for 3 quantity thresholds: 20, 50, 100 the fields values will be:
Price 1 = 100 RON - Threshold 1 = 1 (Price 1 will be applied on document lines with quantity between 1 and 20);
Price 2 = 80 RON - Threshold 2 = 20 (Price 2 will be applied on document lines with quantity between 20 and 50);
Price 3 = 60 RON - Threshold 3 = 50 (Price 3 will be applied on document lines with quantity between 50 and 100);
Price 4 = 40 RON - Threshold 4 = 100 (Price 4 will be applied on document lines with quantity greater or equal to 100);
Price 5 = 0 - Threshold 5 = 0 (Price 5 and Threshold 5 not applicable);
Limit Price - enter the minimum price allowed.