RelatedOrdersCrossReferenceCache

Related Orders Cross-Reference Cache

Minor Business Rule

Object Name: B31P0460

Parent DLL: CEPM

Location: Client/Server

Language: C

Data Structure

D31P0460 - Related Orders Cross Reference Cache Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charOPTINPUT

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

szCacheJobNumberJOBNcharOPTBOTH

The code that identifies the work station ID that executed a particular job.

cSuppressErrorMessageEV01charOPTINPUT

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

szErrorMessageDTAIcharOPTOUTPUT

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.

idhCursorGENLNGIDOPTBOTH

General purpose ID variable.

mnNumberOfKeysNKEYSMATH_NUMERICOPTINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

cReturnPointerEV01charOPTINPUT

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

mnRelatedOrderSetIdentifierROSIDMATH_NUMERICOPTNONE

A number that identifies a set of reference order numbers (for example, Sales Order, Purchase Order, Transfer Order, Direct Ship Order, 
Work Order, and so on) that are related and linked together.  In Related Order Cross-Reference Table (F4080), different records with the same 
value in this field identify the group of related orders.

mnRelatedOrderIdentifierROIDMATH_NUMERICOPTNONE

A number that identifies a reference order number in the detail line level for different orders. The same value in this field indicates that the 
detail lines are related to each other (for example, Sales Order detail line and Purchase Order detail line in a Transfer Order).

mnOrderIndicatorOINDMATH_NUMERICOPTNONE

A number that indicates the order sequence for related orders.

szProductCodeSYcharOPTNONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

mnProjectNumberPRJMMATH_NUMERICOPTNONE

A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011).

mnTaskOrderNumberDOCOMATH_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.

szTaskOrderTypeDCTOcharOPTNONE

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

mnOrderNumberDOCOMATH_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

szKeyCompanyKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

mnLineNumberLNIDMATH_NUMERICOPTNONE

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.

mnItemNumberITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szOrderDescriptionDSC1charOPTNONE

Brief information about an item; a remark or an explanation.

szStatusCodeNextNXTRcharOPTNONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

cWorkOrderTypeFlagWODTFcharOPTNONE

A code that indicates whether the record that is contained in the Related Order Cross Reference Table (F4080) is related to a 
manufacturing work order or a descriptive task for a project. Valid values are: Blank The record is related to a manufacturing work order. 1 The record is 
related to a descriptive task for a project.

mnIndexIDEXMATH_NUMERICOPTNONE

szTypeOfOrderA201charOPTNONE

A code that the system uses to determine the type of work order; based on the value in the Order Type field.  Values are: 01 Unrelated to 
work order 02 Manufacturing work order 03 Manufacturing rework work order 04 Equipment work order 05 Service work order 06 Warranty claim 
order 07 Supplier recovery order 08 Engineering change order 09 Engineering change request order 10  Property Management order 11 Engineer to 
Order summary order 12 Rate schedule order

cCreateSecondCacheFlagEV01charOPTNONE

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

Related Functions

None

Related Tables

None