DBA Data[Home] [Help]

APPS.PN_VARIABLE_TERM_PKG dependencies on FND_MESSAGE

Line 206: fnd_message.set_name ('PN','PN_VTERM_INP');

202:
203: BEGIN
204: pn_variable_amount_pkg.put_log('pn_variable_term_pkg.create_payment_term_batch (+)' );
205:
206: fnd_message.set_name ('PN','PN_VTERM_INP');
207: fnd_message.set_token ('TO_NUM',p_lease_num_to);
208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);

Line 207: fnd_message.set_token ('TO_NUM',p_lease_num_to);

203: BEGIN
204: pn_variable_amount_pkg.put_log('pn_variable_term_pkg.create_payment_term_batch (+)' );
205:
206: fnd_message.set_name ('PN','PN_VTERM_INP');
207: fnd_message.set_token ('TO_NUM',p_lease_num_to);
208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);

Line 208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);

204: pn_variable_amount_pkg.put_log('pn_variable_term_pkg.create_payment_term_batch (+)' );
205:
206: fnd_message.set_name ('PN','PN_VTERM_INP');
207: fnd_message.set_token ('TO_NUM',p_lease_num_to);
208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);

Line 209: fnd_message.set_token ('FROM_CODE',p_location_code_from);

205:
206: fnd_message.set_name ('PN','PN_VTERM_INP');
207: fnd_message.set_token ('TO_NUM',p_lease_num_to);
208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);

Line 210: fnd_message.set_token ('TO_CODE',p_location_code_to);

206: fnd_message.set_name ('PN','PN_VTERM_INP');
207: fnd_message.set_token ('TO_NUM',p_lease_num_to);
208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);

Line 211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);

207: fnd_message.set_token ('TO_NUM',p_lease_num_to);
208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);
215: fnd_message.set_token ('USR',p_responsible_user);

Line 212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);

208: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);
215: fnd_message.set_token ('USR',p_responsible_user);
216: pnp_debug_pkg.put_log_msg(fnd_message.get);

Line 213: fnd_message.set_token ('PRD_FROM',p_period_num_from);

209: fnd_message.set_token ('FROM_CODE',p_location_code_from);
210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);
215: fnd_message.set_token ('USR',p_responsible_user);
216: pnp_debug_pkg.put_log_msg(fnd_message.get);
217:

Line 214: fnd_message.set_token ('PRD_TO',p_period_num_to);

210: fnd_message.set_token ('TO_CODE',p_location_code_to);
211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);
215: fnd_message.set_token ('USR',p_responsible_user);
216: pnp_debug_pkg.put_log_msg(fnd_message.get);
217:
218:

Line 215: fnd_message.set_token ('USR',p_responsible_user);

211: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);
215: fnd_message.set_token ('USR',p_responsible_user);
216: pnp_debug_pkg.put_log_msg(fnd_message.get);
217:
218:
219: /* Retrieve operating unit attributes and stores them in the cache */

Line 216: pnp_debug_pkg.put_log_msg(fnd_message.get);

212: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
213: fnd_message.set_token ('PRD_FROM',p_period_num_from);
214: fnd_message.set_token ('PRD_TO',p_period_num_to);
215: fnd_message.set_token ('USR',p_responsible_user);
216: pnp_debug_pkg.put_log_msg(fnd_message.get);
217:
218:
219: /* Retrieve operating unit attributes and stores them in the cache */
220: l_context := 'Retreiving operating unit attributes';

Line 261: fnd_message.set_name ('PN', 'PN_MISS_TERM_TEMP_DATA');

257: IF NOT pnp_util_func.validate_term_template(p_term_temp_id => l_term_temp_id,
258: p_lease_cls_code => l_lease_cls_code) THEN
259:
260: l_err_flag := 'Y';
261: fnd_message.set_name ('PN', 'PN_MISS_TERM_TEMP_DATA');
262: l_errmsg := fnd_message.get;
263: pn_variable_amount_pkg.put_output(l_errmsg);
264:
265: fnd_message.set_name ('PN','PN_SOI_VRN');

Line 262: l_errmsg := fnd_message.get;

