The properties in this section are optional properties that can be passed to the price module object when required based on the order being processed.
pContract - Is a string and contains the contract number specified in the order line (this can be manually entered in the sales order entry program, or it can be supplied in the data used to create the order (for EDI situations).
pDiscount - Is a number and contains the discount specified for the customer in the Company Master file (if any) or in the Sales Order being processed – if the operator has rights to modify the discount in the order entry program. The system will automatically default the discount percentage for the customer into the sales order entry program, and it will use this discount – or the amount manually entered by the operator if applicable when calculating the prices for the order.
The following properties can either be set manually in the program prior to sending the calc_target_price message or can be default based on the customer by sending the
Set_Standby_Price_and_Rebate_Properties_For_Customer message.
pIncludeStandbyRebates - Is a Boolean to determine if Standby Rebates should be included.
pIncludeStandbyPrices - Is a Boolean to determine if Standby Prices should be included.
The following property can either be set manually in the program prior to sending the calc_target_price message or can be default based on the customer by sending the
Set_Classes_To_Consider_For_Customer message.
pClassesToConsider - Is a string and determines which classes of Special Pricing records should be used. If this property is empty all classes (including blanks) are used.
pDecimalPlcs – the number of decimals that should be used for the target price. This value is set based on a system parameter and it is adjustable in order to handle normal (ie 2 decimal prices) or prices with a higher precision (up to 4 decimals). The system uses 2 decimal pricing by default.