DBA Data[Home] [Help]

APPS.IGI_IAC_ADJ_AMORT_PKG dependencies on FA_DEPRN_DETAIL

Line 230: CURSOR c_fa_deprn_adjust_amt(cp_asset_id fa_deprn_detail.book_type_code%TYPE,

226: AND iifd.distribution_id = cp_distribution_id
227: AND iifd.active_flag IS NULL;
228:
229: -- cursor to get the fa_depreciation adjustment amount
230: CURSOR c_fa_deprn_adjust_amt(cp_asset_id fa_deprn_detail.book_type_code%TYPE,
231: cp_book_type_code fa_deprn_detail.book_type_code%TYPE,
232: cp_period_counter fa_deprn_detail.period_counter%TYPE)
233: IS
234: SELECT SUM(NVL(deprn_amount,0)) deprn_amount,

Line 231: cp_book_type_code fa_deprn_detail.book_type_code%TYPE,

227: AND iifd.active_flag IS NULL;
228:
229: -- cursor to get the fa_depreciation adjustment amount
230: CURSOR c_fa_deprn_adjust_amt(cp_asset_id fa_deprn_detail.book_type_code%TYPE,
231: cp_book_type_code fa_deprn_detail.book_type_code%TYPE,
232: cp_period_counter fa_deprn_detail.period_counter%TYPE)
233: IS
234: SELECT SUM(NVL(deprn_amount,0)) deprn_amount,
235: SUM(NVL(deprn_adjustment_amount,0)) deprn_adjustment_amount,

Line 232: cp_period_counter fa_deprn_detail.period_counter%TYPE)

228:
229: -- cursor to get the fa_depreciation adjustment amount
230: CURSOR c_fa_deprn_adjust_amt(cp_asset_id fa_deprn_detail.book_type_code%TYPE,
231: cp_book_type_code fa_deprn_detail.book_type_code%TYPE,
232: cp_period_counter fa_deprn_detail.period_counter%TYPE)
233: IS
234: SELECT SUM(NVL(deprn_amount,0)) deprn_amount,
235: SUM(NVL(deprn_adjustment_amount,0)) deprn_adjustment_amount,
236: SUM(NVL(deprn_reserve,0)) deprn_reserve

Line 237: FROM fa_deprn_detail

233: IS
234: SELECT SUM(NVL(deprn_amount,0)) deprn_amount,
235: SUM(NVL(deprn_adjustment_amount,0)) deprn_adjustment_amount,
236: SUM(NVL(deprn_reserve,0)) deprn_reserve
237: FROM fa_deprn_detail
238: WHERE book_type_code = cp_book_type_code
239: AND asset_id = cp_asset_id
240: AND period_counter = cp_period_counter;
241:

Line 281: l_fa_deprn_adj_amount fa_deprn_detail.deprn_adjustment_amount%TYPE;

277: l_new_adj_id igi_iac_transaction_headers.adjustment_id%TYPE;
278: l_rsvd_pc igi_iac_transaction_headers.period_counter%TYPE;
279: l_iac_asset_bal c_iac_asset_bal%ROWTYPE;
280:
281: l_fa_deprn_adj_amount fa_deprn_detail.deprn_adjustment_amount%TYPE;
282: l_iac_new_deprn_adj_amt igi_iac_asset_balances.deprn_amount%TYPE;
283: l_iac_new_deprn_period igi_iac_asset_balances.deprn_amount%TYPE;
284: l_iac_new_deprn_reserve igi_iac_asset_balances.deprn_reserve%TYPE;
285:

Line 318: l_deprn_amount fa_deprn_detail.deprn_amount%TYPE;

314: l_reval_rsv_ccid igi_iac_adjustments.code_combination_id%TYPE;
315: l_exists NUMBER;
316: l_ret BOOLEAN;
317:
318: l_deprn_amount fa_deprn_detail.deprn_amount%TYPE;
319: l_deprn_reserve fa_deprn_detail.deprn_reserve%TYPE;
320: l_prev_cost fa_books.cost%TYPE;
321: l_prev_salvage fa_books.salvage_value%TYPE;
322: l_curr_cost fa_books.cost%TYPE;

Line 319: l_deprn_reserve fa_deprn_detail.deprn_reserve%TYPE;

315: l_exists NUMBER;
316: l_ret BOOLEAN;
317:
318: l_deprn_amount fa_deprn_detail.deprn_amount%TYPE;
319: l_deprn_reserve fa_deprn_detail.deprn_reserve%TYPE;
320: l_prev_cost fa_books.cost%TYPE;
321: l_prev_salvage fa_books.salvage_value%TYPE;
322: l_curr_cost fa_books.cost%TYPE;
323: l_curr_Salvage fa_books.salvage_value%TYPE;

Line 511: -- fetch from fa_deprn_detail

507: p_string => 'Latest period counter: '||l_last_period_counter);
508:
509: -- Calculate the new revalued FA depreciation amount
510: IF (p_asset_iac_adj_info.deprn_adjustment_amount = 0) THEN
511: -- fetch from fa_deprn_detail
512: OPEN c_fa_deprn_adjust_amt(l_asset_id,
513: l_book_type_code,
514: l_last_period_counter);
515: FETCH c_fa_deprn_adjust_amt INTO l_deprn_amount,

Line 915: p_string => 'Fetching FA deprn detail values for IGI_IAC_FA_DEPRN');

911: FETCH c_get_fa_iac_deprn INTO l_fa_deprn_ytd, l_fa_deprn_period, l_fa_deprn_reserve;
912: IF c_get_fa_iac_deprn%NOTFOUND THEN
913: igi_iac_debug_pkg.debug_other_string(p_level => g_state_level,
914: p_full_path => l_path_name,
915: p_string => 'Fetching FA deprn detail values for IGI_IAC_FA_DEPRN');
916: l_fa_deprn_period := p_asset_iac_dist_info(l_fa_idx).deprn_adjustment_amount;
917: l_fa_deprn_ytd := p_asset_iac_dist_info(l_fa_idx).ytd_deprn;
918: l_fa_deprn_reserve := p_asset_iac_dist_info(l_fa_idx).deprn_reserve;
919: ELSE

Line 922: p_string => 'Fetching IAC FA deprn detail values for IGI_IAC_FA_DEPRN');

918: l_fa_deprn_reserve := p_asset_iac_dist_info(l_fa_idx).deprn_reserve;
919: ELSE
920: igi_iac_debug_pkg.debug_other_string(p_level => g_state_level,
921: p_full_path => l_path_name,
922: p_string => 'Fetching IAC FA deprn detail values for IGI_IAC_FA_DEPRN');
923: l_fa_deprn_period := l_fa_deprn_adj_amount;
924: l_fa_deprn_ytd := l_fa_deprn_ytd + l_fa_deprn_adj_amount;
925: l_fa_deprn_reserve := l_fa_deprn_reserve + l_fa_deprn_adj_amount;
926: END IF;