CacheProcessWOValues

Cache Process WO Values

Minor Business Rule

Object Name: N3200890

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This function will retrieve and, depending on process mode, update the Configured items "All 

Components" cache with the Work Order Number (used as Parent WO number for lower level work orders) and Start 

Date (used to backschedule lower level work orders). 


The cache is searched sequentially until a match is found between the Related Line Number passed in 

as input and the Related Line Number on the cache.  


Cache Action Code values:
• 
'1'  Retrieve matching cache element.  
• '2' Update matching cache element.  
• 
'b7'b7'b7'b7'b7'b7

1.3Special Logic

There is no special logic within this function.


2.Technical Specifications

2.4Processing 


1.Read through the All Components cache using  the "Cache Process All Components" (B3200370)  

business function; pass the Job Number and Line Number as key values.


2.After each read, check if the Related Line number passed in as input matches the related line 

number on the retrieved cache element. 

a) If a match is found, end the reading of cache.  If the process mode is '2' (update mode) and a 
match is found, update the retrieved record with the input start date and/or work order number. 

b)If a match is not found, continue reading the cache until the business function returns a 

non-zero value in the Cache Code error parameter.


3.If no matching cache element is found, set the Error Message Id parameter (DTAI) to "0002".



Data Structure

D3200890 - Cache, Process WO Values

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szParentWoNumberPARScharNONENONE

A number that identifies the parent work order. You can use this number to do the following:     o Enter default values for new work orders, 
such as Type, Priority, Status, and Manager     o Group work orders for project setup and reporting  

jdWOStartDateSTRTJDEDATENONENONE

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

mnRelatedLineNumberRLINMATH_NUMERICNONENONE

This field is not updated by the receipt applications; it is always populated with the value zero. 

cProcessModeEV01charNONENONE

An option that specifies the type of processing for an event.

cSuppressErrorMessagesEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

mnKeyIndexWOCacheLNIXMATH_NUMERICREQINPUT

mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharOPTNONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None