Functional Description
Purpose
This function duplicates all Item Unit of Measure conversion records (F41002) from one item to
another.
Setup Notes and Prerequisites
The From Short Item Number (ITM) and To Short Item Number (ITM) are required parameters. The Branch
parameters are optional.
Special Logic
Technical Specification
This function duplicates all F41002 records from an item or item/branch combination to another item
or item/branch combination. If only the item is specified in the parameters, this function fetches all
F41002 records for the From Item Number. All records for the key will be copied from the From Item
to the To Item.
Edits:
1) The branch/plant parameter is optional. Therefore, only use it in the search key if it is
non-blank.
Retrievals:
1) If only the item is specified, search for a record in F41002 using just the item number.
2) If both the item number and Branch are specified, search for a record with both fields as the key.
3) Use the Request and Fetch functions to locate the base price records. You will need to fetch all
the columns in the table in order to duplicate the whole record to the add.
4) There may be more one record in the F41002 that is associated with the search key. Therefore, set
up a search loop to retrieve all related records.
5) Fro every record retrieved, change the key fields to the values in the "To" parameters and add the
record to the table.
Returns:
1) Set idReturnCode to CONTINUE_GBR.
D4100060D - Duplicate UOM Conversions Records
Data Item Data Structure DescriptionI/ORequired
ITMToShortItemNumberIN
MCUFromBranchPlantIN
MCUToBranchPlantI N
ITMFromShortItemNumberIN
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnFromShortItemNumber | 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
| ||||
szFromBranchPlant | MCU | char | NONE | NONE |
The branch/plant parameter is optional. Therefore, only use it in the search key if it is non-blank.
| ||||
mnToShortItemNumber | 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
| ||||
szToBranchPlant | 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
|
None |
F3002 Bill of Material Master File | ||||
F3460 Forecast File | ||||
F41002 Item Units of Measure Conversion Factors | ||||
F4105 Item Cost File | ||||
F4106 Item Base Price File |