1.Functional Description
1.1Purpose
This function will:
Perform standard data dictionary and UDC edits (if full edits requested) on input parameters.
Perform the appropriate action (Add, Update, or Delete) to the Work Center Master table (F30006) and
Work Center Tag File (F30006T).
If interoperability is enabled, outbound Add, Update, or Delete transactions are written to the Work
Center transaction file (F30006Z1).
1.2Setup Notes and Prerequisites
1.3Special Logic
Includes logic for repetitive manufacturing: validation of capacity and shift fields.
This function updates F30006 using values passed into the data structure.
If the data structure field TYTN is greater than blank, outbound interoperability transactions are
written to F30006Z1.
'b7
2.Technical Specifications
2.4Processing
Main Processing:
d.If Action Code-parm is equal to 1, assign a value of 'A'.
If Action Code-parm is equal to 3, assign a value of 'D'.
blank.
already exist if an "add" is being performed; an update or delete must have an existing record on
F30006.
BF szBranch -> szBranch
"1" -> cCallType
"1" -> cSuppressErrorMessages
if only one is populated.
b.If the DispatchGroup-parm is blank, default this field to the WorkCenter-parm value.
c.If the Location is not blank:
Display Format Locn<=Location-parm
File Format Location=>FileLocation (WF)
Mode<='2'
Validate<='1'
d. Validate Shift Hours are valid for the Branch:
WHR6-parm is not blank.
ii. If branch is not blank, fetch the manufacuring constant shift codes for the branch.
Get Manufacturing Constants (B3000450):
BF szBranch -> szBranchPlant
VA evt_cMfgCnstShiftCode2 <- cShift2Code
VA evt_cMfgCnstShiftCode3 <- cShift3Code
VA evt_cMfgCnstShiftCode4 <- cShift4Code
VA evt_cMfgCnstShiftCode5 <- cShift5Code
If SHFT is blank, repeat i.
iii. If SHFT is not blank, set an error "038P" :
For WRH3-parm if VA evt_cMfgCnstShiftCode3 is blank
For WRH4-parm if VA evt_cMfgCnstShiftCode4 is blank
For WRH5-parm if VA evt_cMfgCnstShiftCode5 is blank
entered.
ii.If CAPU-parm is entered set error "038L" if CPSD-parm is not entered, and vice versa.
iii.If CPMI-parm or CPMA-parm is entered, set error "038L" if CAPU-parm and/or CPSD-parm
are not entered.
iv.If CPMA-parm is less than CPSD-parm or less than CPMI-parm, set error "038L".
error "3091" if the BranchPlant-parm is not a valid business unit:
error "3091" if the WorkCenter-parm is not a valid business unit:
Found Flag=>Valid Business Unit (WF)
Master table (F0006); set error "3091" if the DispatchGroup-parm is not a valid business unit:
Found Flag=>Valid Business Unit (WF)
Master table (F0006); set error "3091" if the LocationBranch-parm is not a valid business unit:
Found Flag=>Valid Business Unit (WF)
dictionary edits, including UDC edits, and return any default values. If the function does not
return successful, set error "0025" .
Everest Type<=1 if character; 9 if numeric
a manufacturing routing (F3112).
EndOfFile(WF) = '0' (i.e. record exists on F3003) after this call. The function must be called
twice; once to perform the read and once to release the pointer to the table row:
Request Type<='1'
Error Message ID=>ErrorMsgId (WF)
Index<='3'
Keys<='1'
End of File=>EndOfFile (WF)
Return Field Values<='0'
Suppress Error Messages<='1'
hRequestF3003<=RequestF3003 (WF)
Suppress Error Messages<='1'
hRequestF3003<=RequestF3003 (WF)
blank after this call (i.e. record is found on F3112):
Error Message ID=>ErrorMsgId (WF)
Index<='3'
Keys<='1'
Suppress Error Messages<='1'
If no errors were encountered so far:
Date=>Date (WF)
Time=>Time (WF)
Workstation=>Workstation (WF)
Display Format Locn<=Location-parm
File Format Location=>FileLocation (WF)
Mode<='2'
into the data structure and the audit information. If the add was not successful, set error "0002".
Interoperability:
VA evt_szUserID_USER -> szUserId
VA evt_szBatchNumber -> szBatchNumber
VA evt_szTransactionNumber <- szTransactionNumber
"1" -> cSuppressErrorMessage
2.Insert an outbound Add (Action code = A) transaction to the Work Center Transaction File
(F30006Z1). If the insert was not successful, set error "0002".
"ZJDE0001" -> szVersion
VA evt_szUserID_USER -> szUserId
VA evt_szBatchNumber -> szBatchNumber
VA evt_szTransactionNumber -> szTransactionNumber
"1" -> cSuppressErrorMessage
VA evt_mnLineNumber -> mnLineNumber
"JDEWC" -> szTransactionType
"
VA evt_szActionCode -> szTransactionAction
into the data structure and audit information. If the update processing was not successful, set
error "0002".
Interoperability:
'1a'1a
D3001840B - F30006 Work Center MBF
2.1Parameters: D3001840B
Data Item Data Structure Description I/ORequiredNotes
ACTNAction Code IYA or 1 = Add,
C or 2 = Change/Update,
D or 3 = Delete,
I = Inquiry
EV01Process Edits IN0 = No Editing
1 = General Editing only
2 = Full Editing
(General plus all Data Dictionary and UDC editing)
EV01Suppress Error Msgs IN1 = Suppress messages
MCUWork Center IYPrimary Key field (F30006)
MCUWDispatch Group I/ONWork Center field (F30006)
MMCUBranch Plant I/ONWork Center field (F30006)
LOCNLocation I/ONWork Center field (F30006)
CRTWCritical work Center I/ONWork Center field (F30006)
PILCPrime Load Code I/ONWork Center field (F30006)
BFPFPay Point Code I/ONWork Center field (F30006)
DEMODemo Calc Capactiy I/ONWork Center field (F30006)
AN8Address Number I/ONWork Center field (F30006)
AVRTReplenishment Hours I/ONWork Center field (F30006)
TRKSResource Offset I/ONWork Center field (F30006)
WRHRWork Hour Per Day I/ONWork Center field (F30006)
WOREWork Center Efficiency I/ONWork Center field (F30006)
WORUWork Center Utilization I/ONWork Center field (F30006)
QMADNumber Of Employees I/ONWork Center field (F30006)
NOMANumber Of Machines I/ONWork Center field (F30006)
SQDStandard Queue Hours I/ONWork Center field (F30006)
MOVDMove Hours I/ONWork Center field (F30006)
QUEDQueue Hours I/ONWork Center field (F30006)
SETCCrew Size I/ONWork Center field (F30006)
DL1Hours Per Shift 1 I/ONWork Center field (F30006)
DL2Hours Per Shift 2 I/ONWork Center field (F30006)
DL3Hours Per Shift 3 I/ONWork Center field (F30006)
DE1Shift Start 1 I/ONWork Center field (F30006)
DE2Shift Start 2 I/ONWork Center field (F30006)
DE3Shift Start 3 I/ONWork Center field (F30006)
DC1Shift Code 1 I/ONWork Center field (F30006)
DC2Shift Code 2 I/ONWork Center field (F30006)
DC3Shift Code 3 I/ONWork Center field (F30006)
URDTUser Reserved Date I/ONWork Center field (F30006)
URATUser Reserved Amount I/ONWork Center field (F30006)
URABUser Reserved Number I/ONWork Center field (F30006)
URRFUser Reserved Reference I/ONWork Center field (F30006)
URCDUser Reserved Code I/ONWork Center field (F30006)
PIDProgram ID INCurrent program name
ERRCError Conditions ONBlank = No errors
1 = Errors found
DTAIError Message ID ONError Message ID
TYTNType Transaction INInteroperability Flag:
Blank = Off, JDEWC = On
LICLine Cell Station Flag I/ONRepetitive field (F30006T)
SHF2Work Hours Shift 2 I/ONRepetitive field (F30006T)
SHF3Work Hours Shift 3 I/ONRepetitive field (F30006T)
SHF4Work Hours Shift 4 I/ONRepetitive field (F30006T)
SHF5Work Hours Shift 5 I/ONRepetitive field (F30006T)
SHF6Work Hours Shift 6 I/ONRepetitive field (F30006T)
CAPUCapacity UOM I/ONRepetitive field (F30006T)
CPSDCapacity Standard I/ONRepetitive field (F30006T)
CPMICapacity Minimum I/ONRepetitive field (F30006T)
CPMACapacity Maximum I/ONRepetitive field (F30006T)
SHMCShift Branch I/ONRepetitive field (F30006T)
EV01Write Before Images INInteroperability Flag:
0 = After Images only
1 = Before and After
Images
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cActionCode | ACTN | char | NONE | NONE |
| ||||
cProcessEdits | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMsgs | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
szDispatchGroup | MCUW | char | NONE | NONE |
A category code used to group work centers within an overall business unit.
For example, you can use this code to group similar machines
| ||||
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
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
cCriticalWorkCenter | CRTW | char | NONE | NONE |
A code that indicates whether the work center is critical or not critical when the system calculates capacity. Valid values are:
N
Not a critical
| ||||
cPrimeLoadCode | PILC | char | NONE | NONE |
A code that determines if a work center is machine or labor intensive. The system also uses prime load codes in Resource Requirements
| ||||
cPayPointCode | BFPF | char | NONE | NONE |
A code that indicates whether a work center has labor, material, or both,backflushed through it when quantities are reported against
| ||||
cDemoCalcCapacity | DEMO | char | NONE | NONE |
Future use. A switch selecting either Demonstrated (D) or Calculated (C)
capacity to use in CRP calculations for work center
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnReplenishmentHours | AVRT | MATH_NUMERIC | NONE | NONE |
The time required before a consuming location has a replacement kanban available from its supplying location.
This value is used only for
| ||||
mnResourceOffset | TRKS | MATH_NUMERIC | NONE | NONE |
A value used in the Resource Profile table (F3303) to determine the number of days that the actual use of a work center resource should be
| ||||
mnWorkHourPerDay | WRHR | MATH_NUMERIC | NONE | NONE |
The number of work hours that the manufacturing plant operates per day. | ||||
mnWorkCenterEfficiency | WORE | MATH_NUMERIC | NONE | NONE |
A user defined value that indicates how efficiently a work center operates.
This value usually refers to staff efficiency. When you enter a
| ||||
mnWorkCenterUtilization | WORU | MATH_NUMERIC | NONE | NONE |
A percentage that indicates how intensively a work center is being used. This value usually refers to machine use. It is the ratio of the direct
| ||||
mnNumberOfEmployees | QMAD | MATH_NUMERIC | NONE | NONE |
The normal number of employees in this work center. When you run the Work Center Resource Units Refresh program, the system
| ||||
mnNumberOfMachines | NOMA | MATH_NUMERIC | NONE | NONE |
The normal number of machines in this work center. When you run the Work Center Resource Units Refresh program, this number is
| ||||
mnStandardQueueHours | SQD | MATH_NUMERIC | NONE | NONE |
Future Use The expected number of hours a job will wait in the queue at this work center before work on it begins. | ||||
mnMoveHours | MOVD | MATH_NUMERIC | NONE | NONE |
The planned hours that are required to move the order from this operation to the next operation in the same work center.
If the Routing
| ||||
mnQueueHours | QUED | MATH_NUMERIC | NONE | NONE |
The total hours that an order is expected to be in queue at work centers and moving between work centers.
The system stores this value in
| ||||
mnCrewSize | SETC | MATH_NUMERIC | NONE | NONE |
The number of people who work in the specified work center or routing operation.
The system multiplies the Run Labor value in the Routing
| ||||
mnHoursPerShift1 | DL1 | MATH_NUMERIC | NONE | NONE |
Future use This is the planned number of hours for the duration of shift 1 for this work center. | ||||
mnHoursPerShift2 | DL2 | MATH_NUMERIC | NONE | NONE |
Future use This is the planned number of hours for the duration of shift 2 for this work center. | ||||
mnHoursPerShift3 | DL3 | MATH_NUMERIC | NONE | NONE |
Future use This is the planned number of hours for the duration of shift 3 for this work center. | ||||
mnShiftStart1 | DE1 | MATH_NUMERIC | NONE | NONE |
Future use. The demonstrated capacity for shift 1. | ||||
mnShiftStart2 | DE2 | MATH_NUMERIC | NONE | NONE |
Future use. The demonstrated capacity for shift 2. | ||||
mnShiftStart3 | DE3 | MATH_NUMERIC | NONE | NONE |
Future use The demonstrated capacity for shift 3. | ||||
cShift1Code | DC1 | char | NONE | NONE |
A user defined code (00/SH) that identifies daily work shifts. | ||||
cShift2Code | DC2 | char | NONE | NONE |
Future use. This is the planned number of standard hours available in this work center by multiplying number of machines or crew size by
| ||||
cShift3Code | DC3 | char | NONE | NONE |
Future use. This is the planned number of standard hours available in this work center by multiplying number of machines or crew size by
| ||||
jdUserReservedDate | URDT | JDEDATE | NONE | NONE |
This is a 6 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
mnUserReservedAmount | URAT | MATH_NUMERIC | NONE | NONE |
This is a 15 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
mnUserReservedNumber | URAB | MATH_NUMERIC | NONE | NONE |
This is a 8 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
szUserReservedReference | URRF | char | NONE | NONE |
A 15-position reference that is reserved for the user. J.D. Edwards does not currently use this field and does not plan to use it in the future. | ||||
szUserReservedCode | URCD | char | NONE | NONE |
This is a 2 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
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
| ||||
szTypeTransaction | TYTN | char | OPT | NONE |
The qualifier used to identify a specific type of transaction. | ||||
cLinecellstationflag999 | LIC | char | OPT | NONE |
A code that defines the type of work center. Valid values are :
0 Stand alone work center
1 Production line in a repetitive environment
2
| ||||
mnHoursWorkHoursShift29 | WRH2 | MATH_NUMERIC | OPT | NONE |
The number of work hours that the manufacturing plant operates in shift 2. | ||||
mnHoursWorkHoursShift39 | WRH3 | MATH_NUMERIC | OPT | NONE |
The number of work hours that the manufacturing plant operates in shift 3. | ||||
mnHoursWorkHoursShift49 | WRH4 | MATH_NUMERIC | OPT | NONE |
The number of work hours that the manufacturing plant operates in shift 4. | ||||
mnHoursWorkHoursShift59 | WRH5 | MATH_NUMERIC | OPT | NONE |
The number of work hours that the manufacturing plant operates in shift 5. | ||||
mnHoursWorkHoursShift69 | WRH6 | MATH_NUMERIC | OPT | NONE |
The number of work hours that the manufacturing plant operates in shift 6. | ||||
szUMCapacityUOM | CAPU | char | OPT | NONE |
A unit of measure that you use to express the capacity of a production line. Examples of units of measure include hours, number of
| ||||
mnCapacityStandard | CPSD | MATH_NUMERIC | OPT | NONE |
The standard capacity level at which a production line usually operates. Capacity is stated in units per hour. This level is used for repetitive
| ||||
mnCapacityMinimum | CPMI | MATH_NUMERIC | OPT | NONE |
The lower limit of the capacity, beyond which the production line should not operate. Management sets this limit, based on factors such as
| ||||
mnCapacityMaximum | CPMA | MATH_NUMERIC | OPT | NONE |
The upper limit of the capacity, beyond which a production line cannot produce. Capacity is stated in units per hour. This limit is used for
| ||||
cWriteBeforeImages | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szLocationBranch | LOMC | char | OPT | NONE |
This is the branch plant of the location associated with the work center. | ||||
szWorkDayCalendarKey | WDCK | char | OPT | NONE |
A code used to classify values within a calendar type. For example, if the calendar type is ROUTE, you can enter a code that specifies a
| ||||
szWorkDayCalendarType | WDCT | char | OPT | NONE |
A user defined code (42/WD) that specifies how the calendar is used. For example, the calendar might be specific to an industry such as
|
None |
None |