Functional Description
Purpose
To calculate the unot price based on values retrieved from F4207.
Setup Notes and Prerequisites
Setup Notes and Prerequistes
This Part should be done in ER before calling this function
If Override List Price PMOVLP (From F4207) is not zero, use it as a price and don't need to call the
program:
Move PMOVLP to UPRC;
Technical Specification
If Basis for cost or price PMCBAS is greater or equal to '1' and less or equal '8':
Initialize the Cost Functional Server XF4105 with the following parameters:
Move IMCLEV to COCLEV;
Move PMCBAS to COLEDG;
Move ITM(3) to COITM;
Move MCU(19)to COMCU;
Move LOCN(28) to COLOCN;
Move LOTN(27) to COLOTN;
Call Cost Functional Server XF4105;
Move the Unit Cost to the Unit Price PRIC (2);
Otherwise PMCBAS is equal to 'P' based on Price
Calculate prices based on add on percent:
If Factor Value Type PMFVTY is '%',
Price UPRC (4) = PRIC (2) times Value Factor PMFVN;
Return to calling program;
Calculate prices based on add on amount:
If Factor Value Type PMFVTY is '$',
Price UPRC (4) = PRIC (2) multiplied by conversion
factor CONV (9);
Add Value Factor PMFVN to result;
Divide result by conversion factor CONV (9);
Return to calling program;
^
D4000870F - Calculate Unit Price In Primary
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cBasisCode | CBAS | char | NONE | NONE |
A costing method on which the system bases the net price of the order.
For pricing and repricing, valid values are:
1 Last-In Cost
5
| ||||
cFactorType | FVTY | char | NONE | NONE |
A code that indicates whether the factor value is a multiplier (%) or an additional/deductible cash amount ($) when applied to an order's
| ||||
mnFactorValue | FVN | MATH_NUMERIC | NONE | NONE |
The discount that the system uses when it calculates the price of an item attached to this inventory pricing rule. Discounts can be expressed
| ||||
idF4101Pointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szLotNumber | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
mnConvFctrToPricingUOM | CONV | MATH_NUMERIC | NONE | NONE |
The factor that the system uses to convert one unit of measure to another unit of measure. | ||||
mnPrimaryUMPrice | PRIC | MATH_NUMERIC | NONE | NONE |
A base or default price that is used with multipliers from the pricing rules to develop discounted prices. If no formula applies to an item or no
| ||||
mnPrimUMPriceOutput | 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
|
B4000520 Get Item UoM Conversion Factor | ||||
B4001020 Update F4101 Contract Code | ||||
XF4105 Item Cost I/O |
F4101 Item Master | ||||
F4207 Price by Item | ||||
F4208 Price by Customer |