Functional Description
This business function will validate status (CLST) generic or specific queue for a maintenance request record
And the Task record.
Purpose
The purpose of this function is to simplify code in the N1700140, P17501, and P17504 by reusing code.
Setup Notes and Prerequisites
Variables need to be initialized correctly: cEditMode can not be Blank. Initialize this to a 1 for Add, 2 for Update, 3 for Inquiry. cChangeStatus: if the
Auto-Update is detected from the activity rules if this value is 1, it will update the status, and retrieve the highest status activity rules, if it is a blank, the
status will not change, but the highest status activity rules will be retrieved. This is typically used for calling forms and updating the actual status in
another function.
Special Logic
Technical Specification
I1702860_GenericSpecific
If Mode of Entry is ADD
IF NextStatus is not equal to AssignedStatus
I1702860_ValidateRequestStatus
END
END
IF Mode of Entry is UPDATE
Determine if REOPEN
IF REOPEN
End Mode
I1702860_GetNextStatus
Determine if CLOSED
IF Mode of Entry is INQUIRY
END
I1702860_CopyStatusToOutput
END FUNCTION
D1702860 - F1755 Process Case Status
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szOrderType | DCTO | char | OPT | 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
| ||||
mnRequestQueue | CALLQ | MATH_NUMERIC | OPT | NONE |
The address number of the case provider group. To resolve customer problems, the system or a person can assign case to provider
| ||||
cRequestType | CT01 | char | OPT | NONE |
A code that specifies the type of case. | ||||
cGenericSpecific | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szAllowedStatus1 | CLST1 | char | OPT | NONE |
An optional code that specifies which status can be the next step in the case process. You can override this code. The case status code is
| ||||
szAllowedStatus2 | CLST2 | char | OPT | NONE |
An optional code that specifies which status can be the next step in the case process. You can override this code. The case status code is
| ||||
szAllowedStatus3 | CLST3 | char | OPT | NONE |
An optional code that specifies which status can be the next step in the case process. You can override this code. The case status code is
| ||||
szAllowedStatus4 | CLST4 | char | OPT | NONE |
An optional code that specifies which status can be the next step in the case process. You can override this code. The case status code is
| ||||
szAllowedStatus5 | CLST5 | char | OPT | NONE |
An optional code that specifies which status can be the next step in the case process. You can override this code. The case status code is
| ||||
cProtectHistory | CLBH1 | char | OPT | NONE |
A code that specifies whether you can change a case that has a particular status. | ||||
cUpdateNextStatus | CLBH2 | char | OPT | NONE |
A code that specifies whether the system can update a case that has a particular status. | ||||
cDisplayTimeEntry | CLBH3 | char | OPT | NONE |
A code that specifies whether the system displays a time entry form for a particular status. | ||||
cDisplayFailureAnalysis | CLBH4 | char | OPT | NONE |
A code that specifies whether the system displays a failure analysis form for a particular status. | ||||
cSubledgerInactive | CLBH5 | char | OPT | NONE |
For future use. A code that specifies whether the subledger is inactive at a particular status. | ||||
szPreviousStatus | CLST | char | OPT | NONE |
A code that specifies the status of a case. | ||||
szNextStatus | CLST | char | OPT | NONE |
A code that specifies the status of a case. | ||||
szDefaultStatus | CLST | char | OPT | NONE |
A code that specifies the status of a case. | ||||
szAssignedStatus | CLST | char | OPT | NONE |
A code that specifies the status of a case. | ||||
cEditMode | MODE | char | OPT | NONE |
Use this paramter to determine mode of entry. Different modes retrieve different
| ||||
cErrorCode | ERRC | char | OPT | NONE |
Use this parameter to determine if there was at least 1 error occurring while
| ||||
szErrorMessage | DTAI | char | OPT | 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
| ||||
cSuppressErrors | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cChangeStatus | EV01 | char | OPT | NONE |
Use this to instruct the BSFN to update the Next Status if the activity rules
| ||||
cReopenedStatus | EV01 | char | OPT | NONE |
Use this to determine if a changing status (Update Mode) went from a closed
| ||||
cClosedStatus | EV01 | char | OPT | NONE |
Use this parameter to determine if the Current status inquired on is a closed
| ||||
mnMaxDaysReopen | MATH01 | MATH_NUMERIC | OPT | NONE |
Use this parameter to instruct the BSFN on the days allowd to reopen a
| ||||
jdDateEnding | END | JDEDATE | OPT | NONE |
In the case there is an ending date, the Maintenance Request or Task is closed,
| ||||
jdCurrentDate | DTE | JDEDATE | OPT | NONE |
This is sent to the BSFN to be used in coordination with the Max Days for
|
None |
None |