9253:
9254: if h_processing_period_counter >= h_amort_period_counter then
9255:
9256: --* Populate Group Asset information from global variables
9257: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9258: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
9259: h_find_flag_1 := TRUE;
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9254: if h_processing_period_counter >= h_amort_period_counter then
9255:
9256: --* Populate Group Asset information from global variables
9257: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9258: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
9259: h_find_flag_1 := TRUE;
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9256: --* Populate Group Asset information from global variables
9257: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9258: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
9259: h_find_flag_1 := TRUE;
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9257: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9258: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
9259: h_find_flag_1 := TRUE;
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9258: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
9259: h_find_flag_1 := TRUE;
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9259: h_find_flag_1 := TRUE;
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9260: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9261: h_period_num := fa_amort_pvt.t_period_num(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9262: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9263: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9264: h_group_cost := fa_amort_pvt.t_cost(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9265: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9266: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9267: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9268: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9269: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9270: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9271: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9272: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9280: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
9273: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9280: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
9281: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
9274: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9280: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
9281: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
9282: end if;
9275: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9280: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
9281: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
9282: end if;
9283: End Loop;
9276: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9280: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
9281: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
9282: end if;
9283: End Loop;
9284:
9277: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
9278: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
9279: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
9280: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
9281: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
9282: end if;
9283: End Loop;
9284:
9285: if (h_find_flag_1) then
9283: End Loop;
9284:
9285: if (h_find_flag_1) then
9286:
9287: For n IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9288:
9289: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
9290: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
9291:
9285: if (h_find_flag_1) then
9286:
9287: For n IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9288:
9289: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
9290: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
9291:
9292: h_find_flag_2 := TRUE;
9293: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9286:
9287: For n IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9288:
9289: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
9290: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
9291:
9292: h_find_flag_2 := TRUE;
9293: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9294: h_group_eofy_salvage_value := fa_amort_pvt.t_salvage_value(n);
9289: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
9290: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
9291:
9292: h_find_flag_2 := TRUE;
9293: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9294: h_group_eofy_salvage_value := fa_amort_pvt.t_salvage_value(n);
9295:
9296: end if;
9297:
9290: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
9291:
9292: h_find_flag_2 := TRUE;
9293: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9294: h_group_eofy_salvage_value := fa_amort_pvt.t_salvage_value(n);
9295:
9296: end if;
9297:
9298: End Loop;
9431: h_first_period_counter := NULL;
9432: h_temp_system_deprn_amount := 0;
9433: h_temp_system_bonus_deprn := 0;
9434:
9435: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9436: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9437: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9438:
9439: if h_first_period_counter is null then
9432: h_temp_system_deprn_amount := 0;
9433: h_temp_system_bonus_deprn := 0;
9434:
9435: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9436: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9437: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9438:
9439: if h_first_period_counter is null then
9440: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9433: h_temp_system_bonus_deprn := 0;
9434:
9435: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9436: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9437: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9438:
9439: if h_first_period_counter is null then
9440: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9441: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9436: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9437: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9438:
9439: if h_first_period_counter is null then
9440: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9441: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9442: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9443: end if;
9444:
9437: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9438:
9439: if h_first_period_counter is null then
9440: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9441: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9442: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9443: end if;
9444:
9445: if (p_log_level_rec.statement_level) then
9438:
9439: if h_first_period_counter is null then
9440: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9441: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9442: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9443: end if;
9444:
9445: if (p_log_level_rec.statement_level) then
9446: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++');
9443: end if;
9444:
9445: if (p_log_level_rec.statement_level) then
9446: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++');
9447: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m));
9448: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m));
9449: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9450: fa_amort_pvt.t_system_bonus_deprn_amount(m));
9451: end if;
9444:
9445: if (p_log_level_rec.statement_level) then
9446: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++');
9447: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m));
9448: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m));
9449: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9450: fa_amort_pvt.t_system_bonus_deprn_amount(m));
9451: end if;
9452:
9445: if (p_log_level_rec.statement_level) then
9446: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++');
9447: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m));
9448: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m));
9449: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9450: fa_amort_pvt.t_system_bonus_deprn_amount(m));
9451: end if;
9452:
9453: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9446: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++');
9447: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m));
9448: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m));
9449: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9450: fa_amort_pvt.t_system_bonus_deprn_amount(m));
9451: end if;
9452:
9453: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9454: h_temp_system_bonus_deprn := nvl(h_temp_system_bonus_deprn,0) + nvl(fa_amort_pvt.t_system_bonus_deprn_amount(m),0);
9449: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9450: fa_amort_pvt.t_system_bonus_deprn_amount(m));
9451: end if;
9452:
9453: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9454: h_temp_system_bonus_deprn := nvl(h_temp_system_bonus_deprn,0) + nvl(fa_amort_pvt.t_system_bonus_deprn_amount(m),0);
9455:
9456: if (p_log_level_rec.statement_level) then
9457: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-2)' , '+++');
9450: fa_amort_pvt.t_system_bonus_deprn_amount(m));
9451: end if;
9452:
9453: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9454: h_temp_system_bonus_deprn := nvl(h_temp_system_bonus_deprn,0) + nvl(fa_amort_pvt.t_system_bonus_deprn_amount(m),0);
9455:
9456: if (p_log_level_rec.statement_level) then
9457: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-2)' , '+++');
9458: fa_debug_pkg.add(l_calling_fn, 'h_first_period_counter', h_first_period_counter, p_log_level_rec => p_log_level_rec);