258: p_lease_cls_code => l_lease_cls_code) THEN
259:
260: l_err_flag := 'Y';
261: fnd_message.set_name ('PN', 'PN_MISS_TERM_TEMP_DATA');
262: l_errmsg := fnd_message.get;
263: pn_variable_amount_pkg.put_output(l_errmsg);
264:
265: fnd_message.set_name ('PN','PN_SOI_VRN');
266: fnd_message.set_token ('NUM',l_rent_num);

Line 265: fnd_message.set_name ('PN','PN_SOI_VRN');

261: fnd_message.set_name ('PN', 'PN_MISS_TERM_TEMP_DATA');
262: l_errmsg := fnd_message.get;
263: pn_variable_amount_pkg.put_output(l_errmsg);
264:
265: fnd_message.set_name ('PN','PN_SOI_VRN');
266: fnd_message.set_token ('NUM',l_rent_num);
267: pnp_debug_pkg.put_log_msg(fnd_message.get);
268:
269: END IF;

Line 266: fnd_message.set_token ('NUM',l_rent_num);

262: l_errmsg := fnd_message.get;
263: pn_variable_amount_pkg.put_output(l_errmsg);
264:
265: fnd_message.set_name ('PN','PN_SOI_VRN');
266: fnd_message.set_token ('NUM',l_rent_num);
267: pnp_debug_pkg.put_log_msg(fnd_message.get);
268:
269: END IF;
270: END IF;

Line 267: pnp_debug_pkg.put_log_msg(fnd_message.get);

263: pn_variable_amount_pkg.put_output(l_errmsg);
264:
265: fnd_message.set_name ('PN','PN_SOI_VRN');
266: fnd_message.set_token ('NUM',l_rent_num);
267: pnp_debug_pkg.put_log_msg(fnd_message.get);
268:
269: END IF;
270: END IF;
271:

Line 275: fnd_message.set_name ('PN','PN_RICAL_PROC');

271:
272: IF l_err_flag = 'N' THEN
273:
274: pn_variable_amount_pkg.put_output ('+---------------------------------------------------------------+');
275: fnd_message.set_name ('PN','PN_RICAL_PROC');
276: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
277:
278: fnd_message.set_name ('PN','PN_SOI_VRN');
279: fnd_message.set_token ('NUM',l_rent_num);

Line 276: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');

272: IF l_err_flag = 'N' THEN
273:
274: pn_variable_amount_pkg.put_output ('+---------------------------------------------------------------+');
275: fnd_message.set_name ('PN','PN_RICAL_PROC');
276: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
277:
278: fnd_message.set_name ('PN','PN_SOI_VRN');
279: fnd_message.set_token ('NUM',l_rent_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);

Line 278: fnd_message.set_name ('PN','PN_SOI_VRN');

