At various points the system is required to calculate the price that a specific customer should be charged for a specific product under specific conditions. This process is called calculating the “target price”. Among other places this calculation is done during order entry and EDI order receipt. This calculation is done programmatically using the price_module object defined in the fvprice package.
This section describes how the system calculates the target price for each order line that is entered into the system. In general, the target price calculation is the same for all sales orders, regardless of whether they are manually entered, or they are automatically created from EDI or other information. Any differences in the logic used by manual order entry and the EDI routines are noted where appropriate.
More: