CompareF0902BalToF0911Trans

Compare F0902 Balances To F0911 Transactions

Minor Business Rule

Object Name: B0900176

Parent DLL: CFIN

Location: Client/Server

Language: C

Compare F0902 Balances to F0911 Transactions (B0900176/
D0900176A/D0900176B)

..This business function is used in R09705 Compare

Account Balances to Transactions Integrity Report

event rules and consists of the following ten functions.

..These functions are used to retrieve F0902 account

balance records (according to company/fiscal year/

period number range and object account range values

specified in T09705 processing options) and retrieve

and roll up amounts in matching F0911 records.

..The functions then compare

F0902 balances to the F0911 amounts found.  If any

differences are found, the exception record is written

to the workfile F09UI016 (using buffered inserts) for

later printing on the R09705 report.  The records are

made unique for the current UBE job by 3 keys included

in the primary index... user id, date, and time.

..After printing, the workfile

records for the current UBE job are deleted by those

same user id, date, time keys in the delete function.

..If an additional processing option is on, obsolete

period balances will be cleared in F0902 account balance

records if zero F0911 records (meeting the period number

data selection specified in processing options) are found

for the F0902 record and if the ledger type does not

allow direct balances to the F0902 account balance

record.  The function uses record locking when updating

the F0902 record.

..Another processing option allows the user to exclude

accounts from being processed in this report if they

have an inactive posting edit code in F0901.

.

1.  CompareF0902BalToF0911Trans

2.  DeleteF09UI016WorkFileRecords

3.  I0900176_LoadF0902SelectStructure

4.  I0900176_GetNewLedgerInformation

5.  I0900176_GetNewAccountInformation

6.  I0900176_SumTransactionsForAcctBalCompare

7.  I0900176_LoadF0911SelectStructure

8.  I0900176_CompareAccumulatedBalances

9.  I0900176_InsertF09UI016OutOfBalException

10. I0900176_ClearF0902ObsoleteBalances



Data Structure

D0900176A - Compare F0902 Balances To F0911 Transactions

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyCOcharREQINPUT

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.

szLedgerTypeLTcharREQINPUT

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

mnBeginPeriodNumberPNMATH_NUMERICREQINPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnEndingPeriodNumberPNMATH_NUMERICREQINPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

szBusinessUnitMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szBeginObjectOBJcharREQINPUT

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szEndingObjectOBJcharREQINPUT

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

cExcludeInactiveAccountsEV02charREQINPUT

An option that specifies the type of processing for an event.

szAmountLedgerForUnitsLTcharREQINPUT

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szFiscalYearStringFYOWcharREQINPUT

A four-digit number that identifies the fiscal year. You can enter a number in this field or leave the field blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. For 
example, a fiscal year begins October 1, 2005, and ends September 30, 2006. The end of the first period is October 31, 2005. Specify the 
year 2005 rather than 2006.

szLanguagePreferenceLNGPcharREQINPUT

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

szUserIDUSERcharREQINPUT

The code that identifies a user profile.

jdDateUpdatedUPMJJDEDATEREQINPUT

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

mnTimeUpdatedUPMTMATH_NUMERICREQINPUT

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

szWorkStationIDJOBNcharREQINPUT

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

szProgramIDPIDcharREQINPUT

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.

cClearInvalidBalancesEV01charREQINPUT

An option that specifies the type of processing for an event.

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
B0000580 Convert String to Math Numeric
XX0901 Validate Account Number

Related Tables

F0025 Ledger Type Master File
F0901 Account Master
F0901D Account Master - Alternate Description
F0902 Account Balances
F0911 Account Ledger
F09UI016 Account Balance Compare Exceptions
DeleteF09UI016WorkFileRecords

DeleteF09UI016WorkFileRecords

Compare F0902 Balances To F0911 Transactions

Minor Business Rule

Object Name: B0900176

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D0900176B - Delete F09UI016 Balance Compare Exceptions

Parameter NameData ItemData TypeReq/OptI/O/Both
jdDateUpdatedUPMJJDEDATEREQINPUT

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

mnTimeUpdatedUPMTMATH_NUMERICREQINPUT

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

szUserIDUSERcharREQINPUT

The code that identifies a user profile.

Related Functions

B0000083 Convert Math Numeric to String with Left Zero Pad
B0000580 Convert String to Math Numeric
XX0901 Validate Account Number

Related Tables

F0025 Ledger Type Master File
F0901 Account Master
F0901D Account Master - Alternate Description
F0902 Account Balances
F0911 Account Ledger
F09UI016 Account Balance Compare Exceptions