Business Function Specification
Source NameB3102080DesignerPH5732462
Data Structure D3102080ProgrammerPH5732462
Function NameCo_By Completions Master Business Function
System Code31
Function Category
Function Use
Revisions Log
DateModifications bySAR NumberDescription
04/08/99P.Houtkooper 2998732Created
1.Functional Description
1.1Purpose
The purpose of this function is to separate the work order completions logic from B3100790. This business function will process all cache records
created by B3101570 to the F3111.
1.2Setup Notes and Prerequisites
This business function will use the following structure to store global variables.
DSB3102080INTERNAL
This business function will use the following three cache structures.
DSB3102080CACHE
DSB3102080WORKCACHE
DSB3102080CACHEKEY
Data Item IndexNotes
mnJobNumberRetrieved from Begin Doc - Cache Key
szComputerIDRetrieved from Begin Doc - Cache Key
mnLineNumberCache Row Counter - Cache Key
DSB3102080WORKCACHEKEY
Data Item IndexNotes
mnJobNumberRetrieved from Begin Doc - Cache Key
szComputerIDRetrieved from Begin Doc - Cache Key
2.Technical Specifications
2.1Parameters: D3102080A - Co_By Completions Begin Doc
Data Item Data Structure DescriptionI/ORequiredNotes
JOBSmnJobNumberI/ONB3101570 JobNumber
EV01cSuppressErrorMessagesINBlank - Do not suppress errors '1' - Suppress errors
ERRCcErrorCodeON'1' - Warning '2' - Error
DTAIszErrorMessageIDON
CTIDszComputerIDI/ON
PIDszProgramIDINDefault - "EP31115"
VERSszVersionINDefault - "ZJDE0001"
DOCOszDocumentOrderInvoiceEIYUse to retrieve WO data pointer
2.2Related Tables
Table Table Description
2.3Related Business Functions
Source NameFunction Name
B9800181GetLocalComputerId
B3100330VerifyAndGetWorkOrderMaster
B9800100GetAuditInfo
2.4Processing
Functional Outline:
Initialize Internal Structure
Load Internal (lpVoid, lpBhvrcom, hUser, '85)
Get Job Number
Get Local Computer ID
Initialize B3102080 cache(Main)
Initialize WorkCache cache(Common Information)
Retrieve and Load Processing Options to WorkCache
Retrieve and Load Audit Information to WorkCache
Retrieve and Load WO Master Data to WorkCache
Add WorkCache cache
D3102080A - Co_By Completions Begin Doc
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobnumberA_JOBS | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
cSuppressErrorMessages_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode_ERRC | ERRC | char | OPT | 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 | 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
| ||||
szComputerID_CTID | CTID | char | OPT | NONE |
szProgramId_PID | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szVersion_VERS | VERS | char | OPT | 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
| ||||
mnDocumentOrderInvoiceE_DOCO | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
|
B0000128 Retrieve Company Currency Code | ||||
B0000129 Retrieve Currency Decimals | ||||
B3100330 Verify and Get Work Order Master | ||||
B3100760 Update Work Order Status | ||||
B3100770 Work Order Completions MBF | ||||
B3101570 Cache Co/By Product Completion | ||||
B3102110 Cache Resource Percentage Index | ||||
B4000520 Get Item UoM Conversion Factor | ||||
B4100210 Check Item Branch | ||||
B4300570 Receipt Routing, Verify Receipt Routing Process | ||||
B4301260 F43092, Validate Negative Completion | ||||
B4301270 F43092, Perform Negative Completion | ||||
B9800100 Get Audit Information | ||||
B9800181 Environment List Business Functions | ||||
X0005 Get User Defined Codes | ||||
X3111 F3111 Process Master Data | ||||
X4101 Validate and Retrieve Item Master | ||||
X41LOT Assign Lot Number | ||||
X43091 Receipt Routing Initiator | ||||
XT4111Z1 Inventory Transactions |
F3111 Work Order Parts List | ||||
F4101 Item Master | ||||
F4101T OBSOLETE - Item Master Tag File | ||||
F4102 Item Branch File | ||||
F4801 Work Order Master File |