80: );
81: fnd_msg_pub.ADD;
82: RAISE fnd_api.g_exc_error;
83: END IF;
84: pnp_debug_pkg.LOG ( l_api_name_full
85: || ' Before Calculations ----- : ');
86: pnp_debug_pkg.LOG ( l_api_name_full
87: || ' p_var_rent_id : '
88: || p_var_rent_id);
82: RAISE fnd_api.g_exc_error;
83: END IF;
84: pnp_debug_pkg.LOG ( l_api_name_full
85: || ' Before Calculations ----- : ');
86: pnp_debug_pkg.LOG ( l_api_name_full
87: || ' p_var_rent_id : '
88: || p_var_rent_id);
89: pnp_debug_pkg.LOG ( l_api_name_full
90: || ' p_trx_header_id : '
85: || ' Before Calculations ----- : ');
86: pnp_debug_pkg.LOG ( l_api_name_full
87: || ' p_var_rent_id : '
88: || p_var_rent_id);
89: pnp_debug_pkg.LOG ( l_api_name_full
90: || ' p_trx_header_id : '
91: || p_trx_header_id);
92: pnp_debug_pkg.LOG ( l_api_name_full
93: || ' p_calculated_rent : '
88: || p_var_rent_id);
89: pnp_debug_pkg.LOG ( l_api_name_full
90: || ' p_trx_header_id : '
91: || p_trx_header_id);
92: pnp_debug_pkg.LOG ( l_api_name_full
93: || ' p_calculated_rent : '
94: || p_calculated_rent);
95: pnp_debug_pkg.LOG ( l_api_name_full
96: || ' p_prorated_rent : '
91: || p_trx_header_id);
92: pnp_debug_pkg.LOG ( l_api_name_full
93: || ' p_calculated_rent : '
94: || p_calculated_rent);
95: pnp_debug_pkg.LOG ( l_api_name_full
96: || ' p_prorated_rent : '
97: || p_prorated_rent);
98: pnp_debug_pkg.LOG ( l_api_name_full
99: || ' p_percent_rent : '
94: || p_calculated_rent);
95: pnp_debug_pkg.LOG ( l_api_name_full
96: || ' p_prorated_rent : '
97: || p_prorated_rent);
98: pnp_debug_pkg.LOG ( l_api_name_full
99: || ' p_percent_rent : '
100: || p_percent_rent);
101: pnp_debug_pkg.LOG ( l_api_name_full
102: || ' p_ytd_percent_rent : '
97: || p_prorated_rent);
98: pnp_debug_pkg.LOG ( l_api_name_full
99: || ' p_percent_rent : '
100: || p_percent_rent);
101: pnp_debug_pkg.LOG ( l_api_name_full
102: || ' p_ytd_percent_rent : '
103: || p_ytd_percent_rent);
104: pnp_debug_pkg.LOG ( l_api_name_full
105: || ' p_first_yr_rent : '
100: || p_percent_rent);
101: pnp_debug_pkg.LOG ( l_api_name_full
102: || ' p_ytd_percent_rent : '
103: || p_ytd_percent_rent);
104: pnp_debug_pkg.LOG ( l_api_name_full
105: || ' p_first_yr_rent : '
106: || p_first_yr_rent);
107: --
108:
108:
109: -- Incorporate custom code calculations here...
110:
111: --
112: pnp_debug_pkg.LOG ( l_api_name_full
113: || ' After Calculations ----- : ');
114: pnp_debug_pkg.LOG ( l_api_name_full
115: || ' p_var_rent_id : '
116: || p_var_rent_id);
110:
111: --
112: pnp_debug_pkg.LOG ( l_api_name_full
113: || ' After Calculations ----- : ');
114: pnp_debug_pkg.LOG ( l_api_name_full
115: || ' p_var_rent_id : '
116: || p_var_rent_id);
117: pnp_debug_pkg.LOG ( l_api_name_full
118: || ' p_trx_header_id : '
113: || ' After Calculations ----- : ');
114: pnp_debug_pkg.LOG ( l_api_name_full
115: || ' p_var_rent_id : '
116: || p_var_rent_id);
117: pnp_debug_pkg.LOG ( l_api_name_full
118: || ' p_trx_header_id : '
119: || p_trx_header_id);
120: pnp_debug_pkg.LOG ( l_api_name_full
121: || ' p_calculated_rent : '
116: || p_var_rent_id);
117: pnp_debug_pkg.LOG ( l_api_name_full
118: || ' p_trx_header_id : '
119: || p_trx_header_id);
120: pnp_debug_pkg.LOG ( l_api_name_full
121: || ' p_calculated_rent : '
122: || p_calculated_rent);
123: pnp_debug_pkg.LOG ( l_api_name_full
124: || ' p_prorated_rent : '
119: || p_trx_header_id);
120: pnp_debug_pkg.LOG ( l_api_name_full
121: || ' p_calculated_rent : '
122: || p_calculated_rent);
123: pnp_debug_pkg.LOG ( l_api_name_full
124: || ' p_prorated_rent : '
125: || p_prorated_rent);
126: pnp_debug_pkg.LOG ( l_api_name_full
127: || ' p_percent_rent : '
122: || p_calculated_rent);
123: pnp_debug_pkg.LOG ( l_api_name_full
124: || ' p_prorated_rent : '
125: || p_prorated_rent);
126: pnp_debug_pkg.LOG ( l_api_name_full
127: || ' p_percent_rent : '
128: || p_percent_rent);
129: pnp_debug_pkg.LOG ( l_api_name_full
130: || ' p_ytd_percent_rent : '
125: || p_prorated_rent);
126: pnp_debug_pkg.LOG ( l_api_name_full
127: || ' p_percent_rent : '
128: || p_percent_rent);
129: pnp_debug_pkg.LOG ( l_api_name_full
130: || ' p_ytd_percent_rent : '
131: || p_ytd_percent_rent);
132: pnp_debug_pkg.LOG ( l_api_name_full
133: || ' p_first_yr_rent : '
128: || p_percent_rent);
129: pnp_debug_pkg.LOG ( l_api_name_full
130: || ' p_ytd_percent_rent : '
131: || p_ytd_percent_rent);
132: pnp_debug_pkg.LOG ( l_api_name_full
133: || ' p_first_yr_rent : '
134: || p_first_yr_rent);
135:
136: fnd_msg_pub.count_and_get (p_encoded => fnd_api.g_false
144: , p_count => x_msg_count
145: , p_data => x_msg_data
146: );
147: x_return_status := fnd_api.g_ret_sts_error;
148: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Exception : '
149: || SQLERRM
150: );
151: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
152: || x_return_status
147: x_return_status := fnd_api.g_ret_sts_error;
148: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Exception : '
149: || SQLERRM
150: );
151: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
152: || x_return_status
153: );
154: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'No of Error Messages : '
155: || x_msg_count
150: );
151: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
152: || x_return_status
153: );
154: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'No of Error Messages : '
155: || x_msg_count
156: );
157:
158: WHEN fnd_api.g_exc_unexpected_error
161: , p_count => x_msg_count
162: , p_data => x_msg_data
163: );
164: x_return_status := fnd_api.g_ret_sts_unexp_error;
165: pnp_debug_pkg.LOG ( l_api_name_full||' : '|| 'Unexpected Exception : '
166: || SQLERRM
167: );
168: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
169: || x_return_status
164: x_return_status := fnd_api.g_ret_sts_unexp_error;
165: pnp_debug_pkg.LOG ( l_api_name_full||' : '|| 'Unexpected Exception : '
166: || SQLERRM
167: );
168: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
169: || x_return_status
170: );
171: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'No of Error Messages : '
172: || x_msg_count
167: );
168: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
169: || x_return_status
170: );
171: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'No of Error Messages : '
172: || x_msg_count
173: );
174: WHEN OTHERS
175: THEN
177: , p_count => x_msg_count
178: , p_data => x_msg_data
179: );
180: x_return_status := fnd_api.g_ret_sts_error;
181: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Others Exception : '
182: || SQLERRM
183: );
184: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
185: || x_return_status
180: x_return_status := fnd_api.g_ret_sts_error;
181: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Others Exception : '
182: || SQLERRM
183: );
184: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
185: || x_return_status
186: );
187: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'No of Error Messages : '
188: || x_msg_count
183: );
184: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'Return Status : '
185: || x_return_status
186: );
187: pnp_debug_pkg.LOG ( l_api_name_full||' : '||'No of Error Messages : '
188: || x_msg_count
189: );
190: END calculate_override;
191: END pn_vra_client_extn;