Functional Description
Purpose
This function will be used to read a row from the WO Status Action table (F4826) by the user input
index/key combination.
Setup Notes and Prerequisites
At this time, index one is the only valid index; however, index shall remain a parameter in
consideration of future additions.
1 = DCTO, TYPS, SRST
Special Logic
Technical Specification
1.Test for a valid key.
2.Read the WO Status Action table (F4826) by the input index/key combination.
3.If a row exists,
b.If the input status (ds-SRST) is not equal to the Next Status (GENTST), or to the Allowed
Status Codes (GEA1ST, GEA2ST, GEA3ST, GEA4ST, GEA5ST), assign the Allowed Status Code a value of '1'.
c.Return an error if the row does not exist.
D4800090 - F4826 Get Row
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
|---|---|---|---|---|
| szOrderType | 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
| ||||
| cWOType | TYPS | char | NONE | NONE |
A user defined code (00/TY) that indicates the classification of a work order or engineering change order.
You can use work order type as a
| ||||
| szWOStatusCode | 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
| ||||
| szWONextStatus | 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
| ||||
| szAllowedStatusCode1 | A1ST | char | NONE | NONE |
This is an optional field that indicates a status that can be assigned as the next step in the order process. Although this is not the preferred
| ||||
| szAllowedStatusCode2 | A2ST | char | NONE | NONE |
This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or
| ||||
| szAllowedStatusCode3 | A3ST | char | NONE | NONE |
This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or
| ||||
| szAllowedStatusCode4 | A4ST | char | NONE | NONE |
This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or
| ||||
| szAllowedStatusCode5 | A5ST | char | NONE | NONE |
This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or
| ||||
| szMaintenanceStatus | MSTS | char | NONE | NONE |
A user defined code (12/MS) that indicates the maintenance status of a piece of equipment, such as 50 for maintenance due or 60 for
| ||||
| cInventoryCommitmentFlag | IVCM | char | NONE | NONE |
A code that determines whether Inventory is Committed or not when a Work Order changes status. Valid values are:
1 Inventory is not
| ||||
| cSubledgerInactiveCode | SBLI | char | NONE | NONE |
An option that indicates whether a specific subledger is inactive. Examples of inactive subledgers are jobs that are closed, employees
| ||||
| cEqWOFutureConstant1 | EQW1 | char | NONE | NONE |
The capacity flag determines whether the system runs the capacity plan generation when a work order changes status.
Valid values are:
| ||||
| cEqWOFutureConstant2 | EQW2 | char | NONE | NONE |
A code that determines whether a work order can be changed at a particular status. The lock applies to records in both the Work Order
| ||||
| cEqWOFutureConstant3 | EQW3 | char | NONE | NONE |
An indication of whether to print the work order when it reaches a particular status. | ||||
| cEqWOFutureConstant4 | EQW4 | char | NONE | NONE |
A code that indicates the status of a condition-based alert. Valid values are listed in UDC table 13/AS (Alert Status). | ||||
| cEqWOFutureConstant5 | EQW5 | char | NONE | NONE |
A code that specifies which role has the authority to edit a claim at a particular status. The system uses this code in the Warranty Claims
| ||||
| nIndex | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
| nKeys | INT02 | integer | NONE | NONE |
Number of Days in the Past to Query for Quote Requests Received. | ||||
| 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
| ||||
| cBudgetApproval | BUDG | char | NONE | NONE |
0 = The input status is allowed.
| ||||
| None |
| F4826 W.O. Status Action Table |