Functional Description
Purpose
This function edits voucher records to be deleted.  It is called for each record processed.  The G/L 
Date field for posted records must contain the entered G/L Date to be used for the PE record.  To edit 
error when deleting vouchers with a Purchase Order Number, the relevant Processing Option must be 
sent.  Allowed values are:  ' ' = no edit, '1' = warning message, '2' = hard error.  If an error occurs, 
output parameter 'ErrorFlag' is set to '1'.
Setup Notes and Prerequisites
Special Logic
Technical Specification
^
D0400489 - Validate Voucher Records To Be Deleted
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| mnDocVoucherInvoicee | DOC | MATH_NUMERIC | NONE | NONE | 
A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
  | ||||
| szDocumentType | DCT | char | NONE | NONE | 
A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
  | ||||
| szCompanyKey | KCO | char | NONE | NONE | 
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
  | ||||
| szDocumentPayItem | SFX | char | NONE | 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 
  | ||||
| mnPayItemExtensionNumber | SFXE | MATH_NUMERIC | NONE | NONE | 
A code to designate an adjusting entry to a pay item on a voucher or invoice. This field is required so that each record is unique.  | ||||
| cGLPostedCode | POST | char | NONE | NONE | 
A code the system uses to determine whether a transaction is available for the post process. Valid codes 
  | ||||
| cVoidFlag | VOD | char | NONE | NONE | 
This code is used to determine whether an entry has been voided. A value of V will be entered into this field if the record has been 
  | ||||
| szCompany | CO | char | NONE | NONE | 
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
  | ||||
| cCurrencyMode | CRRM | char | NONE | NONE | 
An option that specifies whether the system displays amounts in the domestic or foreign currency.
On 
The system displays amounts in the 
  | ||||
| mnAmountGross | AG | MATH_NUMERIC | NONE | NONE | 
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
  | ||||
| mnAmountOpen | AAP | MATH_NUMERIC | NONE | NONE | 
The amount of an invoice or voucher pay item that is unpaid.  | ||||
| mnAmountCurrency | ACR | MATH_NUMERIC | NONE | NONE | 
The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set 
  | ||||
| mnAmountForeignOpen | FAP | MATH_NUMERIC | NONE | NONE | 
The unpaid foreign amount of a transaction.  | ||||
| szFrequencyRecurring | RF | char | NONE | NONE | 
A code to specify the time interval between transactions that the system creates. Valid recurring frequency values 
  | ||||
| mnRecurFrequencyOfPaym | DRF | MATH_NUMERIC | NONE | NONE | 
The number of recurring invoices or vouchers that you want the system to process. This number includes the original transaction that you 
  | ||||
| cErrorFlag | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| szPurchaseOrder | PO | char | NONE | NONE | 
A document that authorizes the delivery of specified merchandise or the rendering of certain services.  | ||||
| cPOProcessingOption | EV02 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| szDocumentTypeAdjusting | DCTA | char | NONE | NONE | 
A code in the Accounts Payable Ledger table (F0411) to designate a change in the gross amount of a voucher. Valid value: PE.  | ||||
| cPayStatusCode | PST | char | NONE | NONE | 
A user defined code (00/PS) that indicates the current payment status for a voucher or an invoice. Examples of codes include:
A
Approved 
  | ||||
| None | 
| F0414 Accounts Payable Matching Document Detail |