F43092GetReceiptRoutingRecord

F43092 Get Receipt Routing Record

Major Business Rule

Object Name: B4300780

Parent DLL: CDIST

Location: Client/Server

Language: C

Functional Description

Purpose

This function will obtain the receipt routing record for which the full key is given


Technical Specification



OPEN TABLE: F43092 based on passed index


FETCH FROM TABLE:  Using index and passed num of keys


RETURN POINTER ID if requested else FREE POINTER


SET ERRORS APPROPRATELY




Data Structure

D4300780A - F43092 Get Receipt Routing Record

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

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.

szOrderTypeDCTOcharNONENONE

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

szOrderCompanyKCOOcharNONENONE

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.

szOrderSuffixSFXOcharNONENONE

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.

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

mnReceiptLineNumberNLINMATH_NUMERICNONENONE

A number representing the number of lines on either a purchase or sales order. or The number of receivers recorded during the receipts 
process.  This field will be used in Voucher Matching.

mnOperationSequenceFromOPRSMATH_NUMERICNONENONE

The sequence in which the system performs the operations or steps of the route.

szUnitOfMeasureFromUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szUpdateBucketUPIBcharNONENONE

Indicates which quantity field in the Item Location table that the system updates when quantity is moved from one receipt routing operation 
to another. Valid values:        QTTR - Quantity in Transit         QTIN - Quantity in Inspection         QTO1 - Quantity in User-defined Operation 1         
QTO2 - Quantity in User-defined Operation 2        PQOH - Quantity on Hand PREQ - Quantity on Purchase Order

cActiveOperationFlagACTOcharNONENONE

Indicates if any quantity is currently at the operation. Valid values are:    Y Quantity is currently at the operation.    N Quantity is not currently at 
the operation.    N Quantity is not currently at the operation

mnIndexCDLMATH_NUMERICNONENONE

The length of the user defined code. It cannot be greater than 10 characters.

mnNumberOfKeysKEYNMATH_NUMERICNONENONE

The number of key fields within a particular physical or logical view.

cSuppressErrorMessageEV01charNONENONE

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.

cErrorCodeERRcharNONENONE

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

cReturnPointerRWT1charNONENONE

This flag indicates whether a record has been written to a transaction work file or not. Allowed values are :    0   Record does NOT exist in the 
transaction work file.    1   Record DOES exist in the transaction work file.

cCallTypeRWT2charNONENONE

This flag indicates whether a record has been written to a transaction work file or not. Allowed values are :    0   Record does NOT exist in the 
transaction work file.    1   Record DOES exist in the transaction work file.

idF43092RowPtrGENLNGIDNONENONE

General purpose ID variable.

szOperationCodeOPRCcharNONENONE

A user defined code (43/OC) that represents an operation or step within the receipt route.

Related Functions

None

Related Tables

F43092 Purchase Order Receipt Routing File
F43092GetRowInformation

F43092GetRowInformation

F43092 Get Receipt Routing Record

Minor Business Rule

Object Name: B4300780

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4300780B - F43092 Get Row Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrderCompanyKCOOcharNONENONE

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.

mnOrderNumberDOCOMATH_NUMERICNONENONE

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.

szOrderTypeDCTOcharNONENONE

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

szOrderSuffixSFXOcharNONENONE

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.

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

mnReceiptLineNumberNLINMATH_NUMERICNONENONE

A number representing the number of lines on either a purchase or sales order. or The number of receivers recorded during the receipts 
process.  This field will be used in Voucher Matching.

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szNormalRouteCodeNROUcharNONENONE

A user defined code (43/RC) that identifies a receipt route. Each receipt route consists of a series of operations through which the system 
directs items upon receipt.

mnOperationSequenceFromOPRSMATH_NUMERICNONENONE

The sequence in which the system performs the operations or steps of the route.

szOperationCodeOPRCcharNONENONE

A user defined code (43/OC) that represents an operation or step within the receipt route.

szStatusLineTRTYcharNONENONE

A user defined code (40/AT) that indicates the status of the line.

mnPlannedProcessDaysPDAYMATH_NUMERICNONENONE

This field designates the number of days in process.

mnActualProcessDaysADAYMATH_NUMERICNONENONE

The average actual number of days that the goods are at this operation in receipt routing.

szUpdateBucketUPIBcharNONENONE

Indicates which quantity field in the Item Location table that the system updates when quantity is moved from one receipt routing operation 
to another. Valid values:        QTTR - Quantity in Transit         QTIN - Quantity in Inspection         QTO1 - Quantity in User-defined Operation 1         
QTO2 - Quantity in User-defined Operation 2        PQOH - Quantity on Hand PREQ - Quantity on Purchase Order

cUpdateLedgerUPGLcharNONENONE

Indicates when the system updates the general ledger. Valid values are:    Y Journal entries will be written as soon as the quantity moves 
into this operation.    N Journal entries will not be written at this time.

szGLCategoryGLPTcharNONENONE

A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
you do not want to specify a class code, you can enter **** (four asterisks) in this field. You can use automatic accounting instructions (AAIs) to 
predefine classes of automatic offset accounts for the Inventory Management, Procurement, and Sales Order Management systems. You 
might assign G/L class codes as follows:    IN20   Direct Ship Orders    IN60   Transfer Orders    IN80   Stock Sales  The system can generate 
accounting entries based upon a single transaction. For example, a single sale of a stock item can trigger the generation of accounting entries 
similar to the following:         Sales-Stock (Debit) xxxxx.xx     A/R Stock Sales (Credit) xxxxx.xx     Posting Category: IN80             Stock Inventory 
(Debit) xxxxx.xx     Stock COGS (Credit) xxxxx.xx The system uses the class code and the document type to find the AAI.

cReceiptFlagRCPTcharNONENONE

A code that determines at which operation the system records the receipt date for items in the receipt route. Based on the receipt date, the 
system calculates supplier performance information such as leadtime days for an item and on time deliveries. NOTE: You can enter Y in this 
column only once for each route.

cPaymentFlagPMTEcharNONENONE

Indicates at which operation the goods are eligible for payment.  When quantity is moved to this operation, the system updates the open 
quantity (PRUOPN) and open amount (PRAOPN) in the Purchase Order Receiver table so they can be vouchered in the Voucher Match 
program. NOTE:  You can enter Y in this column only once for each route. In addition, the system uses this field to determine if the quantity is eligible 
for payment when the quantity is dispositioned out of the routing process.  Each quantity disposition has its own setup.

cActiveOperationFlagACTOcharNONENONE

Indicates if any quantity is currently at the operation. Valid values are:    Y Quantity is currently at the operation.    N Quantity is not currently at 
the operation.    N Quantity is not currently at the operation

szUnitOfMeasureFromUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

mnQuantityAtOperationQTYOMATH_NUMERICNONENONE

The number of units currently at this operation.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

idF43092RowPointerGENLNGIDNONENONE

General purpose ID variable.

Related Functions

None

Related Tables

F43092 Purchase Order Receipt Routing File