1.Functional Description
This business function will update all the pegging document type for a given Work Order Number and
Document type in the Pegging table (F3412).
1.1Purpose
This is to be used in any program to update the document type in F3412 table. Materials Planning
creates 'WO' document type records in F3412 for Work Orders without Parts List attached. When the Parts
List is attached, this document type has to be converted to 'FO'. This function facilitates the change
of the document type.
1.2Setup Notes and Prerequisites
The Work Order Master F4801 has to be read and the data obtained in order use this business function.
The From document type will be generally 'WO' while the To document type will be 'FO'.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
1. Read all the rows using Input Document Number from the Pegging table (F3412).
If the row is found and MWKIT = Input Item and MWMCU = Input Branch and MWDCTO = Input From
Document Type
MWDCTO = To Document Type
Update the Pegging row.
Endif.
2. If there are any errors, Release the request and exit the function with the Error Message ID =
'3143'.
^
D3100540 - Update Pegging Records
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentNumber | 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,
| ||||
mnShortItemNumer | 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
| ||||
szFromDocumentType | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szToDocumentType | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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
|
None |
F3412 MPS/MRP/DRP Lower Level Requirements File |