RetrieveRequisitionHeader

Retrieve Requisition

Minor Business Rule

Object Name: N43E0210

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D43E0210A - Retrieve Requisition Header

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrderCompanyKCOOcharOPTNONE

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_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

szBusinessUnitMCUcharOPTNONE

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.

jdTransactionDateTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnOrderAmountOTOTMATH_NUMERICOPTNONE

The total value of all lines on the order that have not been shipped and billed to the customer.

mnNumberOfDetailLinesNDLNMATH_NUMERICOPTNONE

The number of detail lines on an eRequisition.

szRequisitionHeaderStatusERHScharOPTNONE

The status of a Requisition has the following valid values:  Composing Submitted Complete Canceled

szRequisitionTitleERTIcharOPTNONE

The title given to a requisition by the user.

mnRequestedByAREQMATH_NUMERICOPTNONE

The address book number of the person entering the request. The system verifies this number against the Address Book.

szTransactionOriginatorTORGcharOPTNONE

The person who originally entered the transaction.

mnNumberOfCompletedDetailLinesNCLNMATH_NUMERICOPTNONE

The number of completed detail lines on an eRequisition.  For 2-way matched lines, completed means the detail line is fully vouchered or 
is cancelled.  For 3- or 4-way matched lines, completed means the detail line is fully received or is cancelled. 

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

szWorkStationIdJOBNcharOPTNONE

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

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

szCurrencyCodeToCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

mnNumberOfCanceledDetailLinesNALNMATH_NUMERICOPTNONE

The number of canceled detail lines on an eRequisition.  

Related Functions

None

Related Tables

None
RetrieveRequisitionLine

RetrieveRequisitionLine

Retrieve Requisition

Minor Business Rule

Object Name: N43E0210

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D43E0210B - Retrieve Requisition Line

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrderCompanyKCOOcharOPTNONE

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_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

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.

szBusinessUnitMCUcharOPTNONE

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.

mnSupplierNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToSHANMATH_NUMERICOPTNONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnBuyerNumberANBYMATH_NUMERICOPTNONE

The address book number that identifies who is responsible for setting up and maintaining the correct stocking levels for each inventory 
item.

jdTransactionDateTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

jdRequestedDateDRQJJDEDATEOPTNONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnShortItemNumberITMMATH_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

szSecondItemNumberLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szThirdItemNumberAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szSupplierItemNumberCITMcharOPTNONE

The cross-reference item number that the system assigns to an item number. A cross-reference number allows you to use a supplier's item 
number if it is different from your own item number when you are processing an order or printing.

szUNSPSCCodeUNSPSCcharOPTNONE

An unmasked UNSPSC commodity code.

szDescriptionLine1DSC1charOPTNONE

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

szDescriptionLine2DSC2charOPTNONE

A second, 30-character description, remark, or explanation.

cPriceOverrideCodePROVcharOPTNONE

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

mnUnitCostPRRCMATH_NUMERICOPTNONE

The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual 
unit cost you record when you receive the item.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnCurrencyConversionRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

mnForeignUnitCostFRRCMATH_NUMERICOPTNONE

The foreign unit cost for this item, as purchased directly from the supplier,excluding freight, taxes, discounts and other factors which might 
serve to modify the actual unit cost we record at the time of physical receipt of goods.

szUnitOfMeasureAsInputUOMcharOPTNONE

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

mnOrderQuantityUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

mnExtendedCostAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnForeignExtendedCostFEAMATH_NUMERICOPTNONE

The product of the foreign price times the number of units.

cBuyerPostponeFlagERBPcharOPTNONE

A flag used by the buyer to postpone the requisition line from generating into a purchase order.  Once set, the buyer must remove the Buyer 
Postpone Flag in order to generate a purchase order interactively or to allow a batch purchase order generator to generate a purchase 
order.

szRequisitionDetailStatusERDScharOPTNONE

The status of a detail line on a Requisition has the following valid values: 
Composing Submitted Denied Approved Canceled Ordered Complete

cCapitalFlagERCAcharOPTNONE

