DBA Data[Home] [Help]

APPS.IGI_IAC_REVAL_ENGINE dependencies on IGI_IAC_DEBUG_PKG

Line 31: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

27: p_amount := round( l_amount, 2);
28: END IF;
29: exception when others then
30: p_amount := l_amount_old;
31: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
32: Raise;
33: end;
34:
35: procedure do_round ( p_info in out NOCOPY IGI_IAC_TYPES.iac_reval_output_asset ) is

Line 52: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

48: do_round( p_info.net_book_value , p_info.book_type_code ) ;
49:
50: exception when others then
51: p_info := p_info_old;
52: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
53: Raise;
54: end;
55:
56: procedure display ( p_info in IGI_IAC_TYPES.iac_reval_output_asset ) IS

Line 59: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');

55:
56: procedure display ( p_info in IGI_IAC_TYPES.iac_reval_output_asset ) IS
57: l_path varchar2(150) := g_path||'display';
58: begin
59: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);
61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);

Line 60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);

56: procedure display ( p_info in IGI_IAC_TYPES.iac_reval_output_asset ) IS
57: l_path varchar2(150) := g_path||'display';
58: begin
59: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);
61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);

Line 61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);

57: l_path varchar2(150) := g_path||'display';
58: begin
59: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);
61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);

Line 62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );

58: begin
59: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);
61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );

Line 63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);

59: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);
61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );

Line 64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);

60: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Adjusted cost '||p_info.adjusted_cost);
61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);

Line 65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);

61: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Operating Acc '||p_info.operating_acct);
62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);
69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);

Line 66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );

62: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn amount '||p_info.deprn_amount );
63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);
69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);
70: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');

Line 67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );

63: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Backlog '||p_info.backlog_deprn_reserve);
64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);
69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);
70: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
71: end;

Line 68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);

64: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Deprn Reserve '||p_info.deprn_reserve);
65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);
69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);
70: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
71: end;
72:

Line 69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);

65: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' General Fund '||p_info.general_fund);
66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);
69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);
70: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
71: end;
72:
73: Function Calculations ( p_iac_reval_params in out NOCOPY IGI_IAC_TYPES.iac_reval_params

Line 70: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');

66: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Reval Reserve '||p_info.reval_reserve );
67: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' NBV '||p_info.net_book_value );
68: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' current rate '||p_info.current_reval_factor);
69: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' cumulve rate '||p_info.cumulative_reval_factor);
70: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
71: end;
72:
73: Function Calculations ( p_iac_reval_params in out NOCOPY IGI_IAC_TYPES.iac_reval_params
74: , p_second_set in boolean

Line 91: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'begin calculations');

87: l_path varchar2(150) := g_path||'Calculations';
88: BEGIN
89: p_iac_reval_params_old := p_iac_reval_params;
90:
91: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'begin calculations');
92: if not p_second_set then
93: l_curr_rate := p_iac_reval_params.reval_curr_rate_info_first.cumulative_reval_factor;
94: l_prev_rate := p_iac_reval_params.reval_prev_rate_info.cumulative_reval_factor;
95:

Line 105: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_curr_rate '|| l_curr_rate);

101:
102: l_py_factor := p_iac_reval_params.fa_asset_info.deprn_periods_prior_year /
103: p_iac_reval_params.fa_asset_info.deprn_periods_elapsed
104: ;
105: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_curr_rate '|| l_curr_rate);
106: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_prev_rate '|| l_prev_rate);
107: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_tran_rate '|| l_tran_rate);
108:
109: /* Apply the prev cumm rate to the fa info */

Line 106: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_prev_rate '|| l_prev_rate);

102: l_py_factor := p_iac_reval_params.fa_asset_info.deprn_periods_prior_year /
103: p_iac_reval_params.fa_asset_info.deprn_periods_elapsed
104: ;
105: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_curr_rate '|| l_curr_rate);
106: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_prev_rate '|| l_prev_rate);
107: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_tran_rate '|| l_tran_rate);
108:
109: /* Apply the prev cumm rate to the fa info */
110: l_reval_prev := p_iac_reval_params.reval_input_asset;

