1.Functional Description
1.1Purpose
This business function will validate that the Work Order Table (F4801) contains at least one Child
Work Order for a given Work Order Number. This function will return a code '1'in the errorcode field, if
any Child WO's are found and '0' if no Child WO's are found.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
Retrievals:
Check the Work Order table (F4801) for a record using Parent Document Number (PARS) as the key
field. The Parent WO Number must not be Work Order Number itself.
Returns:
If the any Child WO is found, the function will return '1' in the Error Code field, and '0' if Child
WO's are not found. If the Message Code is input as 'Y', the error message (Number - 1866) will be
returned.
^
D3100130 - Verify Child Work Orders Exist
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,
| ||||
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
| ||||
cMessageCode | MSGA | char | NONE | NONE |
A code to indicate which messages should be displayed.
A Y code will display all messages, including those that have been cleared or
|
None |
F4801 Work Order Master File |