GetPurchaseOrderInformation

Get Purchase Order Information

Minor Business Rule

Object Name: N4302120

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4302120A - Get Purchase Order Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szDocumentCompanyKCOOcharREQNONE

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_NUMERICREQNONE

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.

szOrderSuffixSFXOcharREQNONE

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.

mnSupplierNumberAN8MATH_NUMERICOPTNONE

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

szPurchasingUnitOfMeasurePUMcharOPTNONE

The unit of measure.  Valid units of measure must be defined in the Descriptive Titles records (System Code 00, Record Type UM). The 
Inventory Control and Order Processing systems provide for the automatic conversion of units of measure. In order to invoke this facility, you 
must define unit of measure categories (see UCAT); then you must define these conversion factors (mathematical relationships) in the Unit of 
Measure Conversions program. Note: In the journal entry program, if units are entered, the unit of measure will default from the Account Master 
unit of measure. If a unit of measure is entered it MUST be the same as that in the Account Master. Descriptive Title validation of unit of 
measure is not used by the JE program.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

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

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

mnAmountForeignExtPriceFEAMATH_NUMERICOPTNONE

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

cErrorCodeEV01charOPTNONE

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

szOrderTypeDCTOcharREQNONE

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

Related Functions

None

Related Tables

None