F03B23WriteFeeJournalHistoryDet

F03B23 - BF Write Fee Journal History Detail

Major Business Rule

Object Name: B03B0116

Parent DLL: CFIN

Location: Client/Server

Language: C

B03B0116 
F03B23 - BF Write Fee Journal History Detail


Functional Description


Purpose

This function will write a Fee Journal History Detail (F03B23) record.  It will then update the Date 

Last Fee Calculated field (LFCJ) with the Date Age As Of passed in.  The update is applied to the 

Customer Ledger Table (F03B11), and the A/R Check Detail Table (F03B14).


Setup Notes and Prerequisites

Only when the processing mode is a "1" (final mode), this program will update the Date Last Fee 

Calculated in F03B11 or F03B14. 


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

UKIDUnique KeyYes

RC5File Line IdentifierIYes

DOCDoc NumberIYes

DCTDocument TypeIYes

KCODocument CompanyIYes

SFXPay ItemIYes

DFEEAmount Delinquency FeeOYes

ASLCAmount Subject to Fin ChargeIYes

FFEEFor Amt Delinquency FeeONo

FSLCFor Amt Subject to Fin ChargeINo

CRRCurrency Convertion RateINo

CRRMCurrency ModeINo

AN8Customer NumberIYes

BCRCBase Currency CodeIYes

CRCDCurrency Code FromNo

PLYPolicy NumberIYes

LINDLine NumberIYes

ALPHAlpha NameIYes

COCompanyIYes

USERUser IDINoIf not passed in, the audit info will be left blank.

PIDProgram IDINoIf not passed in, the audit info will be left blank.

UPMJDate UpdatedINoIf not passed in, the audit info will be left blank.

UPMTTime Last UpdatedINoIf not passed in, the audit info will be left blank.

JOBNWorkstation IDINoIf not passed in, the audit info will be left blank.

MODEProcessing ModeINo

PYIDPayment IDIYesIf calculating the fee for the late payment.

RC5File Line IDIYesIf calculating the fee for the late payment.

DAGDate Age As OfIYes


Related Tables

F03B23A/R Fee Journal History Detail

F03B11Customer Ledger Table

F03B14A/R Check Detail Table


Related Business Functions


Processing

• Open the F03B23 table.
• If the Payment ID > 0
• 

Open the F03B14 table.
• Else
• 
Open the F03B11 table.
• End If
• Insert Record into the F03B23 Table.
• If the Payment ID > 0
• 
Update the field LFCJ in the F03B14 table with the Date Age As Of.
• Else
• 
Update the field LFCJ in the F03B11 table with the Date Age As Of.
• End If
• Close tables.


Data Structure

D03B0116 - F03b23 - Write Fee Journal History Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnUniqueKeyidInternalUKIDMATH_NUMERICNONENONE

This field is a unique number used to identify a record in a file.

mnFileLineIdentifierRC5MATH_NUMERICNONENONE

This field is used to create a unique key within a file and should be used with a next number approach.

mnDocumentNumberDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

szDocumentCompanyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

szPayItemSFXcharNONENONE

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 
multiple pay items, the numbers are sequential.

mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szBaseCurrentcyBCRCcharNONENONE

A code that represents the currency of the company for a transaction. For a foreign currency transaction, this is the currency code of the 
domestic side of the transaction.

mnPolicyNumberPLYMATH_NUMERICNONENONE

A number that the system assigns to each policy record to identify it.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szNameAlphaALPHcharNONENONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szProgramIdPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

jdDateUpdatedUPMJJDEDATENONENONE

The date that specifies the last update to the file record.

mnTimeLastUpdatedUPMTMATH_NUMERICNONENONE

The time that specifies when the program executed the last update to this record.

szWorkStationIdJOBNcharNONENONE

The code that identifies the work station ID that executed a particular job.

cProcessingModeMODEcharNONENONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

mnPaymentIDPYIDMATH_NUMERICNONENONE

A number that the system assigns from Next Numbers to identify and track payment records.

mnFileLineIdentifier50RC5MATH_NUMERICNONENONE

This field is used to create a unique key within a file and should be used with a next number approach.

jdDateageasofDAGJDEDATENONENONE

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 
invoice date, statement date, due date, or G/L date, which is defined by the value in the Date Aging Based On field (AGE), and then uses the 
value in the Aging Method field (AGEM) to determine which aging category to update. If you use method 1, the aging categories are defined in 
the Aging Days fields (CRDY, AGR1, AGR2, AGR3, AGR4, AGR5, AGR6, and AGR7) in the Accounts Receivable constants.  If you leave this 
field blank, the system uses the current date.  Note: The Sales Order Management system also uses this date for credit checks. Leave this 
field blank to ensure that the credit checks are always current.

mnAmountDelinquencyFeesDFEEMATH_NUMERICNONENONE

The total amount of the delinquency fee invoice records (RF). The system displays this information from either the A/R Statistical Summary 
table (F03B16S) or the A/R Statistical History table (F03B16), depending on the form. The system displays information from the F03B16S 
table on the Account Statistical Summary form and information from the F03B16 on the Periodic Statistics form.

mnAmntSubjectToFinCASLCMATH_NUMERICNONENONE

The sum of the open amount of the invoices on which the delinquency fee is based.  

mnFrgnAmountDelinquencyFeesFFEEMATH_NUMERICNONENONE

The foreign currency amount of a delinquency fee.

mnFrgnAmntSubjectToFinCFSLCMATH_NUMERICNONENONE

The sum of the past-due open invoices in the currency specified in the Currency Code field. This amount does not include invoices with 
document types RU, R1, or R5.

mnCurrencyConverRateOvCRRMATH_NUMERICNONENONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

cCurrencyModeCRRMcharNONENONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

szCurrencyCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

Related Functions

B03B0190 F03B11Z2 Invoice Outbound Interoperability
B03B0191 F03B13Z2/F03B14Z2 Receipt Outbound Interoperability
B9800100 Get Audit Information

Related Tables

F03B11 Customer Ledger
F03B14 Receipts Detail
F03B23 A/R Fee Journal History Detail