DecrementLevelOfDetail

Trial Balance Accumulate LOD

Minor Business Rule

Object Name: B0900068

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function is designed to decrement the Account level Of Detail parameter of the data structure by 

"1".


Setup Notes and Prerequisites

This function will actually work for any character value that needs to be decremented by "1".  Since 

the Account level of Detail (Data Dictionary Item: LDA) is a character field, ER cannot perform 

arithmetic operations on it.  This function will convert the character value to an integer, subtract "1" 

from it and the convert it back to a character.


Special Logic



Technical Specification

Convert level Of Detail to integer

Subtract "1" from Level of Detail

Convert Level of Detail to character

Data Structure

D0900068C - Trial Balance Decrement Level of Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
cLevelOfDetailLDAcharNONENONE

A number used to summarize and classify accounts in the general ledger by level of detail. Level 9 is the most detailed and Level 1 is the 
least detailed. Levels 1 and 2 are reserved for company and business unit totals. Levels 8 and 9 are reserved for job cost posting accounts in 
the Job Cost system. Examples of the other levels are: 3 Assets, Liabilities, Revenues, Expenses   4 Current Assets, Fixed Assets, Current 
Liabilities, and so on   5 Cash, Accounts Receivable, Inventories, Salaries, and so on 6 Petty Cash, Cash in Banks, Trade Accounts Receivable, 
and so on   7 Petty Cash - Dallas, Petty Cash - Houston, and so on 8 More Detail   9 More Detail  Do not skip levels of detail when you assign a 
level of detail to an account. Nonsequential levels of detail cause rollup errors in financial reports.

Related Functions

B0000034 Concatenate Object and Subsidiary
B0900008 Return Account Balance
B0900065 Level of Detail Totaling Processes
XX0901 Validate Account Number

Related Tables

None
RetrieveAmount

RetrieveAmount

Trial Balance Accumulate LOD

Minor Business Rule

Object Name: B0900068

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function is used to retrieve stored values found in the Level Of Detail cache created by the 
B0900068 Update Amount BSFN.


Setup Notes and Prerequisites

This function should be used in conjunction with the B0900068 Update Amount BSFN.  The suggested 

process is to use Update Amount to calculate and store an account's balance into a Level Of Detail cache, 

and then use this function, Retrieve Amount to unload the Level Of Detail cache when program logic 

dictates.  The ledger Type and Currency Code parameters are required, they are keys to the Level Of 

Detail cache.


Special Logic



Technical Specification

Convert Level Of Detail parameter to an integer
Load data structure to B0900065

Call Retrieve LOD Balances (B0900065, caching BSFN)

Unload BSFN data structure into Return parameters

Data Structure

D0900068B - Trial Balance Retrieve Amount

Parameter NameData ItemData TypeReq/OptI/O/Both
szLedger1LTcharNONENONE

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.

szLedger2LTcharNONENONE

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.

mnAmount1AAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnAmount2AAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

szDescriptionDESCcharNONENONE

A description, remark, name, or address.

cLevelOfDetailLDAcharNONENONE

A number used to summarize and classify accounts in the general ledger by level of detail. Level 9 is the most detailed and Level 1 is the 
least detailed. Levels 1 and 2 are reserved for company and business unit totals. Levels 8 and 9 are reserved for job cost posting accounts in 
the Job Cost system. Examples of the other levels are: 3 Assets, Liabilities, Revenues, Expenses   4 Current Assets, Fixed Assets, Current 
Liabilities, and so on   5 Cash, Accounts Receivable, Inventories, Salaries, and so on 6 Petty Cash, Cash in Banks, Trade Accounts Receivable, 
and so on   7 Petty Cash - Dallas, Petty Cash - Houston, and so on 8 More Detail   9 More Detail  Do not skip levels of detail when you assign a 
level of detail to an account. Nonsequential levels of detail cause rollup errors in financial reports.

szCurrencyCRCDcharNONENONE

A code that identifies the currency of a transaction. 

szLongAccountNumberANIcharNONENONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

mnVarianceAmountAAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnPeriodAmount1AAMATH_NUMERICNONENONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

cPostingEditPECcharNONENONE

A code that controls G/L posting and account balance updates in the Account Master table (F0901). Valid values are: Blank Allows all 
posting. Posts subledgers in detailed format for every account transaction. Does not require subledger entry. B Only allows posting to budget 
ledger types starting with B or J. I Inactive account. No posting allowed. L Subledger and type are required for all transactions. Posts subledgers in 
detailed format for every account. The system stores the subledger and type in the Account Ledger (F0911) and Account Balances (F0902) 
tables. If you want to report on subledgers in the Financial Reporting feature, use this code. M Machine-generated transactions only (post 
program creates offsets). N  Non-posting. Does not allow any post or account balance updates. In the Job Cost system, you can still post budget 
quantities. S Subledger and type are required for all transactions. Posts subledgers in summary format for every transaction. The system 
stores the subledger detail in the Account Ledger table. This code is not valid for budget entry programs. U Unit quantities are required for all 
transactions. X Subledger and type must be blank for all transactions. Does not allow subledger entry for the account.

