Required Properties

The following properties must be passed to the price module object in order for it to calculate the appropriate target price for the customer, item, quantity and contract being processed.

SOTARGET Is a string which determines which pricing routines to use.   If the string contains the following letters the appropriate price logic is invoked.  If the property is blank no price is returned.  The SOTARGET string that is used by the system is based on the SOTARGET parameter in the system control file.  This parameter is usually set to include all available special pricing options by default.

S - Sale pricing                  Q - Quantity Pricing

G - GSA pricing                  C - Contract Pricing

D - Class Discounts             B - Buying Groups

M - Manufacturer pricing      F - Indicates that the contract pricing can be forced.

pItem Is a string and contains the item number being processed

pLoc Is a string and contains the warehouse location where the order is being processed.

pProdline Is a string and contains the product line that the item is assigned to

pClass - Is a string and contains the item class that the item is assigned to.

pLevel - Is a string and contains the price level for the customer being processed (from the Company Master file).

pCompany - Is a string and contains the company name of the customer being processed

pAccount - Is a string and contains the company account for the company being processed.

pCurrency - Is a string and contains the currency code for the currency being used for the order.

pDate - Is a date and contains the current date.

pQty - Is a number and contains the item quantity