WriteRoutingLedgerRecord

F43099, Write Routing Ledger Record

Minor Business Rule

Object Name: B4300690

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4300690 - Receipt Routing Ledger File DS

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

szOrderSuffixSFX0charNONENONE

A number that identifies the pay item for a voucher or invoice. The system automatically assigns the pay item number. If a voucher or 
invoice has multiple pay items, the numbers are sequential.

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.

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

szUnitOfMeasureUOMcharNONENONE

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

mnQuantityMovedQTYMMATH_NUMERICNONENONE

The number of units that have been either moved or dispositioned.

szFromOperationCodeOPRFcharNONENONE

A user defined code (43/OC) that identifies the routing operation or step from which items were moved.

szToOperationCodeOPRTcharNONENONE

A user defined code (43/OC) that identifies the routing operation or step to which items were moved.

szMovementCodeMCDEcharNONENONE

A user defined code (43/MC) that indicates the movement of the quantity. You can move quantity from one operation to another, or you can 
disposition quantity out of the routing process.

szReasonCodeRCDcharNONENONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

cReplacementRPLcharNONENONE

A code that indicates whether you want to replace the items that you are returning. Valid values are:    Y Replace the items. The system 
credits the purchase order for the items you are returning and creates a new detail line for the replacement items. The Replacement Information 
window appears after you disposition the items so that you can enter information for the new order detail line.    Blank Do not replace the 
items. The system credits the purchase order for the items you are returning.

mnPOLineNumberPOLNMATH_NUMERICNONENONE

A number that indicates the line number that was added to a purchase order when goods were returned to the supplier.

mnReversalNumberRVSNMATH_NUMERICNONENONE

A unique number for each disposition reversal record.  It is used only if the reversal code (RVS) is R.

szProgramIDPIDcharNONENONE

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.

szUserUSERcharNONENONE

The code that identifies a user profile.

szWorkstationIDJOBNcharNONENONE

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

jdDateUpdatedUPMJJDEDATENONENONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICNONENONE

The computer clock in hours:minutes:seconds.

cReverseFlagRVScharNONENONE

A code that indicates whether the transaction is eligible for reversal or has already been reversed. Valid values are:    Blank Transaction is 
eligible to be reversed.    N       Transaction is not eligible to be reversed.    Y       Transaction has been reversed.    R       Transaction is a 
reversal audit record.

szCostCenterMCUcharOPTNONE

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.

mnReceiptDocNumDOCMATH_NUMERICOPTNONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szReceiptDocTypeDCTcharOPTNONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

Related Functions

B9800100 Get Audit Information

Related Tables

F43099 Receipt Routing Ledger File