A flag on a requisition line which signifies that the system will create an asset master when the line is received.

cErrorOnLineFlagERELcharOPTNONE

A flag written if there is an error on a requisition line.  This can occur if the user did not resolve an error before the system timed out.  The line 
will be written to the table, with this flag activated.  When the user reinquires on the order, this flag will signal the user  to fix the errors.

cRequisitionTypeERTYPcharOPTNONE

The requisition type stores the source of the requisition and has the following valid values: 1 - Services 2 - Catalog (Item Master) 3 - Special 
Request 4 - Supplier Punchout

cBudgetExceededFlagERBEcharOPTNONE

A flag that signifies that an account-based requisition line will cause the budget for the account to be exceeded.  The line will remain at a 
Composing status, and cannot be successfully Submitted until budget is made available.

cTimedOutFlagERTOcharOPTNONE

A flag on a requisition line that signifies the line was written to the table because the user's session timed out.  The lines will be written at a 
composing status, allowing the user to reinquire on the lines and submit in a future session.

cRequisitionPriorityERPRcharOPTNONE

A priority flag that notifies a buyer that a requisition line should be expedited.  

cDesktopAcknowledgementERTAcharOPTNONE

A flag on a requisition line which signifies that the system will require the requester to acknowledge receipt of the purchased item.

mnRequestedByAREQMATH_NUMERICOPTNONE

The address book number of the person entering the request. The system verifies this number against the Address Book.

szTransactionOriginatorTORGcharOPTNONE

The person who originally entered the transaction.

szGeneratedOrderCompanyGKCOOcharOPTNONE

A number that, along with generated order number and generated order type, uniquely identifies a generated order.

mnGeneratedOrderNumberGDOCOMATH_NUMERICOPTNONE

A number that identifies the generated order, e.g., the purchase order line that was created from a requisition line.

szGeneratedOrderTypeGDCTOcharOPTNONE

A field that identifies the generated order type, e.g., the purchase order type that was created from a requisition line.

szGeneratedOrderSuffixGSFXOcharOPTNONE

A code that identifies the order suffix on the generated order, e.g., the purchase order suffix that was generated from a requisition line.  A 
generated order suffix is always 000.

mnGeneratedLineNumberGLNIDMATH_NUMERICOPTNONE

A number that identifies the generated line number, e.g., the purchase order line number that was generated from a requisition line. 

szUserReservedCodeURCDcharOPTNONE

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.

jdUserReservedDateURDTJDEDATEOPTNONE

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.

mnUserReservedAmountURATMATH_NUMERICOPTNONE

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.

mnUserReservedNumberURABMATH_NUMERICOPTNONE

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.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

szWorkStationIdJOBNcharOPTNONE

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

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

szLineTypeLNTYcharOPTNONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

szCommodityCodeCMDCDEcharOPTNONE

User defined commodity code.

szPrimaryUnitOfMeasureUOM1charOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

mnOpenAmountAOPNMATH_NUMERICOPTNONE

The amount of the order, invoice, or voucher that is still unpaid or open. When you enter a document (for example, an order, invoice, or 
voucher), the open amount is the original amount of that document. If you change the original amount, the open amount is reduced by the net 
change. For example,payments, shipments, or receipts against a document result in a reduction of the open balance.

mnOpenQuantityUOPNMATH_NUMERICOPTNONE

The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and 
vouchered to date.

cMultipleAccountsMACTcharOPTNONE

This code indicates whether the expense on the detail line has been distributed to multiple accounts.

szGlClassGLCcharOPTNONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

jdGeneratedOrderDateGORDJJDEDATEOPTNONE

Date the requisition was generated into an order.

cFutureUseCharacterINV01charOPTNONE

For future use.

szFutureUseStringINV02charOPTNONE

For future use.

mnFutureUseMathNumericINV03MATH_NUMERICOPTNONE

For future use.

jdFutureUseDateINV05JDEDATEOPTNONE

nFutureUseIntegerINV06integerOPTNONE

Future Use Integer.

Related Functions

None

Related Tables

None