1.Functional Description
1.1Purpose
This function will:
Edit the Action Code.
1.2Setup Notes and Prerequisites
This function must be called before calling F30008 Edit Line.
The calling program/application must define work fields to hold all the output parameters of this
function. Some of which will be passed to subsequent edit object modules (i.e., Edit Line, End Doc).
1.3Special Logic
This function uses cache, or a memory array, to store work center revisions information until F30008
End Doc is called. This function will determine the Job Number (JOBS) which is used to name the
cache. No updating of cache is done in this function.
Parameter fields are denoted by -parm, and cache (work file) fields by -cache. Variables that are
defined and used only within this program are denoted by (WF).
2.Technical Specifications
2.4Processing
Next Num. Index<='1'
Next Number =>JobNumber-parm
b.Validate that the ActionCode-parm is either '1', '2' or '3'.
c.Return error "0001" to calling program if ActionCode-parm is invalid.
^
D3001900A - F30008 Begin Doc
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobnumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
cActionCode | ACTN | char | NONE | NONE |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
cSuppressErrorMsgs | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorConditions | 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
| ||||
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
|
None |
None |