Functional Description
Purpose
This function is used to add a cache entry for the account netting header and it is part of the
Maintain Account Netting Header Cache function (B03B0177). The Account Netting MBFN (N03B0176), which
maintains and updates cache records for the account netting process, primarily uses this function. However,
this function is a standalone function and it can be called from other applications to directly
access the cache.
Setup Notes and Prerequisites
A valid job number is required in order to call this function.
Special Logic
None.
Technical Specification
Parameters
Item DescriptionI/OReq?Notes
JOBSmnJobNumberIYJob Number.
ACTNcDocumentActionIN
SYszSourceSystemCodeIN
VERSszInvoiceEntryVersionIN
VERSszVoucherEntryVersionIN
VERSszJournalEntryVersionIN
VERSszReceiptEntryVersionIN
VERSszPaymentEntryVersionIN
DOCmnDocumentNumberIN
DCTszDocumentTypeIN
KCOszDocumentCompanyIN
COszCompanyIN
AN8mnAddressNumberIN
PYRmnPayorNumberIN
DGJjdGLDateIN
DIVJjdDocumentDateIN
DSVJjdTaxServiceDateIN
PAAPmnTotalNettingAmountIN
BCRCszBaseCurrencyIN
CRRMcCurrencyModeIN
CRCDszTransactionCurrencyIN
CRRmnExchangeRateIN
CRR1mnTriangulationRate1IN
CRR2mnTriangulationRate2IN
CRCMcConversionMethodIN
EFTjdTransactionDateI N
PFAPmnForeignTotalNettingAmIN
MCUszBusinessUnitIN
GLCszGLOffsetIN
TXA1szTaxRateAreaIN
EXR1szTaxExplanationCodeIN
PTCszPaymentTermsIN
RYINcPaymentInstrumentIN
RMKszRemarkIN
ALPHszAlphaNameIN
PA8mnParentNumberIN
CTRYmnCenturyIN
FYmnFiscalYearIN
PNmnPeriodNumberIN
Related Tables
None.
Related Functions
None.
Processing
Validate required fields.
If validation fails,
Set error.
Else,
Set the account header cache key structure.
Initialize the account netting header cache.
If initialization failed,
Set error.
Else,
Load the cache fields to the cache data structure.
Add the record to the account netting header cache.
Endif.
Endif.
Perform function clean-up.
D03B0177A - Account Netting Header Add Cache Entry
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobNumber | JOBS | MATH_NUMERIC | REQ | INPUT |
The job number (work station ID) which executed the particular job. | ||||
cDocumentAction | ACTN | char | OPT | INPUT |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
szSourceSystemCode | SY | char | OPT | INPUT |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
szInvoiceEntryVersion | VERS | char | OPT | INPUT |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szVoucherEntryVersion | VERS | char | OPT | INPUT |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szJournalEntryVersion | VERS | char | OPT | INPUT |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szReceiptEntryVersion | VERS | char | OPT | INPUT |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szPaymentEntryVersion | VERS | char | OPT | INPUT |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
mnDocumentNumber | DOC | MATH_NUMERIC | OPT | INPUT |
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 | INPUT |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szDocumentCompany | KCO | char | OPT | INPUT |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
szCompany | CO | char | OPT | INPUT |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnPayorNumber | PYR | MATH_NUMERIC | OPT | INPUT |
The address book number of the person or company that sends the payment. | ||||
jdGLDate | DGJ | JDEDATE | OPT | INPUT |
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
| ||||
jdDocumentDate | DIVJ | JDEDATE | OPT | INPUT |
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
| ||||
jdTaxServiceDate | DSVJ | JDEDATE | OPT | INPUT |
A date that indicates when you purchased goods or services, or when you incurred a tax liability. | ||||
mnTotalNettingAmount | PAAP | MATH_NUMERIC | OPT | INPUT |
In the Accounts Payable system, the amount of the payment.
In the Accounts Receivable system, the amount of the receipt. This amount
| ||||
szBaseCurrency | BCRC | char | OPT | INPUT |
A code that represents the currency of the company for a transaction. For a foreign currency transaction, this is the currency code of the
| ||||
cCurrencyMode | CRRM | char | OPT | INPUT |
An option that specifies whether the system displays amounts in the domestic or foreign currency.
On
The system displays amounts in the
| ||||
szTransactionCurrency | CRCD | char | OPT | INPUT |
A code that identifies the currency of a transaction. | ||||
mnExchangeRate | CRR | MATH_NUMERIC | OPT | INPUT |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
mnTriangulationRate1 | CRR1 | MATH_NUMERIC | OPT | INPUT |
The exchange rate from the foreign currency of the invoice to the triangulation currency (leg 1). This rate applies when you use triangulation
| ||||
mnTriangulationRate2 | CRR2 | MATH_NUMERIC | OPT | INPUT |
The exchange rate from the triangulation currency to the domestic currency (leg 2). This rate applies when you use triangulation to calculate
| ||||
cConversionMethod | CRCM | char | OPT | INPUT |
A value that specifies which method to use when converting from one currency to another. Valid values are:
Y
Multiplier method. The
| ||||
jdTransactionDate | EFT | JDEDATE | OPT | INPUT |
The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost
| ||||
mnForeignTotalNettingAmount | PFAP | MATH_NUMERIC | OPT | INPUT |
The foreign amount to be paid on an A/P Payment run. | ||||
szBusinessUnit | MCU | char | OPT | INPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szGLOffset | GLC | char | OPT | INPUT |
A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates
| ||||
szTaxRateArea | TXA1 | char | OPT | INPUT |
A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter
| ||||
szTaxExplanationCode | EXR1 | char | OPT | INPUT |
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
| ||||
szPaymentTerms | PTC | char | OPT | INPUT |
A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date.
| ||||
cPaymentInstrument | RYIN | char | OPT | INPUT |
The user defined code (00/PY) that specifies how payments are made by the customer. For example:
C
Check
D
Draft
T
Electronic funds
| ||||
szRemark | RMK | char | OPT | INPUT |
A generic field that you use for a remark, description, name, or address. | ||||
szAlphaName | ALPH | char | OPT | INPUT |
The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter
| ||||
mnParentNumber | PA8 | MATH_NUMERIC | OPT | INPUT |
The address book number of the parent company. The system uses this number to associate a particular address with a parent company
| ||||
mnCentury | CTRY | MATH_NUMERIC | OPT | INPUT |
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
| ||||
mnFiscalYear | FY | MATH_NUMERIC | OPT | INPUT |
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
| ||||
mnPeriodNumber | PN | MATH_NUMERIC | OPT | INPUT |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
|
None |
None |