Search Results bonus_deprn_reserve_ccid
Overview
FA_DEPRN_DETAIL_H_MRC_V is a multi-reporting-currency (MRC) view owned by the APPS schema in Oracle E-Business Suite, belonging to the OFA - Assets (Fixed Assets) product. The view presents a reporting-currency–filtered projection of depreciation detail history, exposing the same set of columns as the underlying MRC base object while constraining rows to a single set of books. Its defining characteristic is the predicate applied to SET_OF_BOOKS_ID, which resolves at runtime from the session's client information rather than being supplied as a bind parameter:
WHERE FMCDD.SET_OF_BOOKS_ID = NVL(TO_NUMBER(SUBSTRB(USERENV('CLIENT_INFO'), 45, 10)), -1)
This construct is standard for MRC-enabled views in EBS. The CLIENT_INFO value is populated when the application initializes the session for a given set of books; the view then transparently returns only rows belonging to that reporting book. When no valid value is present, the NVL substitution of -1 guarantees an empty result set rather than an unintended cross-book read. The view is therefore a reporting and integration surface rather than a storage object, and it plays no role in the depreciation calculation engine itself.
Underlying Base Objects
The view is defined exclusively over a single documented base object:
- FA_MC_DEPRN_DETAIL_H (referenced through a SYNONYM) — the MRC depreciation detail history table that physically stores depreciation results per reporting set of books, keyed in part by SET_OF_BOOKS_ID.
The relationship is a straightforward one-to-one projection: every column in the view maps to a column of the same name in FA_MC_DEPRN_DETAIL_H. There is no join, aggregation, or derivation, and no other table, view, or function is referenced in the view text. The only transformation is the row-level filtering on SET_OF_BOOKS_ID driven by session context.
Key Columns
The column list is unchanged from the base table and covers the full depreciation detail picture, including the accounting flexfield references that users frequently search for by name.
- Identity and grouping: SET_OF_BOOKS_ID, BOOK_TYPE_CODE, ASSET_ID, PERIOD_COUNTER, DISTRIBUTION_ID, DEPRN_SOURCE_CODE, DEPRN_RUN_ID, EVENT_ID.
- Amounts: DEPRN_AMOUNT, YTD_DEPRN, DEPRN_RESERVE, COST, ADDITION_COST_TO_CLEAR, DEPRN_ADJUSTMENT_AMOUNT, DEPRN_RUN_DATE.
- Revaluation: REVAL_AMORTIZATION, REVAL_DEPRN_EXPENSE, REVAL_RESERVE, YTD_REVAL_DEPRN_EXPENSE.
- Bonus depreciation: BONUS_DEPRN_AMOUNT, BONUS_YTD_DEPRN, BONUS_DEPRN_RESERVE, BONUS_DEPRN_ADJUSTMENT_AMOUNT.
- Accounting flexfield references (CCIDs): DEPRN_EXPENSE_CCID, DEPRN_RESERVE_CCID, BONUS_DEPRN_EXPENSE_CCID, BONUS_DEPRN_RESERVE_CCID, REVAL_AMORT_CCID, REVAL_RESERVE_CCID.
- Reversal tracking: REVERSAL_EVENT_ID, REVERSAL_DATE.
DEPRN_RESERVE_CCID, the column named in the user's search, is the code combination identifier for the accumulated depreciation reserve account posted for the row. It is a numeric FK-style reference into GL_CODE_COMBINATIONS; resolving it to a readable account requires joining to that table on CODE_COMBINATION_ID. The companion BONUS_DEPRN_RESERVE_CCID serves the equivalent purpose for bonus reserve postings.
Common Use Cases and Queries
Typical uses include depreciation reconciliation, journal-line-to-subledger tie-outs, and reporting on reserve account assignments for a specific reporting book. Because the view self-filters on the session's set of books, queries run through a correctly initialized EBS session need no additional SET_OF_BOOKS_ID predicate, though adding one explicitly is advisable for ad hoc SQL run outside the application.
To identify reserve CCIDs used for a given asset:
SELECT asset_id, period_counter, deprn_reserve, deprn_reserve_ccidFROM apps.fa_deprn_detail_h_mrc_vWHERE asset_id = :p_asset_id AND book_type_code = :p_book;
To resolve the reserve account to a readable flexfield combination:
SELECT v.asset_id, v.period_counter, v.deprn_reserve, gcc.concatenated_segmentsFROM apps.fa_deprn_detail_h_mrc_v v, apps.gl_code_combinations_kfv gccWHERE v.deprn_reserve_ccid = gcc.code_combination_id;
In integration scenarios the view is commonly read by custom concurrent programs and extracts that must respect multi-currency books. The session-level filtering means such programs must explicitly initialize CLIENT_INFO for the target reporting set of books before querying; otherwise the -1 default returns no rows.
-
View: FA_DEPRN_DETAIL_H_MRC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OFA.FA_DEPRN_DETAIL_H_MRC_V, object_name:FA_DEPRN_DETAIL_H_MRC_V, status:VALID, product: OFA - Assets , implementation_dba_data: APPS.FA_DEPRN_DETAIL_H_MRC_V ,
-
View: FA_DEPRN_DETAIL_H_MRC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OFA.FA_DEPRN_DETAIL_H_MRC_V, object_name:FA_DEPRN_DETAIL_H_MRC_V, status:VALID, product: OFA - Assets , implementation_dba_data: APPS.FA_DEPRN_DETAIL_H_MRC_V ,
-
View: FA_DEPRN_DETAIL_MRC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OFA.FA_DEPRN_DETAIL_MRC_V, object_name:FA_DEPRN_DETAIL_MRC_V, status:VALID, product: OFA - Assets , implementation_dba_data: APPS.FA_DEPRN_DETAIL_MRC_V ,
-
View: FA_DEPRN_DETAIL_MRC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OFA.FA_DEPRN_DETAIL_MRC_V, object_name:FA_DEPRN_DETAIL_MRC_V, status:VALID, product: OFA - Assets , implementation_dba_data: APPS.FA_DEPRN_DETAIL_MRC_V ,