Functional Description
Purpose
This will create an 'RE' record in the F0311 if a change has been made to the gross amount of a
posted record.
Setup Notes and Prerequisites
Document Number, Document Type, Key Company, Pay Item and Matching Document Number combination should
exist in the F0311.
Special Logic
Write RE record to the database only if the new calculated Gross Amount, Tax Amount or Taxable Amount
is not equal to 0.
Technical Specification
Parameters
ItemDescriptionI/OReq?Notes
DOCmnDocumentNumberIYesDocument Number-part of the primary key.
DCTszDocumentTypeIYesDocument Type - part of the primary key.
KCOszDocumentCompanyI YesDocument Company-part of the primary key.
SFXszPayItemIYesPay Item - part of the primary key.
AGmnGrossAmountIYesGross amount - changed gross amount.
STAMmnTaxAmountIYesTax amount - changed tax amount.
ATXAmnTaxableAmountIYesTaxable amount - changed taxable amount.
ACRmnForeignAmountIYesForeign gross amount-changed gross amount.
CTAMmnForeignTaxAmountIYesForeign tax amount - changed tax amount.
CTXAmnForeignTaxableAmtIYesForeign taxable amount - changed taxable
amount
DOCMmnMatchingDocNoIYesMatching Document Number - part of the
primary key.
DCTMszMatchingDocTypeIYesMatching Document Type - part of the primary
key.
Related Tables
F0010Company Master
Related Functions
B9800100Get Audit Info
Processing
Retrieve F0311 Record based upon the key values passed.
Retrieve company information for Company 00000 to determine currency method used.
Matching Document Type set to "RE"
Pay Status Code set to "P"
If currency is off, invoice is domestic or invoice is Mode 3
calculate new domestic amounts
Else
calculate new foreign amounts
End if
If any of the new amount fields are not 0
write new F0311 record
End if
^
D0300002 - Create 'RE' Record - Change in Gross Amount
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentNumber | 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
| ||||
szDocumentCompany | 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,
| ||||
szPayItem | 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
| ||||
mnGrossAmount | 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
| ||||
mnTaxAmount | STAM | MATH_NUMERIC | NONE | NONE |
The amount assessed and payable to tax authorities. It is the total of the VAT, use, and sales taxes (PST). | ||||
mnTaxableAmount | ATXA | MATH_NUMERIC | NONE | NONE |
The amount on which taxes are assessed. | ||||
mnForeignAmount | 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
| ||||
mnForeignTaxAmount | CTAM | MATH_NUMERIC | NONE | NONE |
The tax amount in foreign currency. This can be the sales, use, or VAT tax. | ||||
mnForeignTaxableAmt | CTXA | MATH_NUMERIC | NONE | NONE |
That portion of the sale that is subject to tax in foreign currency. | ||||
mnMatchingDocNo | DOCM | MATH_NUMERIC | NONE | NONE |
The number of the matching document, such as a receipt, payment, adjustment,or credit. You apply a matching document (DOCM) against
| ||||
szMatchingDocType | DCTM | char | NONE | NONE |
Within Auto Bank Statement process, a document type is needed for the following:
1) Document Type is needed for creating Variance
|
B9800100 Get Audit Information |
F0010 Company Constants | ||||
F0311 Accounts Receivable Ledger |