Functional Description
Purpose
This business function will update the void date and void reason code in F03B11 table. Update
Invoice flag will update the original invoice.
The purpose of this business function is to void a posted invoice by updating the void date and void
reason code in the F03B11 table. It will also reset the posted code, pay status and amounts of a
voided record. An F03B112 record will also be written.
Setup Notes and Prerequisites
In order to void a transaction the key to the transaction needs to be acquired and passed over in the
parameters. These keys include: Document Number(DOC), Document Type(DCT), Document Company(KCO) and
Document Pay Item(SFX).
Special Logic
None.
Technical Specification
Parameters
ItemDescriptionI/OReq?Notes
DOCmnDocVoucherInvoiceeIYPart of primary key to F03B11 record
DCTszDocumentTypeIYPart of primary key to F03B11 record
KCOszCompanyKeyIYPart of primary key to F03B11 record
SFXszDocumentPayItemIYPart of primary key to F03B11 record
EV01 cUpdateInvoiceFlagIY'1' to create an Invoice Adjustment
record
VDGJjdVoidDateForGLIYDate to use as void date
AREszAdjustmentReasonCodeINReason code to use for adjustment record
Related Tables
F03B11Customer Ledger Master
F0010Company Constants
F03B112A/R Adjustments
Related Business Functions
B9800100Get Audit Info
X0903Return Fiscal Year Period Number
B03B0021Create Invoice Adjustment Record
Processing
1. Open file.
2. Retrieve record from F03B11.
3. Retrieve Company Constants F0010.
4. Retrieve Period Number.
5. Update Void Date and Void Reason Code in F03B11.
6. Update Non-amount field changes.
7. Retrieve JOB information.
8. Update amount field changes.
9. Load F03B112 fields.
10. Write F03B112 record if "UpdateInvoiceFlag" is '1'.
11. Update invoice record if "UpdateInvoiceFlag" is '1'.
10. Close file.
^
D03B0015 - VoidInvoice
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
| ||||
cUpdateInvoiceFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
szAdjustmentReasonCode | ARE | char | NONE | NONE |
A code that identifies the reason that an invoice pay item was voided. |
B03B0021 F03B112 Create Invoice Revision | ||||
B9800100 Get Audit Information | ||||
X0903 Fiscal Date Edits + |
F0010 Company Constants | ||||
F03B11 Customer Ledger |