1.Functional Description
This function will find the current Work Center for a given key and will return it to the calling
application.
1.1Purpose
This function will find all records for a given Key. It will fetch one record after the other and
check if this is the current record. Therefore the input date will be compared with the Effective From
and Effective Through Date.
1.2Setup Notes and Prerequisites
None
1.3Special Logic
If the As Of Date is equal to
matching record will be returned.
2.Technical Specifications
2.4Processing
1.0. Check input parameter
Check if all required data is available. If required data is missing set ERRC = '1',
DTAI = '3143' and leave the BSFN.
2.0Work Center Flag = 0
DO while Work Center Flag = 0
IRKIT= FI Parent Item
IRTRT= FI Type Routing
IRBQTY= FI Batch Quantity
IROPSQ= FI Operation Sequence
IROPSC= blank
If record found
If FI As of Date > zero
If FC Effective Date From <= FI As of Date
and FC Effective Date Through >= FI As of Date
Work Center Flag = 1
FI Error Code = 0
FI Error Message Id = ' '
FI Work Center = FC Work Center
FI Error Code = 0
FI Error Message Id = ' '
endif
^
D3001950 - F3003 Get Operation Work Center
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBranch | 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
| ||||
mnParentItemNumber | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szTypeRouting | TRT | char | NONE | NONE |
A user defined code (40/TR) that indicates the type of routing. You can define different types of routing instructions for different uses.
For
| ||||
mnBatchQuantity | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
mnOperationSequence | OPSQ | MATH_NUMERIC | NONE | NONE |
A number used to indicate an order of succession.
In routing instructions, a number that sequences the fabrication or assembly steps in the
| ||||
jdAsOfDate | ASDE1 | JDEDATE | NONE | NONE |
The date used for effectivity checking. Enter a specific date to display documents (orders, bills of material, routings, as applicable) that are
| ||||
szWorkCenter | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
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
| ||||
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 |