Functional Description
Purpose
This business function will update an existing record or insert a new record to the F03B112 file for 
adjustments/revisions made to a  posted invoice pay item. 
The purpose of this business function is to write a new record to the F03B112 when 
adjustments/revisions are made to a posted pay item on an invoice.
The document number will be the same as the invoice, and the pay item suffix will be assigned by the 
system.
The new F03B112 record will include all the fields that the post program needs to post the invoice 
pay item.  Additionally, the amounts on this new record will be the difference between the original and 
new amounts of the invoice.
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
Parameters
ItemDescriptionI/OReq?Notes
KCO    szCompanykeyIYPart of key to F03B112
DOC    mnDocumentNumberIYPart of key to F03B112
DCT    szDocumentTypeIYPart of key to F03B112
SFX    szPayItemIYPart of key to F03B112
SFXE   mnPayitemextensionnumberIYPart of key to F03B112
OKCO   szCompanyKeyOriginalIN
ODOC   mnOriginalDocNumIN
ODCT   szOriginalDocumentTypeIN
OSFX   szOriginaldocpayitemIN
FY     mnFiscalYearIN
CTRY   mnCenturyIN
PN     mnPeriodNumGeneralLedgeIN
CO     szCompanyIN
DGJ    jdDateforGLandVoucherJuliaIN
DIVJ   jdDateInvoicejIN
ICUT   szBatchTypeIN
ICU    mnBatchNumberIN
DICJ   jdDateBatchJulianIN
AN8    mnAddressnumberIN
PA8    mnAddressNumberParentIN
POST   cGLPostedCodeIN
PST    cPayStatusCodeIN
AG     mnAmountGrossIN
AAP    mnAmountOpenIN
ADSC   mnAmtDiscountavailableIN
ADSA   mnAmountDiscountTakenIN
ATXA   mnAmountTaxableIN
ATXN   mnAmountTaxExemptIN
STAM   mnAmtTax2IN
DMCD   cDomesticEntrywMultCurrencyIN
CRRM   cCurrencyModeIN
CRCD   szCurrencyCodeFromIN
CRR    mnCurrencyConverRateovIN
ACR    mnAmountCurrencyIN
FAP    mnAmountForeignOpenIN
CDS    mnForeignDiscountAvailIN
CDSA   mnForeignDiscountTakenIN
CTXA   mnForeignTaxableAmountIN
CTXN   mnForeignTaxExemptIN
CTAM   mnForeignTaxAmountIN
TXA1   szTaxArea1IN
PTC    szPaymentTermsCodeIN
DDJ    jdDateDueIN
DDNJ   jdDateDiscountDueJulianIN
USER   szUserIdIN
UPMJ   jdDateUpdatedIN
UPMT   mnTimeLastUpdatedIN
JOBN   szWorkStationIdIN
RMK    szNameRemarkIN
GLC    szGLOffsetIN
EXR1   szTaxExplanationCode1IN
DSVJ   jdDateServiceTaxIN
ITM    mnIdentifierShortItemIN
MCU    szBusinessUnitIN
ODDJ   jdOriginalDateNetDueIN
OAG    mnAmountOriginalGrossIN
ARE    szAdjustmentReasonCodeIN
BCRC   szCurrencyCodeBaseIN
Related Tables 
F03B112A/R Adjustment Ledger
 
Related Business Functions
None.
 
Processing 
1. Open file.
2. Determine if record exists in F03B112.
3. If record exists, update record.
4. If new, add  the record to the F03B112 table.
5. Close file. 
^
D03B0021 - F03B112 Create Invoice Revisions
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| 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, 
  | ||||
| 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 
  | ||||
| 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 
  | ||||
