B0400530
F0414 As Of Server
Functional Description
Purpose
The purpose of this business function is to accumulate payment amounts prior to the As of Date.
Setup Notes and Prerequisites
If cPaymentFlag is returned as a 0, then no as of processing was done.
If cPaymentFlag is returned as a 1, then as of processing was done.
Special Logic
Special Logic For Drafts (P1 Documents)
Technical Specifications
Parameters
ItemDescriptionI/OReq?Notes
DGJ jdGLDateI
DAG jdDateAgeAsOfI
DOC mnDocVoucherInvoiceEI
DCT szDocumentTypeI
KCO szCompanyKeyI
SFX szDocumentPayItemI
AG mnAmountGrossI
AAP mnAmountOpenO
ACR mnAmountCurrencyI
FAP mnAmountForeignOpenO
ADSC nAmtDiscountAvailableO
CDS nForeignDiscountAvailO
SFXE mnPayItemExtensionNumberI
EV01 cVoidFlagO
EV02 cPaymentFlagO
Related Tables
F0411 - Account Payable Ledger
F0413 - Account Payable Matching Document
F0414 - Account Payable Matching Document Detail
F0911 - Account Ledger
Related Business Functions
Processing
Process Regular Vouchers
JDB_SetSelection - F0911
JDB_SelectKeyed - F0911
While Loop
Accumulate payment amounts prior to As of Date G/L Date is greather that the As Of Date
and Batch Type = 'G'
Assign amount open with the difference of original amount and total payments made before
As Of Date.
JDB_SetSelection - F0414
JDB_SelectKeyed - F0414
While Loop
Get the G/L Date from F0413 by the Payment ID on F0414
Accumulate payment amounts prior to As of Date
Assign amount open with the difference of original amount and total payments made before
As Of Date
JDB_SetSelection - F0411
JDB_SelectKeyed - F0411
While Loop
Accumulate payment amounts prior to As of Date G/L Date is greather that the As Of Date
Change the sign of the amounts
Assign amount open with the difference of original amount and total payments made before
As Of Date.
D0400530 - F0414 As Of Server
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
jdGLDate | DGL | JDEDATE | OPT | NONE |
A date that identifies the financial period to which the transaction is to be posted.
The company constants specify the date range for each
| ||||
jdDateAsOf | DAG | JDEDATE | OPT | NONE |
A date that the system uses to determine the aging category to which to assign an invoice. The system compares the aging date to the
| ||||
mnDocVoucherInvoiceE | DOC | MATH_NUMERIC | OPT | 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 | OPT | 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 | OPT | 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 | OPT | 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
| ||||
mnAmountGross | AG | MATH_NUMERIC | OPT | 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 | OPT | NONE |
The amount of an invoice or voucher pay item that is unpaid. | ||||
mnAmountCurrency | ACR | MATH_NUMERIC | OPT | 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 | OPT | NONE |
The unpaid foreign amount of a transaction. | ||||
mnAmtDiscountAvailable | ADSC | MATH_NUMERIC | OPT | NONE |
The amount of the invoice or voucher pay item that is eligible to be subtracted from the gross amount when the transaction is paid. The
| ||||
mnForeignDiscountAvail | CDS | MATH_NUMERIC | OPT | NONE |
The foreign amount of the discount available as opposed to the amount of the discount actually taken. | ||||
mnPayItemExtensionNumber | SFXE | MATH_NUMERIC | OPT | 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. | ||||
cVoidFlag | VOD | char | OPT | 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
| ||||
cPaymentFlag | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
None |
None |