274: pn_variable_amount_pkg.put_output ('+---------------------------------------------------------------+');
275: fnd_message.set_name ('PN','PN_RICAL_PROC');
276: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
277:
278: fnd_message.set_name ('PN','PN_SOI_VRN');
279: fnd_message.set_token ('NUM',l_rent_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');

Line 279: fnd_message.set_token ('NUM',l_rent_num);

275: fnd_message.set_name ('PN','PN_RICAL_PROC');
276: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
277:
278: fnd_message.set_name ('PN','PN_SOI_VRN');
279: fnd_message.set_token ('NUM',l_rent_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
283: fnd_message.set_token ('NUM',l_period_num);

Line 280: pnp_debug_pkg.put_log_msg(fnd_message.get);

276: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
277:
278: fnd_message.set_name ('PN','PN_SOI_VRN');
279: fnd_message.set_token ('NUM',l_rent_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
283: fnd_message.set_token ('NUM',l_period_num);
284: pnp_debug_pkg.put_log_msg(fnd_message.get);

Line 282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');

278: fnd_message.set_name ('PN','PN_SOI_VRN');
279: fnd_message.set_token ('NUM',l_rent_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
283: fnd_message.set_token ('NUM',l_period_num);
284: pnp_debug_pkg.put_log_msg(fnd_message.get);
285:
286: IF l_invoice_on = 'FORECASTED' THEN

Line 283: fnd_message.set_token ('NUM',l_period_num);

279: fnd_message.set_token ('NUM',l_rent_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
283: fnd_message.set_token ('NUM',l_period_num);
284: pnp_debug_pkg.put_log_msg(fnd_message.get);
285:
286: IF l_invoice_on = 'FORECASTED' THEN
287:

Line 284: pnp_debug_pkg.put_log_msg(fnd_message.get);

280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
283: fnd_message.set_token ('NUM',l_period_num);
284: pnp_debug_pkg.put_log_msg(fnd_message.get);
285:
286: IF l_invoice_on = 'FORECASTED' THEN
287:
288: l_context := 'opening csr_for_inv';

Line 292: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');

288: l_context := 'opening csr_for_inv';
289:
290: FOR rec_for_inv in csr_for_inv(l_period_id) LOOP
291:
292: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');
293: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
294:
295: err_flag := FALSE;
296:

Line 293: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');

289:
290: FOR rec_for_inv in csr_for_inv(l_period_id) LOOP
291:
292: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');
293: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
294:
295: err_flag := FALSE;
296:
297: /*l_inv_start_date := pn_var_rent_calc_pkg.inv_start_date

Line 303: fnd_message.set_name ('PN','PN_SOI_INV_DT');

299: ,vr_id => l_var_rent_id
300: ,approved_status => 'N'); */
301:
302: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_for_inv.invoice_date,l_var_rent_id,l_period_id);
303: fnd_message.set_name ('PN','PN_SOI_INV_DT');
304: fnd_message.set_token ('DATE',l_inv_sch_date);
305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');

Line 304: fnd_message.set_token ('DATE',l_inv_sch_date);

300: ,approved_status => 'N'); */
301:
302: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_for_inv.invoice_date,l_var_rent_id,l_period_id);
303: fnd_message.set_name ('PN','PN_SOI_INV_DT');
304: fnd_message.set_token ('DATE',l_inv_sch_date);
305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');
308: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));

Line 305: pnp_debug_pkg.put_log_msg(fnd_message.get);

301:
302: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_for_inv.invoice_date,l_var_rent_id,l_period_id);
303: fnd_message.set_name ('PN','PN_SOI_INV_DT');
304: fnd_message.set_token ('DATE',l_inv_sch_date);
305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');
308: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));
309: pnp_debug_pkg.put_log_msg(fnd_message.get);

Line 307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');

303: fnd_message.set_name ('PN','PN_SOI_INV_DT');
304: fnd_message.set_token ('DATE',l_inv_sch_date);
305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');
308: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));
309: pnp_debug_pkg.put_log_msg(fnd_message.get);
310:
311:

Line 308: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));

304: fnd_message.set_token ('DATE',l_inv_sch_date);
305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');
308: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));
309: pnp_debug_pkg.put_log_msg(fnd_message.get);
310:
311:
312: l_context := 'Checking if volume exists for all group dates and line items';

Line 309: pnp_debug_pkg.put_log_msg(fnd_message.get);

305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');
308: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));
309: pnp_debug_pkg.put_log_msg(fnd_message.get);
310:
311:
312: l_context := 'Checking if volume exists for all group dates and line items';
313:

Line 318: fnd_message.set_name('PN','PN_VAR_VOL_HIST');

314: IF pn_variable_amount_pkg.find_volume_exists(rec_for_inv.period_id,
315: rec_for_inv.invoice_date,
316: 'FORECASTED')='N' THEN
317:
318: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
319: l_errmsg := fnd_message.get;
320: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
321: pn_variable_amount_pkg.put_output(l_errmsg);
322: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 319: l_errmsg := fnd_message.get;

315: rec_for_inv.invoice_date,
316: 'FORECASTED')='N' THEN
317:
318: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
319: l_errmsg := fnd_message.get;
320: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
321: pn_variable_amount_pkg.put_output(l_errmsg);
322: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
323: errbuf := l_errmsg;

Line 334: fnd_message.set_name('PN','PN_VOL_INV_PRD');

330: rec_for_inv.period_id,
331: rec_for_inv.invoice_date,
332: 'FORECASTED'
333: ) = 'N' THEN
334: fnd_message.set_name('PN','PN_VOL_INV_PRD');
335: l_errmsg := fnd_message.get;
336: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
337: pn_variable_amount_pkg.put_output(l_errmsg);
338: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 335: l_errmsg := fnd_message.get;

