| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
| szCompanyKey | KCO | char | OPT | INPUT | 
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.  | 
| szDocumentType | DCT | char | OPT | INPUT | 
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 
  | 
| mnDocVoucherInvoiceE | DOC | MATH_NUMERIC | OPT | INPUT | 
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.  | 
| mnVoucherTotal | AG | MATH_NUMERIC | OPT | BOTH | 
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
 the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the 
 system clears the gross amount field.
  | 
| cSupressErrorMsg | EV01 | char | OPT | INPUT | 
An option that specifies the type of processing for an event.
  | 
| szErrorCode | DTAI | char | OPT | OUTPUT | 
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.
  | 
| jdDateMatchingCheckOr | DMTJ | JDEDATE | OPT | INPUT | 
The date on a payment or the date on which a receipt was entered. 
In Accounts Payable, the manual payment date and the general ledger 
 date that the system uses when it posts payments. The system also uses this date to retrieve the exchange rate for foreign payments from 
 the Currency Exchange Rates table (F0015). 
In Accounts Receivable, the date on the check or the date that you enter the receipt into the 
 system. The receipt date is used for information and reporting purposes only.
  | 
| mnPurchases | AG | MATH_NUMERIC | OPT | OUTPUT | 
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
 the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the 
 system clears the gross amount field.
  | 
| mnInitialBalance | AG | MATH_NUMERIC | OPT | OUTPUT | 
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
 the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the 
 system clears the gross amount field.
  |