Search Results enable_avgbal_flag
Overview
GL_SETS_OF_BOOKS_V is a backward-compatibility view owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It exposes the attributes of a General Ledger ledger (formerly termed a "set of books") by projecting columns from the GL_LEDGERS table and joining to a small set of supporting configuration tables. The view preserves the pre-R12 SET_OF_BOOKS API surface so that existing reports, interfaces, and customizations continue to function after the multi-organization architecture replaced sets of books with the ledger concept.
Because the view is a read-only projection, it plays no role in transaction processing. Its value lies in reporting and integration: subledger reconciliation reports, custom concurrent programs, and third-party extracts that reference SOB_ID, SUSPENSE_CCID, or CURRENCY_CODE can query GL_SETS_OF_BOOKS_V without modification. In R12 the LEDGER_ID column is aliased to SET_OF_BOOKS_ID, reinforcing this compatibility role.
Underlying Base Objects
The view text selects primarily from GL_LEDGERS (synonym LGR), the single source of truth for ledger definitions. It joins the following documented base objects:
- FND_ID_FLEX_STRUCTURES_TL — supplies ID_FLEX_STRUCTURE_NAME, exposed as CHART_OF_ACCOUNTS_NAME, matched on CHART_OF_ACCOUNTS_ID.
- GL_PERIOD_TYPES — supplies USER_PERIOD_TYPE for the ledger's ACCOUNTED_PERIOD_TYPE.
- GL_SUSPENSE_ACCOUNTS — supplies CODE_COMBINATION_ID, exposed as SUSPENSE_CCID.
- GL_TRANSACTION_CALENDAR — referenced via TRANSACTION_CALENDAR_ID.
- GL_NET_INCOME_ACCOUNTS — referenced for the net income account mapping.
- GL_DAILY_CONVERSION_TYPES — referenced for daily translation rate configuration.
All referenced objects are synonyms resolving to their APPLSYS base tables. The join to GL_SUSPENSE_ACCOUNTS is the key relationship for the common search term suspense_ccid: it maps a ledger to the code combination used to hold unbalanced or suspense journal lines.
Key Columns
- SET_OF_BOOKS_ID — alias of LGR.LEDGER_ID; the primary identifier.
- SUSPENSE_CCID — the code combination ID (from GL_SUSPENSE_ACCOUNTS) used for suspense posting when SUSPENSE_ALLOWED_FLAG is enabled.
- CURRENCY_CODE, CHART_OF_ACCOUNTS_ID, CHART_OF_ACCOUNTS_NAME, PERIOD_SET_NAME — core accounting configuration.
- SUSPENSE_ALLOWED_FLAG — indicates whether suspense posting is permitted for the ledger.
- RET_EARN_CODE_COMBINATION_ID, RES_ENCUMB_CODE_COMBINATION_ID, NET_INCOME_CODE_COMBINATION_ID, CUM_TRANS_CODE_COMBINATION_ID — reserved account code combinations.
- LATEST_OPENED_PERIOD_NAME, FUTURE_ENTERABLE_PERIODS_LIMIT, LATEST_ENCUMBRANCE_YEAR — period control attributes.
- ENABLE_AVGBAL_FLAG, CONSOLIDATION_SOB_FLAG, TRANSLATE_EOD_FLAG — aliases of the R12 ledger flags.
- ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield context columns.
Common Use Cases and Queries
The predominant use is retrieving ledger configuration, especially the suspense account, for reconciliation and validation logic. A typical query resolving the suspense code combination is:
SELECT sob.set_of_books_id, sob.name, sob.suspense_ccid, gcc.concatenated_segments suspense_account FROM gl_sets_of_books_v sob, gl_code_combinations_kfv gcc WHERE sob.suspense_ccid = gcc.code_combination_id;
Other recurring scenarios include validating that suspense posting is active before loading journals, extracting all ledgers for a multi-ledger consolidations report, and mapping a legacy SOB_ID to its currency and chart of accounts during migration. Because the object is a view without DML capability, all access is read-only. Reports should join GL_SETS_OF_BOOKS_V to GL_CODE_COMBINATIONS_KFV or FND_FLEX_VALUES_VL to translate CCID values into human-readable account strings, and should filter by SET_OF_BOOKS_ID when a specific ledger is targeted.
-
View: GL_SETS_OF_BOOKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS_V, object_name:GL_SETS_OF_BOOKS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_SETS_OF_BOOKS_V ,
-
View: GL_SETS_OF_BOOKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS_V, object_name:GL_SETS_OF_BOOKS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_SETS_OF_BOOKS_V ,
-
View: GL_LEDGERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_V ,
-
View: OKL_GL_SETS_OF_BOOKS_UV
12.2.2
product: OKL - Lease and Finance Management , implementation_dba_data: Not implemented in this database ,
-
View: GL_LEDGERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_V ,
-
VIEW: APPS.GL_LEDGERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS_V
12.1.1
-
VIEW: APPS.GL_LEDGERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID,
-
VIEW: APPS.GL_LEDGERS_V
12.1.1
-
VIEW: APPS.GL_LEDGERS_V
12.2.2
-
VIEW: APPS.GL_SETS_OF_BOOKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS_V, object_name:GL_SETS_OF_BOOKS_V, status:VALID,
-
View: OKL_GL_SETS_OF_BOOKS_UV
12.1.1
product: OKL - Leasing and Finance Management , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.GL_SETS_OF_BOOKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS_V, object_name:GL_SETS_OF_BOOKS_V, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS_V
12.2.2
-
eTRM - SQLGL Tables and Views
12.2.2
description: This table contains the tracking information that Golden Gate will use to launch Journal Import. ,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,