1.Functional Description
1.1Purpose
This function will perform Get, Add, Update, Delete, Delete All, Get Next, Add/Update, and Terminate
functions on the Routing cache.
1.2Setup Notes and Prerequisites
The calling application is responsible for creating 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
Number of Keys
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 "4", 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'.
D3001940A - Cache Routing Master
Data Item Description I/OReqd Notes
JOBN Job Number IY Used in cache name
INT01 Number of Keys OY Number of Keys to be used in
the cache retrieval/delete
process.
(e.g. 3 keys will useTRT, KIT,
MCU, ; 4 keys will use TRT,
KIT, MCU and BQTY, etc.)
If in fetch mode and the
number
of keys is 0 then the first
element in the cache will be
found without using a key.
EV01 Cache Action Code IY "1" = Get cache element
"2" = Add element
"3" = Update element
"4" = Delete cache elements
(keyed)
"5" = Delete All cache
elements
"6" = Get Next cache element
"7" = Add/Update cache
element
"8" = End cache (terminate
cache)
"9" = Close Cursor
EV01 Cache Code Error ON "0" = Successful Process
"1" = Reached End Of CACHE
"2" = Invalid Input Parameter
"3" = Failed to Create CACHE
"4" = Failed to Add CACHE
"5" = Failed to Delete CACHE
"6" = Fetch Failed (Mode 4)
EV01 Suppress Error Messages IN 1=Suppress runtime error
message handling.
0=Allow runtime error
message handling.
DTAI Error Message ID ON
GENLNG Cursor I/ON Returns cursor
EV01 Return Cursor I/OY 1= Return Cursor
0 = Do not Return Cursor
Vc02 TransactionType IY Key Field
(01 for change,
02 for an Add 03 (Update?),
04 Temp Record from file)
OPSQ Operation Sequence No. New IY Key
OPSC Original Operation Code Type IY Key
LINE Original Line/Cell Identifier IY Key
EFFF Original Effetive From Date IY Key
OPSQ Operation Sequence No. New IY Key
OPSC Operation Code Type IY Key
LINE Line/Cell Identifier IY Key
EFFF Effective From Date IY Key
ALD Auto Load Description I
DSC1 Description I
MCU Work Center I
OPSQ Operation Sequence No. Old I
EFFT Effective Thru Date I
BFPF Pay Point Code I
LAMC Labor or Machine I
TIMB Time Basis Code I
OPSR Operation Shrinkage Factor I
RUNM Standard Run Machine I
RUNL Standard Run Labor I
SETL Standard Setup Hours I
PWRT Piecework Rate I
MOVD Move Hours I
QUED Queue Hours I
LTPC Leadtime Overlap % I
POVR Percent of Overlap I
NXOP Next Operation Seq No I
OPYP Operation Planned Yield % I
CPYP Cumulative Planned Yield % I
APID Unit Number I
SHNO Message Number I
INPE Inspection Code I
JBCD Job Code I
AN8 Address Number I
VEND Supplier Number I
POY Purchase Order (Y/N) I
COST Cost I
OMCU Project Cost Center I
OBJ Object I
SUB Subsidiary I
URCD User Reserved Code I
URDT User Reserved Date I
URAT User Reserved Amount I
URRF User Reserved Reference I
URAB User Reserved Number I
EV01 Delete Old Resource I
LOCN Consuming Location I
RUC Resource Units I
CAPU Capacity Unit of Measure I
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
Used in cache nameab
| ||||
nNumberOfKeys | INT01 | integer | NONE | NONE |
Number of Keys to be used in the cache retrieval/delete process.
| ||||
cProcessMode | EV01 | char | NONE | NONE |
"1" = Get cache element
| ||||
cCacheCodeError | EV01 | char | NONE | NONE |
"0" = Successful Process
| ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
1=Suppress runtime error message handling.
| ||||
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
| ||||
idCursor | GENLNG | ID | NONE | NONE |
Returns cursor
| ||||
cReturnCursor | EV01 | char | NONE | NONE |
1= Return Cursor
| ||||
szTransactionType | VC02 | char | NONE | NONE |
Key Field (01 for change, 02 for an Add 03, 04 Temp Record from file)
| ||||
mnOriginalSequenceNoOperations | OPSQ | MATH_NUMERIC | NONE | NONE |
Key
| ||||
szOriginalTypeOperationCode | OPSC | char | NONE | NONE |
Key
| ||||
szOriginalLineIdentifier | LINE | char | NONE | NONE |
Key
| ||||
jdOriginalEffectiveFromDate | EFFF | JDEDATE | NONE | NONE |
Key
| ||||
mnSequenceNoOperations | 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
| ||||
szTypeOperationCode | OPSC | char | NONE | NONE |
A user defined code (30/OT) that indicates the type of operation. Valid values include: A Alternate routing TT Travel time IT Idle time T Text | ||||
szLineIdentifier | LINE | char | NONE | NONE |
A number that defines a production line or cell. Detailed work center operations can be defined inside the line or cell. | ||||
jdEffectiveFromDate | EFFF | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part goes into effect on a bill of material
o When a routing step goes into
| ||||
szAutoLoadDescription | ALD | char | NONE | NONE |
This field is used to pull in a standard description from a user defined for the specified operation. | ||||
szDescriptionLine1 | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szCostCenter | 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
| ||||
jdEffectiveThruDate | EFFT | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part is no longer in effect on a bill of material
o When a routing step is no
| ||||
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
| ||||
cLaborOrMachine | LAMC | char | NONE | NONE |
A code to designate whether the operation is labor or machine. | ||||
cTimeBasisCode | TIMB | char | NONE | NONE |
A user defined code (30/TB) that indicates how machine or labor hours are expressed for a product. Time basis codes identify the time
| ||||
mnOperationShrinkage | OPSR | MATH_NUMERIC | NONE | NONE |
Future use. This field indicates the percentage of scrap that is typically encountered for this operation for this part. If the quantity ordered is
| ||||
mnRunMachineStandard | RUNM | MATH_NUMERIC | NONE | NONE |
The standard machine hours that you expect to incur in the normal production of this item. | ||||
mnRunLaborStandard | RUNL | MATH_NUMERIC | NONE | NONE |
The standard hours of labor that you expect to incur in the normal production of this item.
The run labor hours in the Routing Master table
| ||||
mnSetupLaborHrsStdr | SETL | MATH_NUMERIC | NONE | NONE |
The standard setup hours that you expect to incur in the normal completion of this item. This value is not affected by crew size. | ||||
mnRatePiecework | PWRT | MATH_NUMERIC | NONE | NONE |
The rate to be paid for the type of component (piece) being produced. | ||||
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
| ||||
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
| ||||
mnLeadtimeOverlap | LTPC | MATH_NUMERIC | NONE | NONE |
Future use This field is used to modify the normal logic in the backscheduling routine. If operation number 010 starts on day one and is
| ||||
mnPercentOfOverlap | POVR | MATH_NUMERIC | NONE | NONE |
A number that indicates the percentage that successive operations can overlap.
The actual overlap percentage entered for the operation
| ||||
mnNextOperation | NXOP | MATH_NUMERIC | NONE | NONE |
The operation number with which the current operation can be simultaneously processed. | ||||
mnPercentOperationalPl | OPYP | MATH_NUMERIC | NONE | NONE |
The planned output yield percent for a step. The Planned Yield Update program uses this value to update the cumulative percent in the
| ||||
mnPercentCumulativePla | CPYP | MATH_NUMERIC | NONE | NONE |
The cumulative planned output yield percent for a step. The system uses this value to adjust the operation step scrap percent for the
| ||||
szUnitNumber | APID | char | NONE | NONE |
A 12-character alphanumeric code used as an alternate identification number for an asset. This number is not required, nor does the
| ||||
szMessageNo | SHNO | char | NONE | NONE |
A generic rates and message code (48/SN) that is assigned to a standard note, message, or general narrative explanation. You can use
| ||||
szInspectionCode | INPE | char | NONE | NONE |
Future use. This is a user defined code specifying the type of normal inspection practice for this particular item. Examples that could be
| ||||
szJobCategory | JBCD | char | NONE | NONE |
A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and
| ||||
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
| ||||
mnPrimaryLastVendorNo | VEND | MATH_NUMERIC | NONE | NONE |
The address book number of the preferred provider of this item. | ||||
cPurchaseOrderY | POY | char | NONE | NONE |
Determines if the Work Order Generation program (P31410) creates a purchase order for a subcontracted operation within a routing. Valid
| ||||
szCostType | COST | char | NONE | NONE |
A code that designates each element of cost for an item. Examples of the cost object types are:
o A1 Purchased raw material
o B1
| ||||
szPurchasingCostCenter | OMCU | char | NONE | NONE |
The business unit from an account number. The account number business unit is usually found in the data item MCU, however, Distribution
| ||||
szObjectAccount | OBJ | char | NONE | NONE |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szSubsidiary | SUB | char | NONE | NONE |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
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. | ||||
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. | ||||
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. | ||||
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. | ||||
cDeleteOldResource | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szLocation | LOCN | char | OPT | NONE |
The storage location from which goods will be moved. | ||||
mnResourcesUnitsConsumed | RUC | MATH_NUMERIC | OPT | NONE |
A number that indicates how many of the line's resource units are needed to produce one item. | ||||
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
| ||||
mnAssetItemNumber | NUMB | MATH_NUMERIC | OPT | NONE |
An 8-digit number that uniquely identifies an asset. | ||||
szWorkcenterBranch | WMCU | char | OPT | NONE |
This is the branch/plant to which the work center belongs and must exist in the business unit master (F0006) and branch plant constants file
| ||||
szActivityCode | ACTB | char | OPT | NONE |
The aggregation of actions performed within an organization that are useful for purposes of activity-based costing. | ||||
szCompentencyType | CMPE | char | OPT | NONE |
A code that identifies a competency table or category for which you can track employee competencies. Valid values
| ||||
szCompentencyCode | CMPC | char | OPT | NONE |
A code that specifies a competency within a competency type. For example, a competency for the competency type "Skill" might be "C
| ||||
mnCompetencyLevelFrom | CPLVLFR | MATH_NUMERIC | OPT | NONE |
This value set the lowest value to be included in the rule criteria range for a competency level range selection. | ||||
mnCompetencyLevelTo | CPLVLTO | MATH_NUMERIC | OPT | NONE |
This value set the highest value to be included in the rule criteria range for a competency level range selection. | ||||
cRuleMatchFlag | CMRQ | char | OPT | NONE |
A field that indicates whether the resource must satisfy the requirements that define the rule criteria. Valid values are:
1 The resource must
| ||||
mnAddressNumberManager | ANSA | MATH_NUMERIC | OPT | NONE |
The address book number of a manager or planner.
Note: A processing option for some forms allows you to enter a default value for this
| ||||
mnSupervisor | ANPA | MATH_NUMERIC | OPT | NONE |
The address book number of the supervisor. | ||||
mnAddNoAssignedTo | ANP | MATH_NUMERIC | OPT | NONE |
The address book number of the person assigned to do the work. | ||||
cMaintenanceScheduleFlag | WSCHF | char | OPT | NONE |
A flag used to indicate if the work (i.e. work order, labor detail step, or PM Projection) is scheduled to a crew. Valid values are listed in UDC
| ||||
cResourcesAssigned | TRAF | char | OPT | NONE |
A code that indicates whether a resource has been assigned to a work order through the Resource Assignment program (P48331). You
| ||||
cDFMOpCriticalYN | DFOPC | char | OPT | NONE |
A flag (Y/N) that indicates if an operation exists on the critical path for a particular item |
None |
F3003 Routing Master File |