mnPeriodAmount2AN06MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnPeriodVarianceAN06MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

Related Functions

B0000034 Concatenate Object and Subsidiary
B0900008 Return Account Balance
B0900065 Level of Detail Totaling Processes
XX0901 Validate Account Number

Related Tables

None
UpdateAmount

UpdateAmount

Trial Balance Accumulate LOD

Major Business Rule

Object Name: B0900068

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose



Setup Notes and Prerequisites


Special Logic



Technical Specification

Convert Level Of Detail to an integer
If CumPeriod Flag is "1" or "3"

Data Structure

D0900068A - Trial Balance Update Amount

Parameter NameData ItemData TypeReq/OptI/O/Both
szAccountIdAIDcharNONENONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

szLedger1LTcharNONENONE

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.

szLedger2LTcharNONENONE

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.

szAdditionalLedger1LTcharNONENONE

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.

szAdditionalLedger2LTcharNONENONE

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.

jdDate1DGJJDEDATENONENONE

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 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

jdDate2DGJJDEDATENONENONE

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 
assign to the company record. The system compares the date that you enter on the transaction to the fiscal date pattern assigned to the 
company to retrieve the appropriate fiscal period number, as well as to perform date validations.

szSubledgerSBLcharNONENONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharNONENONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szCurrencyCRCDcharNONENONE

A code that identifies the currency of a transaction. 

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.

cPostingEditCodePECcharNONENONE

A code that controls G/L posting and account balance updates in the Account Master table (F0901). Valid values are: Blank Allows all 
posting. Posts subledgers in detailed format for every account transaction. Does not require subledger entry. B Only allows posting to budget 
ledger types starting with B or J. I Inactive account. No posting allowed. L Subledger and type are required for all transactions. Posts subledgers in 
detailed format for every account. The system stores the subledger and type in the Account Ledger (F0911) and Account Balances (F0902) 
tables. If you want to report on subledgers in the Financial Reporting feature, use this code. M Machine-generated transactions only (post 
program creates offsets). N  Non-posting. Does not allow any post or account balance updates. In the Job Cost system, you can still post budget 
quantities. S Subledger and type are required for all transactions. Posts subledgers in summary format for every transaction. The system 
stores the subledger detail in the Account Ledger table. This code is not valid for budget entry programs. U Unit quantities are required for all 
transactions. X Subledger and type must be blank for all transactions. Does not allow subledger entry for the account.

szLongAccountNumberANIcharNONENONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

szBusinessUnitMCUcharNONENONE

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.

szObjectOBJcharNONENONE

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.

szSubsidiarySUBcharNONENONE

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

szDescriptionDESCcharNONENONE

A description, remark, name, or address.

szObjSubGLG6AA14charNONENONE

This item is used scrub Specification Data fields that are 14 character alpha fields.

szObjSubGLG12AA14charNONENONE

This item is used scrub Specification Data fields that are 14 character alpha fields.

cLevelOfDetailLDAcharNONENONE

A number used to summarize and classify accounts in the general ledger by level of detail. Level 9 is the most detailed and Level 1 is the 
least detailed. Levels 1 and 2 are reserved for company and business unit totals. Levels 8 and 9 are reserved for job cost posting accounts in 
the Job Cost system. Examples of the other levels are: 3 Assets, Liabilities, Revenues, Expenses   4 Current Assets, Fixed Assets, Current 
Liabilities, and so on   5 Cash, Accounts Receivable, Inventories, Salaries, and so on 6 Petty Cash, Cash in Banks, Trade Accounts Receivable, 
and so on   7 Petty Cash - Dallas, Petty Cash - Houston, and so on 8 More Detail   9 More Detail  Do not skip levels of detail when you assign a 
level of detail to an account. Nonsequential levels of detail cause rollup errors in financial reports.

cCumPeriodEV01charNONENONE

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

cCalculationMethodEV01charNONENONE

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

mnPeriodNumber1PNMATH_NUMERICNONENONE

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.

mnFiscalYear1FYMATH_NUMERICNONENONE

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 
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, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnCentury1CTRYMATH_NUMERICNONENONE

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 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnPeriodNumber2PNMATH_NUMERICNONENONE

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.

mnFiscalYear2FYMATH_NUMERICNONENONE

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 
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, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnCentury2CTRYMATH_NUMERICNONENONE

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 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

Related Functions

B0000034 Concatenate Object and Subsidiary
B0900008 Return Account Balance
B0900065 Level of Detail Totaling Processes
XX0901 Validate Account Number

Related Tables

None