1.Functional Description
1.1Purpose
This business function reads the Work Order Master table F4801 using work order number and work order
document type. It then updates the work order status field to the value passed into the function.
1.2Setup Notes and Prerequisites
Call this function from any application requiring update of work order status
Pass in work order number, type and a valid, desired status to be assigned to the work order
1.3Special Logic
None
2.Technical Specifications
2.4Processing
1.Retrieve Work Order Master row from F4801 using WO Number (WADOCO = Input DOCO) and WO Document
Type (WADCTO = Input DCTO)
2.If record is found
DTAI=blanks/* Error Message for fetch success
^
D3100760 - Update Work Order Status Data Structure
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,
| ||||
szDocumentType | 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
| ||||
szStatusCode | SRST | char | NONE | NONE |
A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from
| ||||
cSuppressErrorMessage | 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
| ||||
szNextStatus | NTST | char | NONE | NONE |
The next status for a work order, according to the work order activity rules,as the work order moves through the approval route.
You must
|
None |
F4801 Work Order Master File |