This Business Function Calculates the Profit Percentage using the following expression
Profit Percentage = 1 - (UNCS / (UPRC / UOM Conversion Factor))
If Profit Percentage calculation had an error due to division by zero it returns zero profit
percentage.
The parameters for this Business Function are
UPRC - Unit Price INPUT
UNCS - Unit Cost INPUT
CONV - UOM Conversion Factor INPUT
XPCT - Profit Percentage OUTPU^
^
D4200170 - Calculate Profit Percentage
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnUnitPrice | UPRC | MATH_NUMERIC | NONE | NONE |
The list or base price to be charged for one unit of this item. In sales order entry, all prices must be set up in the Item Base Price File table
| ||||
mnUnitCost | UNCS | MATH_NUMERIC | NONE | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnUOMConversionFactor | CONV | MATH_NUMERIC | NONE | NONE |
The factor that the system uses to convert one unit of measure to another unit of measure. | ||||
mnProfitPercentage | XPCT | MATH_NUMERIC | NONE | NONE |
. |
None |
None |