Search Results gl_access_set_id
Overview
APPS.FV_TBAL_BY_TS_V is a Treasury (ETRM/FFV) reporting view that presents beginning, period, and ending balances for General Ledger accounts, aggregated by treasury symbol. It joins Treasury fact data in FV_FACTS_TEMP to treasury symbols in FV_TREASURY_SYMBOLS to return, for each treasury symbol and Organization, the currency, account description, and the segment values of the associated accounting flexfield account.
The view is access-set aware. Rather than exposing data across all ledgers, it restricts results to the ledgers associated with the Data Access Set returned by FND_PROFILE.VALUE('GL_ACCESS_SET_ID'), enforced through the GL_ACCESS_SET_LEDGERS table. This makes it suitable for reporting contexts where row-level ledger security must be respected, and it is the reason queries referencing GL_ACCESS_SET_ID are commonly associated with this view and its underlying tables.
Underlying Base Objects
The view is defined over the following documented base objects:
- FV_TREASURY_SYMBOLS — source of ORG_ID, TREASURY_SYMBOL, and the treasury symbol identifier, and the join to the ledger.
- FV_FACTS_TEMP — source of the balance facts; filtered to FCT_INT_RECORD_CATEGORY = 'STBAL'.
- GL_ACCESS_SET_LEDGERS — the access set / ledger association table, joined to GL_ACCESS_SET_ID from the profile option.
- GL_LEDGERS — provides the CURRENCY_CODE and CHART_OF_ACCOUNTS_ID for the ledger.
- FND_FLEX_VALUES and FND_FLEX_VALUES_TL — resolve the account flex value and its language-specific description.
- FND_ID_FLEX_SEGMENTS and FND_SEGMENT_ATTRIBUTE_VALUES — restrict and validate the accounting flexfield structure and the GL_ACCOUNT segment attribute.
The joins are driven by the application 101 (General Ledger) flexfield code 'GL#' and the ledger chart of accounts, and all relevant objects are referenced through APPS synonyms.
Key Columns
- ORG_ID — the organization identifier for the returned row.
- TREASURY_SYMBOL — the treasury symbol being reported on.
- CURRENCY_CODE — functional currency of the associated ledger.
- DESCRIPTION — the flex value description from FND_FLEX_VALUES_TL.
- SGL_ACCT_NUMBER — the account code combination.
- BEGINNING_BALANCE — opening amount (FFT.AMOUNT).
- PERIOD_DR — period-to-date debit amount (FFT.AMOUNT1).
- PERIOD_CR — period-to-date credit amount (FFT.AMOUNT2).
- ENDING_BALANCE — computed as AMOUNT + AMOUNT1 − AMOUNT2.
- SEGMENT1 through SEGMENT30 — the individual accounting flexfield segment values.
Common Use Cases and Queries
The view is typically queried in Treasury balance reporting for the current access set. Because the access set is resolved internally via FND_PROFILE, no explicit access-set predicate is required in the query, though the profile must be initialized in the session.
Example: report balances for a treasury symbol
SELECT org_id, treasury_symbol, sgl_acct_number, currency_code,
beginning_balance, period_dr, period_cr, ending_balance
FROM apps.fv_tbal_by_ts_v
WHERE treasury_symbol = :p_symbol;
Example: inspect the flex segments for an account
SELECT treasury_symbol, segment1, segment2, segment3, ending_balance
FROM apps.fv_tbal_by_ts_v
WHERE sgl_acct_number = :p_account;
Example: verify which ledgers the current access set exposes
SELECT l.name, l.currency_code
FROM gl_ledgers l, gl_access_set_ledgers gsl
WHERE gsl.access_set_id = fnd_profile.value('GL_ACCESS_SET_ID')
AND l.ledger_id = gsl.ledger_id;
Because the view depends on the GL_ACCESS_SET_ID profile, results change with the user's assigned access set; troubleshooting missing rows generally begins by validating that profile value and the corresponding GL_ACCESS_SET_LEDGERS entries.
-
VIEW: APPS.FV_TBAL_BY_TS_V
12.2.2
-
VIEW: APPS.FV_TBAL_BY_TS_V
12.1.1
-
VIEW: APPS.FV_FACTS1_TB_V
12.2.2
-
APPS.AR_DEP_BAL_RPT_PKG SQL Statements
12.1.1
-
VIEW: APPS.FV_FACTS_TB_V
12.2.2
-
APPS.AP_BAL_PKG SQL Statements
12.2.2
-
APPS.AR_OBALREV_PKG SQL Statements
12.1.1
-
APPS.AR_DEP_BAL_RPT_PKG SQL Statements
12.2.2
-
APPS.AR_OBALREV_PKG SQL Statements
12.2.2
-
APPS.AR_ADV_BAL_SEL_CURR_PKG SQL Statements
12.1.1
-
APPS.AR_ADV_BAL_SEL_CURR_PKG SQL Statements
12.2.2
-
VIEW: APPS.FV_FACTS1_TB_V
12.1.1
-
APPS.AP_BAL_PKG SQL Statements
12.1.1
-
VIEW: APPS.FV_FACTS_TB_V
12.1.1
-
VIEW: APPS.FV_FACTS_TRX_V
12.1.1
-
VIEW: APPS.FV_FACTS_TRX_V
12.2.2
-
PACKAGE BODY: APPS.GL_COA_MIRROR_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_COA_MIRROR_PKG
12.1.1
-
PACKAGE BODY: APPS.AR_ADV_BAL_SEL_CURR_PKG
12.2.2
-
PACKAGE BODY: APPS.AR_ADV_BAL_SEL_CURR_PKG
12.1.1
-
PACKAGE BODY: APPS.AR_DEP_BAL_RPT_PKG
12.1.1
-
PACKAGE BODY: APPS.AR_DEP_BAL_RPT_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_BAL_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_BAL_PKG
12.2.2
-
PACKAGE BODY: APPS.AR_OBALREV_PKG
12.1.1
-
PACKAGE BODY: APPS.AR_OBALREV_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_COA_SEG_VAL_IMP_PUB
12.2.2
-
PACKAGE BODY: APPS.JA_CN_SI_BANK_EXPORT_PKG
12.2.2
-
APPS.GL_JE_SEGMENT_VALUES_PKG SQL Statements
12.1.1
-
APPS.GL_JE_SEGMENT_VALUES_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JA_CN_GL_BANK_EXP_REPORT_PKG
12.2.2
-
APPS.AR_DEP_BAL_RPT_PKG dependencies on FND_PROFILE
12.1.1
-
APPS.GL_PERIOD_STATUS_SYNC_PUB dependencies on FND_PROFILE
12.2.2
-
APPS.XLA_PERIOD_CLOSE_EXP_PKG dependencies on FND_PROFILE
12.1.1
-
APPS.FV_FACTS_TBAL_TRX dependencies on FND_PROFILE
12.2.2
-
APPS.IGC_UPGRADE_DATA_R12 dependencies on FND_PROFILE
12.2.2
-
APPS.FV_FACTS_TBAL_TRX dependencies on FND_PROFILE
12.1.1
-
APPS.AR_DEP_BAL_RPT_PKG dependencies on FND_PROFILE
12.2.2
-
APPS.XLA_PERIOD_CLOSE_EXP_PKG dependencies on FND_PROFILE
12.2.2
-
APPS.XLA_THIRD_PARTY_MERGE dependencies on FND_PROFILE
12.1.1
-
APPS.FV_FACTS_TBAL_TRX dependencies on GL_ACCESS_SET_SECURITY_PKG
12.1.1
-
APPS.FV_FACTS_TBAL_TRX dependencies on GL_ACCESS_SET_SECURITY_PKG
12.2.2
-
APPS.AP_BAL_PKG dependencies on FND_PROFILE
12.1.1
-
APPS.AP_BAL_PKG dependencies on FND_PROFILE
12.2.2
-
PACKAGE BODY: APPS.FUN_GL_BATCH_TRANSFER
12.2.2
-
APPS.IGC_UPGRADE_DATA_R12 dependencies on FND_PROFILE
12.1.1
-
PACKAGE BODY: APPS.GL_HISTORICAL_RATES_PKG
12.2.2
-
APPS.XLA_THIRD_PARTY_MERGE dependencies on FND_PROFILE
12.2.2
-
PACKAGE BODY: APPS.GL_PERIOD_STATUS_SYNC_PUB
12.2.2
-
APPS.FV_YE_CLOSE dependencies on FND_PROFILE
12.2.2