1.Functional Description
1.1 Purpose
Assign Job Number
Assign Default Branch/Plant
Retrieve the Computer ID (not returned to calling program)
Open the F4801 and stores the hRequest in Cache
Initializes the header cache (Work Cache) and the F4801 cache
'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7
'b7'b7'b7'b7
1.2 Setup Notes and Prerequisites
Begin Doc needs to be called only once per session. A suggested placement of the call would be Post
Dialog is Initialized or Report Header Do Section. Begin Doc can be called more than once (not
recommended), but all records in the F4801 Cache will be deleted so that a clean cache will be available.
The job number is used to create a unique cache name. So the job number returned from this function
must be saved and returned to the other functions in order to access the cache correctly. Also, the
job number is retrieved from the F0010. If this fails, a random job number will be generated by this
function.
For every call to Begin Doc that retrieves a new job number, a call to Clear Work File function must
be performed. See Clear Work File for more details.
2.5 Program Flow
Main Processing
Get Job Number
Initialize Caches
'b7'b7'b7'b7- If records exist in the F4801 cache, delete all cache records
If input Process Edits = Full Edits, get default Branch Plant
If the table request is not blank, open the F4801
Store input Version ID and Program ID in the Work Cache. To be used in Edit Line when calling the
Processing Module.
'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7
'b7'b7'b7'b7
DX4801A - X4801 F4801BeginDocument Function Parameter Data Structure
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. | ||||
cErrorCode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szBranchPlant | MMCU | char | NONE | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
cInteractiveBatchFlag | 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
| ||||
cSuppressErrorMessages | EV03 | char | NONE | NONE |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
cProcessEdits | EV03 | char | NONE | NONE |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
szProcessModule | VC04A | char | NONE | NONE |
This is a generic field used as a work field in Everest. | ||||
szProgramID | PID | char | NONE | NONE |
| ||||
szVersionID | VERS | char | NONE | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
mnProjectNumber | PRJM | MATH_NUMERIC | OPT | BOTH |
A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011). | ||||
cCalculateCumCostFlag | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
cReSynchronizeFlag | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
mnWorkFileLineNumber | MATH01 | MATH_NUMERIC | OPT | OUTPUT |
- - - Good Performance Low Value. |
B0200098 PPAT - Get User Id, Address Book Number | ||||
B3000740 Verify And Get ECO Parts List | ||||
B3100130 Verify Child Work Orders Exist | ||||
B3100140 Verify Journal Entry Exists | ||||
B3100450 Verify And Get Routing Instructions | ||||
B3100470 Verify And Get Parts List | ||||
B3100860 Write WO Text Row | ||||
B3101420 F4801Z1, Write Work Order Header Transactions | ||||
B4000370 Get Default Branch | ||||
B4800150 F4801 Get Next Work Order Number | ||||
N3101150 F3105 Get Work Order Serial Numbers |
F4801 Work Order Master File |