| mnPayitemextensionnumber | SFXE | MATH_NUMERIC | NONE | 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.  | ||||
| szCompanyKeyOriginal | OKCO | char | NONE | NONE | 
A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.  | ||||
| mnOriginalDocNum | ODOC | MATH_NUMERIC | NONE | NONE | 
A number that is used in conjunction with the values in the ODCT and OKCO fields to identify a transaction.  | ||||
| szOriginalDocumentType | ODCT | char | NONE | NONE | 
A user defined code (system 00, type DT) that identifies the origin and purpose of the original document.  | ||||
| szOriginaldocpayitem | OSFX | char | NONE | NONE | 
The number that identifies a specific pay item associated with the document.  | ||||
| mnFiscalYear | FY | MATH_NUMERIC | NONE | NONE | 
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
  | ||||
| mnCentury | CTRY | MATH_NUMERIC | NONE | NONE | 
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19 
  | ||||
| mnPeriodNumGeneralLedge | PN | MATH_NUMERIC | NONE | NONE | 
A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
  | ||||
| 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 
  | ||||
| jdDateforGLandVoucherJulia | DGJ | JDEDATE | NONE | NONE | 
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 
  | ||||
| jdDateInvoicej | DIVJ | JDEDATE | NONE | NONE | 
The date that either you or the system assigns to an invoice or voucher. This can be either the date of the supplier's invoice to you or the 
  | ||||
| szBatchType | ICUT | char | NONE | NONE | 
A code that specifies the system and type of transactions entered in a batch. The system assigns the value when you enter a transaction. 
  | ||||
| mnBatchNumber | ICU | MATH_NUMERIC | NONE | NONE | 
A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
  | ||||
| jdDateBatchJulian | DICJ | JDEDATE | NONE | NONE | 
The date of the batch. If you leave this field blank, the system date is used.  | ||||
| mnAddressnumber | AN8 | MATH_NUMERIC | NONE | NONE | 
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
  | ||||
| mnAddressNumberParent | PA8 | MATH_NUMERIC | NONE | NONE | 
The address book number of the parent company. The system uses this number to associate a particular address with a parent company 
  | ||||
| cGLPostedCode | POST | char | NONE | NONE | 
A code the system uses to determine whether a transaction is available for the post process. Valid codes 
  | ||||
| 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 
  | ||||
| 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.  | ||||
| mnAmtDiscountavailable | ADSC | MATH_NUMERIC | NONE | 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 
  | ||||
| mnAmountDiscountTaken | ADSA | MATH_NUMERIC | NONE | NONE | 
The amount by which an invoice or voucher is reduced if paid by a specific date. The discount taken does not have to be the same as the 
  | ||||
| mnAmountTaxable | ATXA | MATH_NUMERIC | NONE | NONE | 
The amount on which taxes are assessed.  | ||||
| mnAmountTaxExempt | ATXN | MATH_NUMERIC | NONE | NONE | 
The amount upon which taxes are not assessed. This is the portion of the transaction not subject to sales, use, or VAT taxes because the 
  | ||||
| mnAmtTax2 | 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).  | ||||
| cDomesticEntrywMultCurrency | DMCD | char | NONE | NONE | 
An entry in this field indicates a domestic voucher or invoice was entered with a multi-currency distribution.  | ||||
| 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 
  | ||||
| szCurrencyCodeFrom | CRCD | char | NONE | NONE | 
A code that identifies the currency of a transaction.  | ||||
| mnCurrencyConverRateov | CRR | MATH_NUMERIC | NONE | NONE | 
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount. 
The number in this field 
  | ||||
| mnAmountCurrency | 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.  | ||||
| mnForeignDiscountAvail | CDS | MATH_NUMERIC | NONE | NONE | 
The foreign amount of the discount available as opposed to the amount of the discount actually taken.  | ||||
| mnForeignDiscountTaken | CDSA | MATH_NUMERIC | NONE | NONE | 
The amount of the discount, expressed in the foreign currency of the transaction, that was taken or granted during the application of a 
  | ||||
