Functional Description
Purpose
This function retrieves the Item Price record (F4106) for an Item based on the Price Level.
Setup Notes and Prerequisites
The Item Number (ITM), Branch (MCU) and Price Level (PLEV) are required input parameters.
Technical Specification
This function retrieves the F4106 for an Item based on the Price Level passed in. If the Price Level
= 1, Key = 1 : Short Item Number only. If the Price Level = 2, Key = 2 : Short Item Number and
Branch/Plant. If the Price Level = 3,
Key = 4 : Short Item Number, Branch/Plant, Location, and Lot Number. If the Call Type = 1 : If
record is not found give an error. If the Call Type = 2 : If record is found give an error. If the
ReturnItemPriceRecord = '1' : If record is found, return the pointer into ReturnItemPriceRecord.
DXF4106A - Get Item Price
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
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. | ||||
cPriceLevel | PLEV | char | NONE | NONE |
A code that indicates whether the system maintains standard sales prices for an item, different sales prices for each branch/plant, or
| ||||
mnItemPrice | 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
| ||||
cReturnBasePriceRecord | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
idBasePriceRecordPtr | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cErrorCode | ERR | char | NONE | NONE |
The Data Field Error Code field is simply a generic data field to pass an error condition flag. This field is one of the fields that make up the
| ||||
cCallType | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
F4106 Item Base Price File |