8959:
8960: if h_processing_period_counter >= h_amort_period_counter then
8961:
8962: --* Populate Group Asset information from global variables
8963: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8964: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
8965: h_find_flag_1 := TRUE;
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8960: if h_processing_period_counter >= h_amort_period_counter then
8961:
8962: --* Populate Group Asset information from global variables
8963: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8964: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
8965: h_find_flag_1 := TRUE;
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8962: --* Populate Group Asset information from global variables
8963: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8964: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
8965: h_find_flag_1 := TRUE;
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8963: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8964: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
8965: h_find_flag_1 := TRUE;
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8964: if fa_amort_pvt.t_period_counter(m) = h_processing_period_counter then
8965: h_find_flag_1 := TRUE;
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8965: h_find_flag_1 := TRUE;
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8966: h_fiscal_year := fa_amort_pvt.t_fiscal_year(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8967: h_period_num := fa_amort_pvt.t_period_num(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8968: h_calendar_period_open_date := fa_amort_pvt.t_calendar_period_open_date(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8969: h_calendar_period_close_date := fa_amort_pvt.t_calendar_period_close_date(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8970: h_group_cost := fa_amort_pvt.t_cost(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8971: h_group_salvage_value := fa_amort_pvt.t_salvage_value(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8972: h_group_recoverable_cost := fa_amort_pvt.t_recoverable_cost(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8973: h_group_adjusted_rec_cost := fa_amort_pvt.t_adjusted_recoverable_cost(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8974: h_group_adjusted_cost := fa_amort_pvt.t_adjusted_cost(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8975: h_deprn_method_code := fa_amort_pvt.t_deprn_method_code(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8976: h_life_in_months := fa_amort_pvt.t_life_in_months(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8977: h_group_bonus_rule := fa_amort_pvt.t_bonus_rule(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8978: h_group_deprn_amount := fa_amort_pvt.t_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8986: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
8979: h_group_ytd_deprn := fa_amort_pvt.t_ytd_deprn(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8986: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
8987: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
8980: h_group_deprn_reserve := fa_amort_pvt.t_deprn_reserve(m);
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8986: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
8987: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
8988: end if;
8981: h_group_bonus_deprn_amount := fa_amort_pvt.t_bonus_deprn_amount(m);
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8986: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
8987: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
8988: end if;
8989: End Loop;
8982: h_group_bonus_ytd_deprn := fa_amort_pvt.t_bonus_ytd_deprn(m);
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8986: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
8987: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
8988: end if;
8989: End Loop;
8990:
8983: h_group_bonus_deprn_reserve := fa_amort_pvt.t_bonus_deprn_reserve(m);
8984: h_group_deprn_override := fa_amort_pvt.t_deprn_override_flag(m);
8985: h_group_eofy_reserve := fa_amort_pvt.t_eofy_reserve(m);
8986: h_group_system_deprn_amount := fa_amort_pvt.t_system_deprn_amount(m);
8987: h_group_system_bonus_deprn := fa_amort_pvt.t_system_bonus_deprn_amount(m);
8988: end if;
8989: End Loop;
8990:
8991: if (h_find_flag_1) then
8989: End Loop;
8990:
8991: if (h_find_flag_1) then
8992:
8993: For n IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8994:
8995: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
8996: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
8997:
8991: if (h_find_flag_1) then
8992:
8993: For n IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8994:
8995: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
8996: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
8997:
8998: h_find_flag_2 := TRUE;
8999: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
8992:
8993: For n IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
8994:
8995: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
8996: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
8997:
8998: h_find_flag_2 := TRUE;
8999: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9000: h_group_eofy_salvage_value := fa_amort_pvt.t_salvage_value(n);
8995: if fa_amort_pvt.t_fiscal_year(n) = h_fiscal_year - 1 and
8996: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
8997:
8998: h_find_flag_2 := TRUE;
8999: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9000: h_group_eofy_salvage_value := fa_amort_pvt.t_salvage_value(n);
9001:
9002: end if;
9003:
8996: fa_amort_pvt.t_period_num(n) = h_period_per_fiscal_year then
8997:
8998: h_find_flag_2 := TRUE;
8999: h_group_eofy_rec_cost := fa_amort_pvt.t_recoverable_cost(n);
9000: h_group_eofy_salvage_value := fa_amort_pvt.t_salvage_value(n);
9001:
9002: end if;
9003:
9004: End Loop;
9138: h_first_period_counter := NULL;
9139: h_temp_system_deprn_amount := 0;
9140: h_temp_system_bonus_deprn := 0;
9141:
9142: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9143: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9144: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9145:
9146: if h_first_period_counter is null then
9139: h_temp_system_deprn_amount := 0;
9140: h_temp_system_bonus_deprn := 0;
9141:
9142: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9143: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9144: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9145:
9146: if h_first_period_counter is null then
9147: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9140: h_temp_system_bonus_deprn := 0;
9141:
9142: For m IN 1.. fa_amort_pvt.t_period_counter.COUNT LOOP
9143: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9144: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9145:
9146: if h_first_period_counter is null then
9147: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9148: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9143: if fa_amort_pvt.t_fiscal_year(m) = h_processing_fiscal_year
9144: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9145:
9146: if h_first_period_counter is null then
9147: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9148: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9149: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9150: end if;
9151:
9144: and fa_amort_pvt.t_period_counter(m) <= h_processing_period_counter then
9145:
9146: if h_first_period_counter is null then
9147: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9148: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9149: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9150: end if;
9151:
9152: if (p_log_level_rec.statement_level) then
9145:
9146: if h_first_period_counter is null then
9147: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9148: elsif h_first_period_counter > fa_amort_pvt.t_period_counter(m) then
9149: h_first_period_counter := fa_amort_pvt.t_period_counter(m);
9150: end if;
9151:
9152: if (p_log_level_rec.statement_level) then
9153: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++', p_log_level_rec);
9150: end if;
9151:
9152: if (p_log_level_rec.statement_level) then
9153: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++', p_log_level_rec);
9154: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m), p_log_level_rec);
9155: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m), p_log_level_rec);
9156: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9157: fa_amort_pvt.t_system_bonus_deprn_amount(m), p_log_level_rec);
9158: end if;
9151:
9152: if (p_log_level_rec.statement_level) then
9153: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++', p_log_level_rec);
9154: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m), p_log_level_rec);
9155: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m), p_log_level_rec);
9156: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9157: fa_amort_pvt.t_system_bonus_deprn_amount(m), p_log_level_rec);
9158: end if;
9159:
9152: if (p_log_level_rec.statement_level) then
9153: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++', p_log_level_rec);
9154: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m), p_log_level_rec);
9155: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m), p_log_level_rec);
9156: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9157: fa_amort_pvt.t_system_bonus_deprn_amount(m), p_log_level_rec);
9158: end if;
9159:
9160: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9153: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-1)' , '+++', p_log_level_rec);
9154: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_period_counter(m)', fa_amort_pvt.t_period_counter(m), p_log_level_rec);
9155: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_deprn_amount(m)', fa_amort_pvt.t_system_deprn_amount(m), p_log_level_rec);
9156: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9157: fa_amort_pvt.t_system_bonus_deprn_amount(m), p_log_level_rec);
9158: end if;
9159:
9160: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9161: h_temp_system_bonus_deprn := nvl(h_temp_system_bonus_deprn,0) + nvl(fa_amort_pvt.t_system_bonus_deprn_amount(m),0);
9156: fa_debug_pkg.add(l_calling_fn, 'fa_amort_pvt.t_system_bonus_deprn_amount(m)',
9157: fa_amort_pvt.t_system_bonus_deprn_amount(m), p_log_level_rec);
9158: end if;
9159:
9160: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9161: h_temp_system_bonus_deprn := nvl(h_temp_system_bonus_deprn,0) + nvl(fa_amort_pvt.t_system_bonus_deprn_amount(m),0);
9162:
9163: if (p_log_level_rec.statement_level) then
9164: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-2)' , '+++', p_log_level_rec);
9157: fa_amort_pvt.t_system_bonus_deprn_amount(m), p_log_level_rec);
9158: end if;
9159:
9160: h_temp_system_deprn_amount := nvl(h_temp_system_deprn_amount,0) + nvl(fa_amort_pvt.t_system_deprn_amount(m),0);
9161: h_temp_system_bonus_deprn := nvl(h_temp_system_bonus_deprn,0) + nvl(fa_amort_pvt.t_system_bonus_deprn_amount(m),0);
9162:
9163: if (p_log_level_rec.statement_level) then
9164: fa_debug_pkg.add(l_calling_fn, '++ Logic in case the subtraction flag is Y (2-2)' , '+++', p_log_level_rec);
9165: fa_debug_pkg.add(l_calling_fn, 'h_first_period_counter', h_first_period_counter, p_log_level_rec);