DeleteVoucherFromBrowse

Delete Voucher From Browse Screen

Major Business Rule

Object Name: B0400035

Parent DLL: CFIN

Location: Client/Server

Language: C

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

^

Data Structure

D0400492 - Delete Voucher From Browse Screen

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocVoucherInvoiceeDOCMATH_NUMERICNONENONE

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.

szDocumentTypeDCTcharNONENONE

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 

szCompanyKeyKCOcharNONENONE

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.

cPOProcessingOptionEV01charNONENONE

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

jdDateForGLAndVoucherDGJJDEDATENONENONE

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 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

cErrorFlagEV02charNONENONE

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

cUpdateBatchVC01AcharNONENONE

This is a generic field used for video constants display.

cValidateOrDeleteEV03charNONENONE

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, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

szLedgerTypeLTcharNONENONE

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 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

cCurrencyConverYNARCRYRcharNONENONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

cDeletedEV01charOPTNONE

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

Related Functions

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

Related Tables

F0411 Accounts Payable Ledger