DBA Data[Home] [Help]

APPS.PN_VARIABLE_TERM_PKG dependencies on FND_MESSAGE

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

198:
199: BEGIN
200: pn_variable_amount_pkg.put_log('pn_variable_term_pkg.create_payment_term_batch (+)' );
201:
202: fnd_message.set_name ('PN','PN_VTERM_INP');
203: fnd_message.set_token ('TO_NUM',p_lease_num_to);
204: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
205: fnd_message.set_token ('FROM_CODE',p_location_code_from);
206: fnd_message.set_token ('TO_CODE',p_location_code_to);

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

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

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

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

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

201:
202: fnd_message.set_name ('PN','PN_VTERM_INP');
203: fnd_message.set_token ('TO_NUM',p_lease_num_to);
204: fnd_message.set_token ('FROM_NUM',p_lease_num_from);
205: fnd_message.set_token ('FROM_CODE',p_location_code_from);
206: fnd_message.set_token ('TO_CODE',p_location_code_to);
207: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
208: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
209: fnd_message.set_token ('PRD_FROM',p_period_num_from);

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

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

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

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

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

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

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

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

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

206: fnd_message.set_token ('TO_CODE',p_location_code_to);
207: fnd_message.set_token ('VRN_FROM',p_vrent_num_from);
208: fnd_message.set_token ('VRN_TO',p_vrent_num_to);
209: fnd_message.set_token ('PRD_FROM',p_period_num_from);
210: fnd_message.set_token ('PRD_TO',p_period_num_to);
211: fnd_message.set_token ('USR',p_responsible_user);
212: pnp_debug_pkg.put_log_msg(fnd_message.get);
213:
214:

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

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

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

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

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

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

Line 258: l_errmsg := fnd_message.get;

254: p_lease_cls_code => l_lease_cls_code) THEN
255:
256: l_err_flag := 'Y';
257: fnd_message.set_name ('PN', 'PN_MISS_TERM_TEMP_DATA');
258: l_errmsg := fnd_message.get;
259: pn_variable_amount_pkg.put_output(l_errmsg);
260:
261: fnd_message.set_name ('PN','PN_SOI_VRN');
262: fnd_message.set_token ('NUM',l_rent_num);

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

257: fnd_message.set_name ('PN', 'PN_MISS_TERM_TEMP_DATA');
258: l_errmsg := fnd_message.get;
259: pn_variable_amount_pkg.put_output(l_errmsg);
260:
261: fnd_message.set_name ('PN','PN_SOI_VRN');
262: fnd_message.set_token ('NUM',l_rent_num);
263: pnp_debug_pkg.put_log_msg(fnd_message.get);
264:
265: END IF;

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

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

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

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

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

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

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

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

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

270: pn_variable_amount_pkg.put_output ('+---------------------------------------------------------------+');
271: fnd_message.set_name ('PN','PN_RICAL_PROC');
272: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
273:
274: fnd_message.set_name ('PN','PN_SOI_VRN');
275: fnd_message.set_token ('NUM',l_rent_num);
276: pnp_debug_pkg.put_log_msg(fnd_message.get);
277:
278: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');

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

271: fnd_message.set_name ('PN','PN_RICAL_PROC');
272: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
273:
274: fnd_message.set_name ('PN','PN_SOI_VRN');
275: fnd_message.set_token ('NUM',l_rent_num);
276: pnp_debug_pkg.put_log_msg(fnd_message.get);
277:
278: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
279: fnd_message.set_token ('NUM',l_period_num);

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

272: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
273:
274: fnd_message.set_name ('PN','PN_SOI_VRN');
275: fnd_message.set_token ('NUM',l_rent_num);
276: pnp_debug_pkg.put_log_msg(fnd_message.get);
277:
278: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
279: fnd_message.set_token ('NUM',l_period_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);

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

274: fnd_message.set_name ('PN','PN_SOI_VRN');
275: fnd_message.set_token ('NUM',l_rent_num);
276: pnp_debug_pkg.put_log_msg(fnd_message.get);
277:
278: fnd_message.set_name ('PN','PN_VTERM_PRD_NUM');
279: fnd_message.set_token ('NUM',l_period_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: IF l_invoice_on = 'FORECASTED' THEN

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

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

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_VTERM_PRD_NUM');
279: fnd_message.set_token ('NUM',l_period_num);
280: pnp_debug_pkg.put_log_msg(fnd_message.get);
281:
282: IF l_invoice_on = 'FORECASTED' THEN
283:
284: l_context := 'opening csr_for_inv';

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

284: l_context := 'opening csr_for_inv';
285:
286: FOR rec_for_inv in csr_for_inv(l_period_id) LOOP
287:
288: fnd_message.set_name ('PN','PN_VTERM_FORC_TRM');
289: pnp_debug_pkg.put_log_msg(fnd_message.get||' ...');
290:
291: err_flag := FALSE;
292:

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

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

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

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

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

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

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

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

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

299: fnd_message.set_name ('PN','PN_SOI_INV_DT');
300: fnd_message.set_token ('DATE',l_inv_sch_date);
301: pnp_debug_pkg.put_log_msg(fnd_message.get);
302:
303: fnd_message.set_name ('PN','PN_VTERM_FORC_RENT');
304: fnd_message.set_token ('RENT',round(rec_for_inv.for_per_rent,2));
305: pnp_debug_pkg.put_log_msg(fnd_message.get);
306:
307:

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

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

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

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

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

310: IF pn_variable_amount_pkg.find_volume_exists(rec_for_inv.period_id,
311: rec_for_inv.invoice_date,
312: 'FORECASTED')='N' THEN
313:
314: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
315: l_errmsg := fnd_message.get;
316: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
317: pn_variable_amount_pkg.put_output(l_errmsg);
318: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 315: l_errmsg := fnd_message.get;

311: rec_for_inv.invoice_date,
312: 'FORECASTED')='N' THEN
313:
314: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
315: l_errmsg := fnd_message.get;
316: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
317: pn_variable_amount_pkg.put_output(l_errmsg);
318: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
319: errbuf := l_errmsg;

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

