Functional Description
Purpose
The purpose of this business function is to validate invoice records the user wants to void or
delete. This function will let the user know if the invoice can be voided or deleted.
This business function will edit invoice records to be deleted. It should be called for each record
processed. Void date and void reason code must contain the void date and void reason code to be used
for the void.
Setup Notes and Prerequisites
In order to validate a transaction the key to the transaction needs to be acquired and passed over in
the parameters. These keys include: Document Company(KCO), Document Number(DOC), Document
Type(DCT), and Document Pay Item(SFX).
Special Logic
None.
Technical Specification
Parameters
ItemDescriptionI/OReq?Notes
DOCmnDocVoucherInvoiceeINPart of Primary Key to F03B11 Record
DCT szDocumentTypeINPart of Primary Key to F03B11 Record
KCOszCompanyKeyINPart of Primary Key to F03B11 Record
POSTcGlPostedCodeING/L Posted Code
VDGJjdVoidDateForGLINVoid Date
CRRMcCurrencyModeIY'D' for Domestic or Mode 3
'F' for Foreign
AGmnAmountGrossIYDomestic Gross Amount
Required if voiding Domestic or Mode 3
invoice
APmnAmountOpenIYDomestic Open Amount
Required if voiding Domestic or Mode 3
invoice
ACRmnAmountForeignIYForeign Gross Amount
Required if voiding Foreign invoice
FAPmnAmountForeignOpenIYForeign Open Amount
Required if voiding Foreign invoice
RFszFrequencyRecurringIYRecurring Frequency Code
DRFmnRecurFrequencyIYNumber of times to recycle
PSTcPayStatusCodeINPayment Status Code
EV04 cErrorFlagOYReturns 1 if paid or partially paid
Returns 2 if recurring frequency code
and Number of times to recycle are not
blank and zero, respectively.
COszCompanyINCompany
EV07cFirstFlagIY'1' if no errors have occurred due to
recycled invoice validation
ISTRcPostStatusReceivablesIN
Related Tables
None.
Related Functions
None.
Processing
1. Open file.
2. Determine if record has already been voided, if so, move '1' to error flag.
3. Check to see if invoice has been paid or partially paid, if so, move '1' to error flag.
4. If a recurring invoice, make sure frequency recurring and recurring frequency # of payments are
not blank, if so move '2' to error flag.
5. Close file.
^
D03B0014 - ValidateInvoiceRecordsToDelete
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
| ||||
cGlPostedCode | POST | char | NONE | NONE |
A code the system uses to determine whether a transaction is available for the post process. Valid codes
| ||||
jdVoidDateForGL | VDGJ | JDEDATE | NONE | NONE |
The date that specifies the financial period to which the voided transaction is to be posted. Financial periods are set up 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. | ||||
mnAmountForeign | 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
| ||||
mnRecurFrequency | 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
| ||||
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
| ||||
cErrorFlag | EV04 | char | NONE | NONE |
PeopleSoft event point processing flag 04. | ||||
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
| ||||
cFirstFlag | EV07 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cPostStatusReceivables | ISTR | char | NONE | NONE |
In the Customer Ledger table (F03B11), a code that specifies whether revision records exist for an invoice. Valid values are:
Blank
No
|
None |
F03B11 Customer Ledger |