Documentation >
MAC-PAC Technical Library >
Distribution >
Order Processing >
Programs >
Pricing/Discount - Purpose
Pricing/Discount - Purpose
PRICNG
The Pricing/Discount program (PRICNG) is a common program called to retrieve base prices and discounts from many of the Order Processing programs (Sales/Quote Order Maintenance, Shipping and Billing, Post Billing, Order Totals, EDI Sales Order Generation, EDC Shipping). PRICNG will retrieve the base price from either a Contract, a Price list, or the Warehouse Balance file. PRICNG will also process the retrieval of Price List Codes, Volume Discount Codes, and Line Discounts. Price List Codes and Volume Discounts may default from the customer or be retrieved using templates. If templates are used, the Template Retrieval Priority can be set in Reference File category G86. Header Discount Codes & Percentages will also be processed in this program. Discount amounts & unit prices are calculated and passed back to the calling program. The calling program will then perform the file updates.