| mnForeignTaxableAmount | CTXA | MATH_NUMERIC | NONE | NONE | 
That portion of the sale that is subject to tax in foreign currency.  | ||||
| mnForeignTaxExempt | CTXN | MATH_NUMERIC | NONE | NONE | 
The foreign amount associated with this document which is not subject to sales, use or value-added tax due to the nature of the transaction 
  | ||||
| mnForeignTaxAmount | CTAM | MATH_NUMERIC | NONE | NONE | 
The tax amount in foreign currency. This can be the sales, use, or VAT tax.  | ||||
| szTaxArea1 | TXA1 | char | NONE | NONE | 
A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
  | ||||
| szPaymentTermsCode | PTC | char | NONE | NONE | 
A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
  | ||||
| jdDateDue | DDJ | JDEDATE | NONE | NONE | 
In Accounts Receivable, the date that the net payment is due.
In Accounts Payable, the date that the payment is due to receive a discount 
  | ||||
| jdDateDiscountDueJulian | DDNJ | JDEDATE | NONE | NONE | 
In the Accounts Receivable system, the date that the invoice must be paid to receive the discount. The system calculates the discount due 
  | ||||
| szUserId | USER | char | NONE | NONE | 
The code that identifies a user profile.  | ||||
| jdDateUpdated | UPMJ | JDEDATE | NONE | NONE | 
The date that specifies the last update to the file record.  | ||||
| mnTimeLastUpdated | UPMT | MATH_NUMERIC | NONE | NONE | 
The time that specifies when the program executed the last update to this record.  | ||||
| szWorkStationId | JOBN | char | NONE | NONE | 
The code that identifies the work station ID that executed a particular job.  | ||||
| szNameRemark | RMK | char | NONE | NONE | 
A generic field that you use for a remark, description, name, or address.  | ||||
| szGLOffset | GLC | char | NONE | NONE | 
A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
  | ||||
| szTaxExplanationCode1 | EXR1 | char | NONE | NONE | 
A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
  | ||||
| jdDateServiceTax | DSVJ | JDEDATE | NONE | NONE | 
A date that indicates when you purchased goods or services, or when you incurred a tax liability.  | ||||
| mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE | 
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
  | ||||
| szBusinessUnit | MCU | char | NONE | NONE | 
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
  | ||||
| jdOriginalDateNetDue | ODDJ | JDEDATE | NONE | NONE | 
On a posted invoice, when the due date is changed, a F03B112 record will be written to store and track the original due date for cash 
  | ||||
| mnAmountOriginalGross | OAG | MATH_NUMERIC | NONE | NONE | 
When an adjustment is made to an invoice, the gross amount of the pay item before the adjustment.  The original gross amount is stored in 
  | ||||
| szAdjustmentReasonCode | ARE | char | NONE | NONE | 
A code that identifies the reason that an invoice pay item was voided.  | ||||
| szCurrencyCodeBase | BCRC | char | OPT | NONE | 
A code that represents the currency of the company for a transaction. For a foreign currency transaction, this is the currency code of the 
  | ||||
| cARPostToCashManagement | ISTC | char | OPT | NONE | 
A code that specifies whether the transaction is included in the the A/R Statistical History table (F03B16). Valid values are:
Blank
The 
  | ||||
| mnNonRecoverableTaxAmt | NRTA | MATH_NUMERIC | OPT | NONE | 
The portion of the tax amount for which you cannot take a credit.  | ||||
| mnForeignNonRecoverableTax | FNRT | MATH_NUMERIC | OPT | NONE | 
The portion of the foreign tax amount for which you cannot take a credit.  | ||||
| mnAmountToDistribute | ATAD | MATH_NUMERIC | OPT | NONE | 
The amount of the transaction that must be posted to the general ledger for the transaction to balance. Depending on the tax information 
  | ||||
| mnForeignAmtToDistribute | CTAD | MATH_NUMERIC | OPT | NONE | 
For a journal entry with VAT, this represents the amount to be expensed in foreign currency.  | ||||
| None | 
| F03B112 Invoice Revisions |