Line 107: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_tran_rate '|| l_tran_rate);

103: p_iac_reval_params.fa_asset_info.deprn_periods_elapsed
104: ;
105: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_curr_rate '|| l_curr_rate);
106: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_prev_rate '|| l_prev_rate);
107: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : l_tran_rate '|| l_tran_rate);
108:
109: /* Apply the prev cumm rate to the fa info */
110: l_reval_prev := p_iac_reval_params.reval_input_asset;
111: l_reval_curr := p_iac_reval_params.reval_input_asset;

Line 113: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' + calculations : deprn Resreve '|| p_iac_reval_params.fa_asset_info.deprn_reserve);

109: /* Apply the prev cumm rate to the fa info */
110: l_reval_prev := p_iac_reval_params.reval_input_asset;
111: l_reval_curr := p_iac_reval_params.reval_input_asset;
112:
113: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' + calculations : deprn Resreve '|| p_iac_reval_params.fa_asset_info.deprn_reserve);
114: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+ calculations : YTD '|| p_iac_reval_params.fa_asset_info.Ytd_deprn);
115:
116: if (p_iac_reval_params.reval_control.first_time_flag) then
117: l_reval_prev.adjusted_cost := ( l_prev_rate * p_iac_reval_params.fa_asset_info.cost )

Line 114: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+ calculations : YTD '|| p_iac_reval_params.fa_asset_info.Ytd_deprn);

110: l_reval_prev := p_iac_reval_params.reval_input_asset;
111: l_reval_curr := p_iac_reval_params.reval_input_asset;
112:
113: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' + calculations : deprn Resreve '|| p_iac_reval_params.fa_asset_info.deprn_reserve);
114: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+ calculations : YTD '|| p_iac_reval_params.fa_asset_info.Ytd_deprn);
115:
116: if (p_iac_reval_params.reval_control.first_time_flag) then
117: l_reval_prev.adjusted_cost := ( l_prev_rate * p_iac_reval_params.fa_asset_info.cost )
118: - p_iac_reval_params.fa_asset_info.cost ;

Line 151: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : not the first time');

147:
148: l_reval_prev.net_book_value := l_reval_prev.adjusted_cost - l_reval_prev.deprn_reserve
149: - l_reval_prev.backlog_deprn_reserve;
150: else
151: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+calculations : not the first time');
152: p_iac_reval_params.reval_asset_params.prev_ytd_deprn := ( l_prev_rate * p_iac_reval_params.fa_asset_info.ytd_deprn)
153: - p_iac_reval_params.fa_asset_info.ytd_deprn;
154: end if;
155:

Line 157: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');

153: - p_iac_reval_params.fa_asset_info.ytd_deprn;
154: end if;
155:
156: /* Display prev record */
157: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
158: if p_second_set then
159: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : START +++++++++++');
160: else
161: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++ FIRST SET : START +++++++++++');

Line 159: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : START +++++++++++');

155:
156: /* Display prev record */
157: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
158: if p_second_set then
159: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : START +++++++++++');
160: else
161: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++ FIRST SET : START +++++++++++');
162: end if;
163: Do_round( l_reval_prev );

Line 161: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++ FIRST SET : START +++++++++++');

157: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++++++++++++++++++++++++++++++++++++++');
158: if p_second_set then
159: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : START +++++++++++');
160: else
161: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'++++++++++++ FIRST SET : START +++++++++++');
162: end if;
163: Do_round( l_reval_prev );
164: Display( l_reval_prev );
165: /* Apply the curr cumm rate to the fa info */

Line 203: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+current period backlog is '|| l_blog);

