This function will retrieve a record from Order Activity Rule table (F42003) with the OrderType,
Line Type, Next status passed in. If record exist in F42003 and the Last Status Code passed in is less
than 900, load the Last Status Code with the Next Status passed in. If the Override Next Status
Code is blank, then load the Next Status Code with the Next Status Code retrieved from F42003. If the
Override Next Status Code is not blank and if the Override Next Status Code equals to either Next Status
retrieved or any AllowStatus retrieved, load the Next Status with Override Next Status; otherwise
load Next Status with Next Status retrieved
D4200410 - Get Next Status Code Shell
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
| ||||
szLineType | LNTY | char | NONE | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szOverrideNextStatusCode | NXT2 | char | NONE | NONE |
User defined code (40/AT) that specifies what the next standard step is in the processing cycle for this order type. You set up the steps for
| ||||
szLastStatusCode | LTTR | char | NONE | NONE |
A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed. | ||||
szNextStatusCode | NXTR | char | NONE | NONE |
A user defined code (system 40/type AT) indicating the next step in the order flow of the line type. | ||||
cLedgerRecordYN | WRTH | char | NONE | NONE |
A code that tells the system to write a record to the history table (F42199 for Sales Order Management and F43199 for Purchase Order
| ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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
|
B4000260 Line Type - Activity Rules | ||||
B4000960 Verify Override Next Status Code |
None |