1.Functional Description
This business function will generate the Component requirements using the Parts List and the
requirements for the Parent. Then it will write the requirements to the Pegging table F3412. This function is
used to generate lower level Pegging records for MRP Planning.
1.1Purpose
This function is used to write Pegging records for Components based on the Work Order Parts List in
Multi Level Planning, based on the Parent Item Requirements. R3483(MP-MRP uses this function as well
for the same purpose).
1.2Setup Notes and Prerequisites
The Unique Id for F3412 must be determined by calling the function (B3100490).
1.3Special Logic
None
2.Technical Specifications
The following actions have to be performed by the Business Function.
1.Open Tables and Initialize Data
Open F4101, F4102, F3412 and F3111 tables
If Error in Opening the Tables, Exit the function with an Error code = '1'
Error Code = '2'
2. Read and Process Parts List Table
Do While Exit flag <> '1'
Read F3111 table using Input DOCO and COBY (= ' ' ) as Partial keys
If not found
Break.
Endif
Error Code = '0'
Read F4101 using WMCPIT as key.
Read F4102 using WMCPIT and WMCMCU as key
If not found
Continue
Endif
Wk Quantity = WMUORG - WMQNTA
If WMUM <> IMUOM1 or IBOT1Y = 'Y'
Convert Wk Quantity from WMUM to IMUOM1 using B4000520 passing
WMCMCU, WMCPIT,
If (Wk Quantity > 0 and WMUORG > 0) or (Wk Quantity < 0 and WMUORG < 0)
If Input $$PROC = '1' And Input $$CONS <> '1' And Input $$CONS <> '2'
MWRORN = 'PROCESS'
Else
MWRORN = ' '
Endif
Write F3412 with MWKIT(Input KIT), MWMMCU(Input MMCU),
MWDRQJ(WMDRQJ), MWUORG(Wk Quantity), MWITM( WMCPIT), MWMCU(WMCMCU),MWDCTO('FO'),MWDOCO(Input DOCO),
MWRORN and MWUKID
Input UKID = Input UKID + 1
Endif
If Input $$NETC = '1'
IBMRPC = '1'
Update F4102 for WMCPIT, WMCMCU
Endif
Enddo
3.Close Tables and Exit Routine
Close all the Tables and Release Requests
^
D3400460 - MRP, Write Pegging from Parts List
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentNo | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
mnParentItemNumber | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szParentBranch | MMCU | char | NONE | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
cProcessFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cNetChangeFlag | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnUniqueID | UKID | MATH_NUMERIC | NONE | NONE |
This field is a unique number used to identify a record in a file. | ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
cSuppressErrorMessage | EV03 | char | NONE | NONE |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cConsolidationMethod | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnUniqueKeyIDOffset | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. | ||||
mnJobnumberA | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnProjectNumber | PRJM | MATH_NUMERIC | OPT | NONE |
A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011). | ||||
mnDocumentOrderInvoice | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
cProjectPlanning | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
B4000520 Get Item UoM Conversion Factor | ||||
B9800100 Get Audit Information |
F3111 Work Order Parts List | ||||
F3412 MPS/MRP/DRP Lower Level Requirements File | ||||
F4101 Item Master | ||||
F4102 Item Branch File |