199:
200: l_blog := ( p_iac_reval_params.fa_asset_info.deprn_reserve -
201: p_iac_reval_params.fa_asset_info.ytd_deprn) *
202: ( l_curr_rate - l_prev_rate );
203: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+current period backlog is '|| l_blog);
204: l_reval_curr.backlog_deprn_reserve := l_blog + l_reval_prev.backlog_deprn_reserve;
205: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+cumulative backlog is '|| l_reval_curr.backlog_deprn_reserve);
206: end;
207: else

Line 205: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+cumulative backlog is '|| l_reval_curr.backlog_deprn_reserve);

201: p_iac_reval_params.fa_asset_info.ytd_deprn) *
202: ( l_curr_rate - l_prev_rate );
203: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+current period backlog is '|| l_blog);
204: l_reval_curr.backlog_deprn_reserve := l_blog + l_reval_prev.backlog_deprn_reserve;
205: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+cumulative backlog is '|| l_reval_curr.backlog_deprn_reserve);
206: end;
207: else
208: l_reval_curr.backlog_deprn_reserve := 0;
209: end if;

Line 233: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+first time flag is set.');

229: Do_round( p_info => l_reval_curr );
230: /* put the differences in the asset mvmt table */
231: -- note accounting entries are created from this mvmt table --
232: if p_iac_reval_params.reval_control.first_time_flag then
233: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+first time flag is set.');
234: l_reval_mvmt := l_reval_curr;
235: else
236: l_reval_mvmt.adjusted_cost := l_reval_curr.adjusted_cost - l_reval_prev.adjusted_cost;
237: l_reval_mvmt.operating_acct := l_reval_curr.operating_acct - l_reval_prev.operating_acct;

Line 249: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : REVAL MVMT ++++++++');

245: end if;
246: /* display results to the log file */
247: Do_round ( p_info => l_reval_mvmt );
248: if p_second_set then
249: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : REVAL MVMT ++++++++');
250: else
251: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ FIRST SET : REVAL MVMT ++++++++');
252: end if;
253:

Line 251: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ FIRST SET : REVAL MVMT ++++++++');

247: Do_round ( p_info => l_reval_mvmt );
248: if p_second_set then
249: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : REVAL MVMT ++++++++');
250: else
251: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ FIRST SET : REVAL MVMT ++++++++');
252: end if;
253:
254: Display ( p_info => l_reval_mvmt );
255: if p_second_set then

Line 256: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : REVAL END ++++++++');

252: end if;
253:
254: Display ( p_info => l_reval_mvmt );
255: if p_second_set then
256: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : REVAL END ++++++++');
257: else
258: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ FIRST SET : REVAL END ++++++++');
259: end if;
260: Display ( p_info => l_reval_curr );

Line 258: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ FIRST SET : REVAL END ++++++++');

254: Display ( p_info => l_reval_mvmt );
255: if p_second_set then
256: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ SECOND SET : REVAL END ++++++++');
257: else
258: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+++++++++++ FIRST SET : REVAL END ++++++++');
259: end if;
260: Display ( p_info => l_reval_curr );
261: if p_iac_reval_params.reval_control.first_time_flag then
262: p_iac_reval_params.reval_input_asset := l_reval_prev ;

Line 268: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end calculations');

264: p_iac_reval_params.reval_output_asset := l_reval_curr ;
265: p_iac_reval_params.reval_output_asset.cumulative_reval_factor := l_curr_rate;
266: p_iac_reval_params.reval_output_asset.current_reval_factor := l_tran_rate;
267: p_iac_reval_params.reval_output_asset_mvmt := l_reval_mvmt ;
268: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end calculations');
269: return TRUE;
270:
271: exception when others then
272: p_iac_reval_params := p_iac_reval_params_old;

Line 273: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

269: return TRUE;
270:
271: exception when others then
272: p_iac_reval_params := p_iac_reval_params_old;
273: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
274: return FALSE;
275: END;
276:
277: Function First_set_calculations ( p_iac_reval_params in out NOCOPY IGI_IAC_TYPES.iac_reval_params )