331: rec_for_inv.invoice_date,
332: 'FORECASTED'
333: ) = 'N' THEN
334: fnd_message.set_name('PN','PN_VOL_INV_PRD');
335: l_errmsg := fnd_message.get;
336: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
337: pn_variable_amount_pkg.put_output(l_errmsg);
338: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
339: errbuf := l_errmsg;

Line 394: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');

390:
391: l_context :='opening csr_var_inv';
392:
393: FOR rec_var_inv in csr_var_inv(l_period_id) LOOP
394: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');
395: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
396:
397: err_flag := FALSE;
398: /*l_inv_start_date := pn_var_rent_calc_pkg.inv_start_date

Line 395: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');

391: l_context :='opening csr_var_inv';
392:
393: FOR rec_var_inv in csr_var_inv(l_period_id) LOOP
394: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');
395: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
396:
397: err_flag := FALSE;
398: /*l_inv_start_date := pn_var_rent_calc_pkg.inv_start_date
399: (inv_start_date => rec_var_inv.invoice_date

Line 404: fnd_message.set_name ('PN','PN_SOI_INV_DT');

400: ,vr_id => l_var_rent_id
401: ,approved_status => 'N'); */
402:
403: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_var_inv.invoice_date,l_var_rent_id,l_period_id);
404: fnd_message.set_name ('PN','PN_SOI_INV_DT');
405: fnd_message.set_token ('DATE',l_inv_sch_date);
406: pnp_debug_pkg.put_log_msg(fnd_message.get);
407:
408: l_context := 'Checking if volume exists for all group dates and line items';

Line 405: fnd_message.set_token ('DATE',l_inv_sch_date);

401: ,approved_status => 'N'); */
402:
403: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_var_inv.invoice_date,l_var_rent_id,l_period_id);
404: fnd_message.set_name ('PN','PN_SOI_INV_DT');
405: fnd_message.set_token ('DATE',l_inv_sch_date);
406: pnp_debug_pkg.put_log_msg(fnd_message.get);
407:
408: l_context := 'Checking if volume exists for all group dates and line items';
409:

Line 406: pnp_debug_pkg.put_log_msg(fnd_message.get);

402:
403: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_var_inv.invoice_date,l_var_rent_id,l_period_id);
404: fnd_message.set_name ('PN','PN_SOI_INV_DT');
405: fnd_message.set_token ('DATE',l_inv_sch_date);
406: pnp_debug_pkg.put_log_msg(fnd_message.get);
407:
408: l_context := 'Checking if volume exists for all group dates and line items';
409:
410: IF pn_variable_amount_pkg.find_volume_exists(rec_var_inv.period_id,

Line 414: fnd_message.set_name('PN','PN_VAR_VOL_HIST');

410: IF pn_variable_amount_pkg.find_volume_exists(rec_var_inv.period_id,
411: rec_var_inv.invoice_date,
412: 'ACTUAL')='N' THEN
413:
414: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
415: l_errmsg := fnd_message.get;
416: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
417: pn_variable_amount_pkg.put_output(l_errmsg);
418: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 415: l_errmsg := fnd_message.get;

411: rec_var_inv.invoice_date,
412: 'ACTUAL')='N' THEN
413:
414: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
415: l_errmsg := fnd_message.get;
416: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
417: pn_variable_amount_pkg.put_output(l_errmsg);
418: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
419: errbuf := l_errmsg;

Line 429: fnd_message.set_name('PN','PN_VOL_INV_PRD');

425: rec_var_inv.period_id,
426: rec_var_inv.invoice_date,
427: 'ACTUAL'
428: ) = 'N' THEN
429: fnd_message.set_name('PN','PN_VOL_INV_PRD');
430: l_errmsg := fnd_message.get;
431: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
432: pn_variable_amount_pkg.put_output(l_errmsg);
433: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 430: l_errmsg := fnd_message.get;

426: rec_var_inv.invoice_date,
427: 'ACTUAL'
428: ) = 'N' THEN
429: fnd_message.set_name('PN','PN_VOL_INV_PRD');
430: l_errmsg := fnd_message.get;
431: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
432: pn_variable_amount_pkg.put_output(l_errmsg);
433: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
434: errbuf := l_errmsg;

Line 507: fnd_message.set_name ('PN','PN_VTERM_AFORC_TRM');

