| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
| szCompanyKeyOrderNo | KCOO | char | OPT | NONE | 
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.  | 
| mnDocumentOrderInvoiceE | DOCO | MATH_NUMERIC | OPT | NONE | 
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.  | 
| szOrderType | DCTO | char | OPT | NONE | 
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
  | 
| mnLineNumber | LNID | MATH_NUMERIC | OPT | NONE | 
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.  | 
| mnDocVoucherInvoiceE | DOC | MATH_NUMERIC | OPT | NONE | 
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.  | 
| szDocumentType | DCT | char | OPT | NONE | 
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 
  | 
| szCompanyKey | KCO | char | OPT | NONE | 
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
 or journal entry.
If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
 document company to retrieve the correct next number for that company.
If two or more original documents have the same document number and 
 document type, you can use the document company to locate the desired document.  | 
| szDocumentPayItem | SFX | char | OPT | NONE | 
A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
 multiple pay items, the numbers are sequential.  |