Line 285: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'begin first set calculations');

281: BEGIN
282:
283: p_iac_reval_params_old := p_iac_reval_params;
284:
285: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'begin first set calculations');
286: IF NOT Calculations ( p_iac_reval_params => p_iac_reval_params, p_second_set => false )
287: THEN
288: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'error first set calculations');
289: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');

Line 288: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'error first set calculations');

284:
285: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'begin first set calculations');
286: IF NOT Calculations ( p_iac_reval_params => p_iac_reval_params, p_second_set => false )
287: THEN
288: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'error first set calculations');
289: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');
290: return false;
291: END IF;
292: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');

Line 289: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');

285: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'begin first set calculations');
286: IF NOT Calculations ( p_iac_reval_params => p_iac_reval_params, p_second_set => false )
287: THEN
288: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'error first set calculations');
289: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');
290: return false;
291: END IF;
292: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');
293: return TRUE;

Line 292: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');

288: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'error first set calculations');
289: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');
290: return false;
291: END IF;
292: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');
293: return TRUE;
294: exception when others then
295: p_iac_reval_params := p_iac_reval_params_old;
296: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

Line 296: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

292: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'end first set calculations');
293: return TRUE;
294: exception when others then
295: p_iac_reval_params := p_iac_reval_params_old;
296: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
297: return FALSE;
298: END;
299:
300: Function Next_set_calculations ( p_iac_reval_params in out NOCOPY IGI_IAC_TYPES.iac_reval_params )

Line 310: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'error next set calculations');

306: p_iac_reval_params_old := p_iac_reval_params;
307:
308: IF NOT Calculations ( p_iac_reval_params => p_iac_reval_params, p_second_set => true )
309: THEN
310: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'error next set calculations');
311: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'end next set calculations');
312: return false;
313: END IF;
314: return TRUE;

Line 311: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'end next set calculations');

307:
308: IF NOT Calculations ( p_iac_reval_params => p_iac_reval_params, p_second_set => true )
309: THEN
310: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'error next set calculations');
311: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'end next set calculations');
312: return false;
313: END IF;
314: return TRUE;
315: exception when others then

Line 317: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

313: END IF;
314: return TRUE;
315: exception when others then
316: p_iac_reval_params := p_iac_reval_params_old;
317: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
318: return FALSE;
319: END;
320: /*
321: -- Get the rate information and then call Set_Calculations : FIRST and NEXT

Line 347: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'Unable to split rates!');

343: , fp_reval_curr_rate_info_first => p_iac_reval_params.reval_curr_rate_info_first
344: , fp_reval_curr_rate_info_next => p_iac_reval_params.reval_curr_rate_info_next
345: )
346: THEN
347: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'Unable to split rates!');
348: return FALSE;
349: END IF;
350:
351: return TRUE;

Line 354: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

350:
351: return TRUE;
352: exception when others then
353: p_iac_reval_params := p_iac_reval_params_old;
354: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
355: return FALSE;
356: END;
357:
358: function swap ( fp_reval_params1 IN IGI_IAC_TYPES.iac_reval_params

Line 367: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+intializing for the second set of calculations');

363: l_path varchar2(150) := g_path||'swap';
364: begin
365:
366: if fp_reval_params1.reval_control.mixed_scenario then
367: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'+intializing for the second set of calculations');
368: fp_reval_params2 := fp_reval_params1;
369: fp_reval_params2.reval_control.first_time_flag := false;
370: fp_reval_params2.reval_input_asset := fp_reval_params1.reval_output_asset;
371: fp_reval_params2.reval_output_asset := fp_reval_params1.reval_output_asset;

Line 389: igi_iac_debug_pkg.debug_unexpected_msg(l_path);

385: end if;
386: return true;
387: exception when others then
388: fp_reval_params2 := fp_reval_params2_old;
389: igi_iac_debug_pkg.debug_unexpected_msg(l_path);
390: return FALSE;
391: end;
392:
393: END;