Functional Description
Purpose
This business function deletes all voucher records when called from a browse screen.  
Actions performed are: 
1) Validate 
2) Delete all G/L transactions 
3) Delete all A/P transactions.  
This function performs a validation or delete, depending on the parameter cValidateOrDelete.  Valid 
values are:
' ' - Validate and Delete 
'1' - Validate
Setup Notes and Prerequisites
None
Special Logic
None
Technical Specification
None
^
D0400492 - Delete Voucher From Browse Screen
| 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, 
 | ||||
| cPOProcessingOption | EV01 | char | NONE | NONE | 
| An option that specifies the type of processing for an event. | ||||
| jdDateForGLAndVoucher | DGJ | JDEDATE | NONE | NONE | 
| A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you 
 | ||||
| cErrorFlag | EV02 | char | NONE | NONE | 
| An option that specifies the type of processing for an event. | ||||
| cUpdateBatch | VC01A | char | NONE | NONE | 
| This is a generic field used for video constants display. | ||||
| cValidateOrDelete | EV03 | char | NONE | NONE | 
| A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
 | ||||
| szLedgerType | LT | char | NONE | NONE | 
| A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
 | ||||
| cCurrencyConverYNAR | CRYR | char | NONE | NONE | 
| A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use:
Codes are:
   N Do not 
 | ||||
| cDeleted | EV01 | char | OPT | NONE | 
| An option that specifies the type of processing for an event. | ||||
| B0000004 Batch - Open On Initialization | ||||
| B0000007 Batch - Revise On Transaction Commitment | ||||
| B0000008 Batch - Revise On Exit | ||||
| B0400031 Validate Voucher Records To Be Deleted | ||||
| B0400038 PE Creation - Void | ||||
| B0900026 Void Journal Entry | ||||
| N7000330 B0400047 - Plug & Play - 04 | 
| F0411 Accounts Payable Ledger |