503:
504: l_context :='opening csr_act_inv';
505: FOR rec_act_inv in csr_act_inv(l_period_id) LOOP
506:
507: fnd_message.set_name ('PN','PN_VTERM_AFORC_TRM');
508: pnp_debug_pkg.put_log_msg(fnd_message.get);
509:
510: err_flag := FALSE;
511:

Line 508: pnp_debug_pkg.put_log_msg(fnd_message.get);

504: l_context :='opening csr_act_inv';
505: FOR rec_act_inv in csr_act_inv(l_period_id) LOOP
506:
507: fnd_message.set_name ('PN','PN_VTERM_AFORC_TRM');
508: pnp_debug_pkg.put_log_msg(fnd_message.get);
509:
510: err_flag := FALSE;
511:
512: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_act_inv.invoice_date,l_var_rent_id,l_period_id);

Line 513: fnd_message.set_name ('PN','PN_SOI_INV_DT');

509:
510: err_flag := FALSE;
511:
512: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_act_inv.invoice_date,l_var_rent_id,l_period_id);
513: fnd_message.set_name ('PN','PN_SOI_INV_DT');
514: fnd_message.set_token ('DATE',l_inv_sch_date);
515: pnp_debug_pkg.put_log_msg(fnd_message.get);
516:
517: l_context := 'Checking if volume exists for all group dates and line items';

Line 514: fnd_message.set_token ('DATE',l_inv_sch_date);

510: err_flag := FALSE;
511:
512: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_act_inv.invoice_date,l_var_rent_id,l_period_id);
513: fnd_message.set_name ('PN','PN_SOI_INV_DT');
514: fnd_message.set_token ('DATE',l_inv_sch_date);
515: pnp_debug_pkg.put_log_msg(fnd_message.get);
516:
517: l_context := 'Checking if volume exists for all group dates and line items';
518:

Line 515: pnp_debug_pkg.put_log_msg(fnd_message.get);

511:
512: l_inv_sch_date := pn_var_rent_calc_pkg.inv_sch_date(rec_act_inv.invoice_date,l_var_rent_id,l_period_id);
513: fnd_message.set_name ('PN','PN_SOI_INV_DT');
514: fnd_message.set_token ('DATE',l_inv_sch_date);
515: pnp_debug_pkg.put_log_msg(fnd_message.get);
516:
517: l_context := 'Checking if volume exists for all group dates and line items';
518:
519: IF pn_variable_amount_pkg.find_volume_exists(rec_act_inv.period_id,

Line 522: fnd_message.set_name('PN','PN_VAR_VOL_HIST');

518:
519: IF pn_variable_amount_pkg.find_volume_exists(rec_act_inv.period_id,
520: rec_act_inv.invoice_date,
521: 'ACTUAL')='N' THEN
522: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
523: l_errmsg := fnd_message.get;
524: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
525: pn_variable_amount_pkg.put_output(l_errmsg);
526: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 523: l_errmsg := fnd_message.get;

519: IF pn_variable_amount_pkg.find_volume_exists(rec_act_inv.period_id,
520: rec_act_inv.invoice_date,
521: 'ACTUAL')='N' THEN
522: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
523: l_errmsg := fnd_message.get;
524: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
525: pn_variable_amount_pkg.put_output(l_errmsg);
526: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
527:

Line 536: fnd_message.set_name('PN','PN_VOL_INV_PRD');

532: IF pn_variable_term_pkg.find_volume_continuous(rec_act_inv.var_rent_id,
533: rec_act_inv.period_id,
534: rec_act_inv.invoice_date
535: ) = 'N' THEN
536: fnd_message.set_name('PN','PN_VOL_INV_PRD');
537: l_errmsg := fnd_message.get;
538: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
539: pn_variable_amount_pkg.put_output(l_errmsg);
540: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 537: l_errmsg := fnd_message.get;

533: rec_act_inv.period_id,
534: rec_act_inv.invoice_date
535: ) = 'N' THEN
536: fnd_message.set_name('PN','PN_VOL_INV_PRD');
537: l_errmsg := fnd_message.get;
538: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
539: pn_variable_amount_pkg.put_output(l_errmsg);
540: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
541: errbuf := l_errmsg;