326: rec_for_inv.period_id,
327: rec_for_inv.invoice_date,
328: 'FORECASTED'
329: ) = 'N' THEN
330: fnd_message.set_name('PN','PN_VOL_INV_PRD');
331: l_errmsg := fnd_message.get;
332: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
333: pn_variable_amount_pkg.put_output(l_errmsg);
334: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 331: l_errmsg := fnd_message.get;

327: rec_for_inv.invoice_date,
328: 'FORECASTED'
329: ) = 'N' THEN
330: fnd_message.set_name('PN','PN_VOL_INV_PRD');
331: l_errmsg := fnd_message.get;
332: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
333: pn_variable_amount_pkg.put_output(l_errmsg);
334: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
335: errbuf := l_errmsg;

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

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

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

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

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

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

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

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

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

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

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

406: IF pn_variable_amount_pkg.find_volume_exists(rec_var_inv.period_id,
407: rec_var_inv.invoice_date,
408: 'ACTUAL')='N' THEN
409:
410: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
411: l_errmsg := fnd_message.get;
412: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
413: pn_variable_amount_pkg.put_output(l_errmsg);
414: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 411: l_errmsg := fnd_message.get;

407: rec_var_inv.invoice_date,
408: 'ACTUAL')='N' THEN
409:
410: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
411: l_errmsg := fnd_message.get;
412: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
413: pn_variable_amount_pkg.put_output(l_errmsg);
414: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
415: errbuf := l_errmsg;

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

421: rec_var_inv.period_id,
422: rec_var_inv.invoice_date,
423: 'ACTUAL'
424: ) = 'N' THEN
425: fnd_message.set_name('PN','PN_VOL_INV_PRD');
426: l_errmsg := fnd_message.get;
427: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
428: pn_variable_amount_pkg.put_output(l_errmsg);
429: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 426: l_errmsg := fnd_message.get;

422: rec_var_inv.invoice_date,
423: 'ACTUAL'
424: ) = 'N' THEN
425: fnd_message.set_name('PN','PN_VOL_INV_PRD');
426: l_errmsg := fnd_message.get;
427: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
428: pn_variable_amount_pkg.put_output(l_errmsg);
429: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
430: errbuf := l_errmsg;

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

499:
500: l_context :='opening csr_act_inv';
501: FOR rec_act_inv in csr_act_inv(l_period_id) LOOP
502:
503: fnd_message.set_name ('PN','PN_VTERM_AFORC_TRM');
504: pnp_debug_pkg.put_log_msg(fnd_message.get);
505:
506: err_flag := FALSE;
507:

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

500: l_context :='opening csr_act_inv';
501: FOR rec_act_inv in csr_act_inv(l_period_id) LOOP
502:
503: fnd_message.set_name ('PN','PN_VTERM_AFORC_TRM');
504: pnp_debug_pkg.put_log_msg(fnd_message.get);
505:
506: err_flag := FALSE;
507:
508: 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 509: fnd_message.set_name ('PN','PN_SOI_INV_DT');

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

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

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

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

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

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

514:
515: IF pn_variable_amount_pkg.find_volume_exists(rec_act_inv.period_id,
516: rec_act_inv.invoice_date,
517: 'ACTUAL')='N' THEN
518: fnd_message.set_name('PN','PN_VAR_VOL_HIST');
519: l_errmsg := fnd_message.get;
520: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
521: pn_variable_amount_pkg.put_output(l_errmsg);
522: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');

Line 519: l_errmsg := fnd_message.get;

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

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

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

Line 533: l_errmsg := fnd_message.get;

529: rec_act_inv.period_id,
530: rec_act_inv.invoice_date
531: ) = 'N' THEN
532: fnd_message.set_name('PN','PN_VOL_INV_PRD');
533: l_errmsg := fnd_message.get;
534: pn_variable_amount_pkg.put_output('+-----------------------------------------------------------+');
535: pn_variable_amount_pkg.put_output(l_errmsg);
536: pn_variable_amount_pkg.put_output('+------------------------------------------------------------+');
537: errbuf := l_errmsg;