1.Functional Description
1.1Purpose
This function will perform Get, Add, Update, Delete, Delete All, Get Next, Add/Update, Terminate, and
Close Cursor functions on the Work Center Master cache used in the Work Center Revisions Master
Business Function.
The calling application is responsible for loading all appropriate key values to the data structure
and identifying the number of keys to use in retrieval/update processes.
'2' Add - add a cache element.
'3' Update - update a cache element.
'4' Delete - delete a cache element.
'5' Delete All - delete all cache elements
'6' Get Next - retrieve the next cache element
'7' Add/Update - will add if element does not exist, will change if it does exist.
'8' Terminate - terminate cache
'9' Close cursor - frees memory for a cache cursor
key values for a Get, Update, Delete, Get Next, and Add/Update.
A zero may be passed to retrieve or update the first record.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
I. Perform setup functions
B. Set DS Cache Error Code = '0';
C. If not successful Set error "032E," "Error Processing Cache".
II. Processing Based on Mode.
2.Retrieve the first element on the cache matching the key values passed as input; the
number of keys to be used is passed in the input parameters, If "0" fetch first element in the
list.
3.Load the values from the retrieved element into the data structure to be passed back to
the calling program.
4.If get fails DS Cache Error Code = '6'.
B.If Process Mode is "2" - ADD (same logic as mode "7").
2.Insert a new cache element with values from data structure.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.
2.Insert a new cache element with values from data structure.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.
2.If delete fails DS Cache Error Code = '5'.
E.If Process Mode is "5" - DELETE ALL:
2.If delete fails DS Cache Error Code = '5'.
cursor should have been set through a previous "Get" action, i.e. process mode "1", if number of
keys is "0" then fetch next record with out using any key).
2.Load the values from the retrieved element into the data structure to be passed back to
the calling program.
3.If there are no more elements close cursor and set DS Cache Error Code = '1'.
G.If Process Mode is "7" - ADD/UPDATE:
2.Insert a new cache element with values from data structure.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.
D3001860 - Cache Process Work Center Master
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. | ||||
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. | ||||
mnShift1Start | DE1 | MATH_NUMERIC | NONE | NONE |
Future use. The demonstrated capacity for shift 1. | ||||
mnShift2Start | DE2 | MATH_NUMERIC | NONE | NONE |
Future use. The demonstrated capacity for shift 2. | ||||
mnShift3Start | 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. | ||||
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. | ||||
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. | ||||
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
| ||||
cActionCode | ACTN | char | NONE | NONE |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
nNumberofKeys | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
cProcessMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cReturnCursor | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
idCursorHandle | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cCacheCodeError | 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. | ||||
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 |