DBA Data[Home] [Help]

APPS.PO_DOCUMENT_FUNDS_PVT dependencies on PO_DEBUG

Line 15: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;

11:
12:
13: -- Debugging
14:
15: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
16: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
17:
18:
19: -- Exception handling

Line 16: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;

12:
13: -- Debugging
14:
15: g_debug_stmt CONSTANT BOOLEAN := PO_DEBUG.is_debug_stmt_on;
16: g_debug_unexp CONSTANT BOOLEAN := PO_DEBUG.is_debug_unexp_on;
17:
18:
19: -- Exception handling
20:

Line 173: PO_DEBUG.debug_begin(l_log_head);

169:
170: BEGIN
171:
172: IF g_debug_stmt THEN
173: PO_DEBUG.debug_begin(l_log_head);
174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

170: BEGIN
171:
172: IF g_debug_stmt THEN
173: PO_DEBUG.debug_begin(l_log_head);
174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

171:
172: IF g_debug_stmt THEN
173: PO_DEBUG.debug_begin(l_log_head);
174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
179: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

172: IF g_debug_stmt THEN
173: PO_DEBUG.debug_begin(l_log_head);
174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
179: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
180: END IF;

Line 177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

173: PO_DEBUG.debug_begin(l_log_head);
174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
179: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
180: END IF;
181:

Line 178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

174: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
179: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
180: END IF;
181:
182: l_progress := '010';

Line 179: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

175: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
176: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
177: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
178: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
179: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
180: END IF;
181:
182: l_progress := '010';
183:

Line 223: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

219:
220: l_progress := '900';
221:
222: IF g_debug_stmt THEN
223: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
224: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
225: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
226: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
227: PO_DEBUG.debug_end(l_log_head);

Line 224: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

220: l_progress := '900';
221:
222: IF g_debug_stmt THEN
223: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
224: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
225: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
226: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
227: PO_DEBUG.debug_end(l_log_head);
228: END IF;

Line 225: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

221:
222: IF g_debug_stmt THEN
223: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
224: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
225: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
226: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
227: PO_DEBUG.debug_end(l_log_head);
228: END IF;
229:

Line 226: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

222: IF g_debug_stmt THEN
223: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
224: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
225: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
226: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
227: PO_DEBUG.debug_end(l_log_head);
228: END IF;
229:
230: EXCEPTION

Line 227: PO_DEBUG.debug_end(l_log_head);

223: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
224: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
225: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
226: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
227: PO_DEBUG.debug_end(l_log_head);
228: END IF;
229:
230: EXCEPTION
231: WHEN OTHERS THEN

Line 234: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

230: EXCEPTION
231: WHEN OTHERS THEN
232: -- bug 3454804 - robust exception handling
233: BEGIN
234: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
235:
236: -- Do all of the common exception handling.
237: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
238:

Line 239: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

235:
236: -- Do all of the common exception handling.
237: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
238:
239: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
240:
241: IF g_debug_stmt THEN
242: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
243: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 242: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

238:
239: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
240:
241: IF g_debug_stmt THEN
242: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
243: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
244: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
245: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
246: END IF;

Line 243: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

239: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
240:
241: IF g_debug_stmt THEN
242: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
243: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
244: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
245: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
246: END IF;
247:

Line 244: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

240:
241: IF g_debug_stmt THEN
242: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
243: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
244: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
245: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
246: END IF;
247:
248: -- Rollback as per API standards.

Line 245: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

241: IF g_debug_stmt THEN
242: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
243: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
244: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
245: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
246: END IF;
247:
248: -- Rollback as per API standards.
249: ROLLBACK TO CHECK_RESERVE_SP;

Line 251: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

247:
248: -- Rollback as per API standards.
249: ROLLBACK TO CHECK_RESERVE_SP;
250:
251: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
252:
253: EXCEPTION
254: WHEN OTHERS THEN
255: NULL;

Line 329: PO_DEBUG.debug_begin(l_log_head);

325:
326: BEGIN
327:
328: IF g_debug_stmt THEN
329: PO_DEBUG.debug_begin(l_log_head);
330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

326: BEGIN
327:
328: IF g_debug_stmt THEN
329: PO_DEBUG.debug_begin(l_log_head);
330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
334: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

327:
328: IF g_debug_stmt THEN
329: PO_DEBUG.debug_begin(l_log_head);
330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
334: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
335: END IF;

Line 332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

328: IF g_debug_stmt THEN
329: PO_DEBUG.debug_begin(l_log_head);
330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
334: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
335: END IF;
336:

Line 333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

329: PO_DEBUG.debug_begin(l_log_head);
330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
334: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
335: END IF;
336:
337: l_progress := '010';

Line 334: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

330: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
331: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
332: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
333: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
334: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
335: END IF;
336:
337: l_progress := '010';
338:

Line 378: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

374:
375: l_progress := '900';
376:
377: IF g_debug_stmt THEN
378: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
379: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
380: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
381: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
382: PO_DEBUG.debug_end(l_log_head);

Line 379: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

375: l_progress := '900';
376:
377: IF g_debug_stmt THEN
378: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
379: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
380: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
381: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
382: PO_DEBUG.debug_end(l_log_head);
383: END IF;

Line 380: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

376:
377: IF g_debug_stmt THEN
378: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
379: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
380: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
381: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
382: PO_DEBUG.debug_end(l_log_head);
383: END IF;
384:

Line 381: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

377: IF g_debug_stmt THEN
378: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
379: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
380: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
381: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
382: PO_DEBUG.debug_end(l_log_head);
383: END IF;
384:
385: EXCEPTION

Line 382: PO_DEBUG.debug_end(l_log_head);

378: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
379: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
380: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
381: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
382: PO_DEBUG.debug_end(l_log_head);
383: END IF;
384:
385: EXCEPTION
386: WHEN OTHERS THEN

Line 389: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

385: EXCEPTION
386: WHEN OTHERS THEN
387: -- bug 3454804 - robust exception handling
388: BEGIN
389: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
390:
391: -- Do all of the common exception handling.
392: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
393:

Line 394: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

390:
391: -- Do all of the common exception handling.
392: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
393:
394: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
395:
396: IF g_debug_stmt THEN
397: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
398: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 397: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

393:
394: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
395:
396: IF g_debug_stmt THEN
397: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
398: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
399: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
400: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
401: END IF;

Line 398: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

394: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
395:
396: IF g_debug_stmt THEN
397: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
398: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
399: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
400: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
401: END IF;
402:

Line 399: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

395:
396: IF g_debug_stmt THEN
397: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
398: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
399: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
400: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
401: END IF;
402:
403: -- Rollback as per API standards.

Line 400: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

396: IF g_debug_stmt THEN
397: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
398: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
399: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
400: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
401: END IF;
402:
403: -- Rollback as per API standards.
404: ROLLBACK TO CHECK_ADJUST_SP;

Line 406: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

402:
403: -- Rollback as per API standards.
404: ROLLBACK TO CHECK_ADJUST_SP;
405:
406: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
407:
408: EXCEPTION
409: WHEN OTHERS THEN
410: NULL;

Line 503: PO_DEBUG.debug_begin(l_log_head);

499:
500: BEGIN
501:
502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_begin(l_log_head);
504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

500: BEGIN
501:
502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_begin(l_log_head);
504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

501:
502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_begin(l_log_head);
504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);

Line 506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

502: IF g_debug_stmt THEN
503: PO_DEBUG.debug_begin(l_log_head);
504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);

Line 507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

503: PO_DEBUG.debug_begin(l_log_head);
504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

504: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
512: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

Line 509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);

505: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
512: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
513: END IF;

Line 510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);

506: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
512: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
513: END IF;
514:

Line 511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

507: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
512: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
513: END IF;
514:
515: l_progress := '010';

Line 512: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

508: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
509: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',p_prevent_partial_flag);
510: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
511: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
512: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
513: END IF;
514:
515: l_progress := '010';
516:

Line 556: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

552:
553: l_progress := '900';
554:
555: IF g_debug_stmt THEN
556: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
557: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
558: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
559: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
560: PO_DEBUG.debug_end(l_log_head);

Line 557: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

553: l_progress := '900';
554:
555: IF g_debug_stmt THEN
556: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
557: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
558: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
559: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
560: PO_DEBUG.debug_end(l_log_head);
561: END IF;

Line 558: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

554:
555: IF g_debug_stmt THEN
556: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
557: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
558: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
559: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
560: PO_DEBUG.debug_end(l_log_head);
561: END IF;
562:

Line 559: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

555: IF g_debug_stmt THEN
556: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
557: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
558: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
559: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
560: PO_DEBUG.debug_end(l_log_head);
561: END IF;
562:
563: EXCEPTION

Line 560: PO_DEBUG.debug_end(l_log_head);

556: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
557: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
558: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
559: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
560: PO_DEBUG.debug_end(l_log_head);
561: END IF;
562:
563: EXCEPTION
564: WHEN OTHERS THEN

Line 567: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

563: EXCEPTION
564: WHEN OTHERS THEN
565: -- bug 3454804 - robust exception handling
566: BEGIN
567: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
568:
569: -- Do all of the common exception handling.
570: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
571:

Line 572: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

568:
569: -- Do all of the common exception handling.
570: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
571:
572: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
573:
574: IF g_debug_stmt THEN
575: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
576: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 575: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

571:
572: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
573:
574: IF g_debug_stmt THEN
575: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
576: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
577: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
578: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
579: END IF;

Line 576: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

572: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
573:
574: IF g_debug_stmt THEN
575: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
576: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
577: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
578: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
579: END IF;
580:

Line 577: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

573:
574: IF g_debug_stmt THEN
575: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
576: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
577: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
578: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
579: END IF;
580:
581: -- Rollback as per API standards.

Line 578: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

574: IF g_debug_stmt THEN
575: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
576: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
577: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
578: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
579: END IF;
580:
581: -- Rollback as per API standards.
582: ROLLBACK TO DO_RESERVE_SP;

Line 584: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

580:
581: -- Rollback as per API standards.
582: ROLLBACK TO DO_RESERVE_SP;
583:
584: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
585:
586: EXCEPTION
587: WHEN OTHERS THEN
588: NULL;

Line 683: PO_DEBUG.debug_begin(l_log_head);

679:
680: BEGIN
681:
682: IF g_debug_stmt THEN
683: PO_DEBUG.debug_begin(l_log_head);
684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

680: BEGIN
681:
682: IF g_debug_stmt THEN
683: PO_DEBUG.debug_begin(l_log_head);
684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

681:
682: IF g_debug_stmt THEN
683: PO_DEBUG.debug_begin(l_log_head);
684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);

Line 686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

682: IF g_debug_stmt THEN
683: PO_DEBUG.debug_begin(l_log_head);
684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

683: PO_DEBUG.debug_begin(l_log_head);
684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

684: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);

685: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
693: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

Line 690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

686: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
693: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
694: END IF;

Line 691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

687: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
693: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
694: END IF;
695:

Line 692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

688: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
693: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
694: END IF;
695:
696: l_progress := '010';

Line 693: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

689: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
690: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
691: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
692: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
693: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
694: END IF;
695:
696: l_progress := '010';
697:

Line 737: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

733:
734: l_progress := '900';
735:
736: IF g_debug_stmt THEN
737: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
738: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
739: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
740: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
741: PO_DEBUG.debug_end(l_log_head);

Line 738: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

734: l_progress := '900';
735:
736: IF g_debug_stmt THEN
737: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
738: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
739: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
740: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
741: PO_DEBUG.debug_end(l_log_head);
742: END IF;

Line 739: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

735:
736: IF g_debug_stmt THEN
737: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
738: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
739: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
740: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
741: PO_DEBUG.debug_end(l_log_head);
742: END IF;
743:

Line 740: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

736: IF g_debug_stmt THEN
737: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
738: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
739: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
740: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
741: PO_DEBUG.debug_end(l_log_head);
742: END IF;
743:
744: EXCEPTION

Line 741: PO_DEBUG.debug_end(l_log_head);

737: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
738: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
739: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
740: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
741: PO_DEBUG.debug_end(l_log_head);
742: END IF;
743:
744: EXCEPTION
745: WHEN OTHERS THEN

Line 748: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

744: EXCEPTION
745: WHEN OTHERS THEN
746: -- bug 3454804 - robust exception handling
747: BEGIN
748: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
749:
750: -- Do all of the common exception handling.
751: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
752:

Line 753: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

749:
750: -- Do all of the common exception handling.
751: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
752:
753: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
754:
755: IF g_debug_stmt THEN
756: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
757: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 756: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

752:
753: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
754:
755: IF g_debug_stmt THEN
756: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
757: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
758: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
759: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
760: END IF;

Line 757: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

753: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
754:
755: IF g_debug_stmt THEN
756: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
757: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
758: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
759: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
760: END IF;
761:

Line 758: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

754:
755: IF g_debug_stmt THEN
756: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
757: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
758: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
759: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
760: END IF;
761:
762: -- Rollback as per API standards.

Line 759: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

755: IF g_debug_stmt THEN
756: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
757: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
758: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
759: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
760: END IF;
761:
762: -- Rollback as per API standards.
763: ROLLBACK TO DO_UNRESERVE_SP;

Line 765: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

761:
762: -- Rollback as per API standards.
763: ROLLBACK TO DO_UNRESERVE_SP;
764:
765: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
766:
767: EXCEPTION
768: WHEN OTHERS THEN
769: NULL;

Line 851: PO_DEBUG.debug_begin(l_log_head);

847:
848: BEGIN
849:
850: IF g_debug_stmt THEN
851: PO_DEBUG.debug_begin(l_log_head);
852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

848: BEGIN
849:
850: IF g_debug_stmt THEN
851: PO_DEBUG.debug_begin(l_log_head);
852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

849:
850: IF g_debug_stmt THEN
851: PO_DEBUG.debug_begin(l_log_head);
852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

850: IF g_debug_stmt THEN
851: PO_DEBUG.debug_begin(l_log_head);
852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
858: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

851: PO_DEBUG.debug_begin(l_log_head);
852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
858: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
859: END IF;

Line 856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

852: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
858: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
859: END IF;
860:

Line 857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

853: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
858: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
859: END IF;
860:
861: l_progress := '010';

Line 858: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

854: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
855: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
856: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
857: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
858: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
859: END IF;
860:
861: l_progress := '010';
862:

Line 902: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

898:
899: l_progress := '900';
900:
901: IF g_debug_stmt THEN
902: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
903: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
904: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
905: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
906: PO_DEBUG.debug_end(l_log_head);

Line 903: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

899: l_progress := '900';
900:
901: IF g_debug_stmt THEN
902: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
903: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
904: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
905: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
906: PO_DEBUG.debug_end(l_log_head);
907: END IF;

Line 904: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

900:
901: IF g_debug_stmt THEN
902: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
903: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
904: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
905: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
906: PO_DEBUG.debug_end(l_log_head);
907: END IF;
908:

Line 905: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

901: IF g_debug_stmt THEN
902: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
903: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
904: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
905: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
906: PO_DEBUG.debug_end(l_log_head);
907: END IF;
908:
909: EXCEPTION

Line 906: PO_DEBUG.debug_end(l_log_head);

902: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
903: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
904: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
905: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
906: PO_DEBUG.debug_end(l_log_head);
907: END IF;
908:
909: EXCEPTION
910: WHEN OTHERS THEN

Line 913: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

909: EXCEPTION
910: WHEN OTHERS THEN
911: -- bug 3454804 - robust exception handling
912: BEGIN
913: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
914:
915: -- Do all of the common exception handling.
916: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
917:

Line 918: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

914:
915: -- Do all of the common exception handling.
916: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
917:
918: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
919:
920: IF g_debug_stmt THEN
921: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
922: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 921: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

917:
918: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
919:
920: IF g_debug_stmt THEN
921: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
922: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
923: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
924: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
925: END IF;

Line 922: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

918: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
919:
920: IF g_debug_stmt THEN
921: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
922: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
923: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
924: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
925: END IF;
926:

Line 923: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

919:
920: IF g_debug_stmt THEN
921: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
922: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
923: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
924: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
925: END IF;
926:
927: -- Rollback as per API standards.

Line 924: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

920: IF g_debug_stmt THEN
921: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
922: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
923: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
924: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
925: END IF;
926:
927: -- Rollback as per API standards.
928: ROLLBACK TO DO_RETURN_SP;

Line 930: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

926:
927: -- Rollback as per API standards.
928: ROLLBACK TO DO_RETURN_SP;
929:
930: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
931:
932: EXCEPTION
933: WHEN OTHERS THEN
934: NULL;

Line 1021: PO_DEBUG.debug_begin(l_log_head);

1017:
1018: BEGIN
1019:
1020: IF g_debug_stmt THEN
1021: PO_DEBUG.debug_begin(l_log_head);
1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

1018: BEGIN
1019:
1020: IF g_debug_stmt THEN
1021: PO_DEBUG.debug_begin(l_log_head);
1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

1019:
1020: IF g_debug_stmt THEN
1021: PO_DEBUG.debug_begin(l_log_head);
1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

1020: IF g_debug_stmt THEN
1021: PO_DEBUG.debug_begin(l_log_head);
1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

1021: PO_DEBUG.debug_begin(l_log_head);
1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1029: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

1022: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1029: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1030: END IF;

Line 1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

1023: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1029: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1030: END IF;
1031:

Line 1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

1024: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1029: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1030: END IF;
1031:
1032: l_progress := '010';

Line 1029: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

1025: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1026: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1027: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1028: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1029: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1030: END IF;
1031:
1032: l_progress := '010';
1033:

Line 1073: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1069:
1070: l_progress := '900';
1071:
1072: IF g_debug_stmt THEN
1073: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1074: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1075: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1076: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1077: PO_DEBUG.debug_end(l_log_head);

Line 1074: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1070: l_progress := '900';
1071:
1072: IF g_debug_stmt THEN
1073: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1074: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1075: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1076: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1077: PO_DEBUG.debug_end(l_log_head);
1078: END IF;

Line 1075: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1071:
1072: IF g_debug_stmt THEN
1073: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1074: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1075: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1076: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1077: PO_DEBUG.debug_end(l_log_head);
1078: END IF;
1079:

Line 1076: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1072: IF g_debug_stmt THEN
1073: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1074: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1075: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1076: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1077: PO_DEBUG.debug_end(l_log_head);
1078: END IF;
1079:
1080: EXCEPTION

Line 1077: PO_DEBUG.debug_end(l_log_head);

1073: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1074: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1075: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1076: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1077: PO_DEBUG.debug_end(l_log_head);
1078: END IF;
1079:
1080: EXCEPTION
1081: WHEN OTHERS THEN

Line 1084: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

1080: EXCEPTION
1081: WHEN OTHERS THEN
1082: -- bug 3454804 - robust exception handling
1083: BEGIN
1084: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
1085:
1086: -- Do all of the common exception handling.
1087: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1088:

Line 1089: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

1085:
1086: -- Do all of the common exception handling.
1087: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1088:
1089: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1090:
1091: IF g_debug_stmt THEN
1092: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1093: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 1092: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1088:
1089: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1090:
1091: IF g_debug_stmt THEN
1092: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1093: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1094: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1095: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1096: END IF;

Line 1093: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1089: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1090:
1091: IF g_debug_stmt THEN
1092: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1093: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1094: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1095: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1096: END IF;
1097:

Line 1094: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1090:
1091: IF g_debug_stmt THEN
1092: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1093: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1094: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1095: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1096: END IF;
1097:
1098: -- Rollback as per API standards.

Line 1095: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1091: IF g_debug_stmt THEN
1092: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1093: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1094: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1095: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1096: END IF;
1097:
1098: -- Rollback as per API standards.
1099: ROLLBACK TO DO_REJECT_SP;

Line 1101: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

1097:
1098: -- Rollback as per API standards.
1099: ROLLBACK TO DO_REJECT_SP;
1100:
1101: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
1102:
1103: EXCEPTION
1104: WHEN OTHERS THEN
1105: NULL;

Line 1195: PO_DEBUG.debug_begin(l_log_head);

1191:
1192: BEGIN
1193:
1194: IF g_debug_stmt THEN
1195: PO_DEBUG.debug_begin(l_log_head);
1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

1192: BEGIN
1193:
1194: IF g_debug_stmt THEN
1195: PO_DEBUG.debug_begin(l_log_head);
1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

1193:
1194: IF g_debug_stmt THEN
1195: PO_DEBUG.debug_begin(l_log_head);
1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

1194: IF g_debug_stmt THEN
1195: PO_DEBUG.debug_begin(l_log_head);
1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

1195: PO_DEBUG.debug_begin(l_log_head);
1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1203: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

1196: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1203: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1204: END IF;

Line 1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

1197: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1203: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1204: END IF;
1205:

Line 1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

1198: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1203: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1204: END IF;
1205:
1206: l_progress := '010';

Line 1203: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

1199: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1200: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1201: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1202: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1203: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1204: END IF;
1205:
1206: l_progress := '010';
1207:

Line 1247: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1243:
1244: l_progress := '900';
1245:
1246: IF g_debug_stmt THEN
1247: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1248: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1249: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1251: PO_DEBUG.debug_end(l_log_head);

Line 1248: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1244: l_progress := '900';
1245:
1246: IF g_debug_stmt THEN
1247: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1248: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1249: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1251: PO_DEBUG.debug_end(l_log_head);
1252: END IF;

Line 1249: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1245:
1246: IF g_debug_stmt THEN
1247: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1248: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1249: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1251: PO_DEBUG.debug_end(l_log_head);
1252: END IF;
1253:

Line 1250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1246: IF g_debug_stmt THEN
1247: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1248: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1249: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1251: PO_DEBUG.debug_end(l_log_head);
1252: END IF;
1253:
1254: EXCEPTION

Line 1251: PO_DEBUG.debug_end(l_log_head);

1247: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1248: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1249: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1251: PO_DEBUG.debug_end(l_log_head);
1252: END IF;
1253:
1254: EXCEPTION
1255: WHEN OTHERS THEN

Line 1258: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

1254: EXCEPTION
1255: WHEN OTHERS THEN
1256: -- bug 3454804 - robust exception handling
1257: BEGIN
1258: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
1259:
1260: -- Do all of the common exception handling.
1261: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1262:

Line 1263: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

1259:
1260: -- Do all of the common exception handling.
1261: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1262:
1263: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1264:
1265: IF g_debug_stmt THEN
1266: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1267: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 1266: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1262:
1263: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1264:
1265: IF g_debug_stmt THEN
1266: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1267: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1268: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1269: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1270: END IF;

Line 1267: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1263: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1264:
1265: IF g_debug_stmt THEN
1266: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1267: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1268: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1269: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1270: END IF;
1271:

Line 1268: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1264:
1265: IF g_debug_stmt THEN
1266: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1267: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1268: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1269: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1270: END IF;
1271:
1272: -- Rollback as per API standards.

Line 1269: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1265: IF g_debug_stmt THEN
1266: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1267: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1268: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1269: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1270: END IF;
1271:
1272: -- Rollback as per API standards.
1273: ROLLBACK TO DO_CANCEL_SP;

Line 1275: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

1271:
1272: -- Rollback as per API standards.
1273: ROLLBACK TO DO_CANCEL_SP;
1274:
1275: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
1276:
1277: EXCEPTION
1278: WHEN OTHERS THEN
1279: NULL;

Line 1364: PO_DEBUG.debug_begin(l_log_head);

1360:
1361: BEGIN
1362:
1363: IF g_debug_stmt THEN
1364: PO_DEBUG.debug_begin(l_log_head);
1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

1361: BEGIN
1362:
1363: IF g_debug_stmt THEN
1364: PO_DEBUG.debug_begin(l_log_head);
1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);

Line 1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

1362:
1363: IF g_debug_stmt THEN
1364: PO_DEBUG.debug_begin(l_log_head);
1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

1363: IF g_debug_stmt THEN
1364: PO_DEBUG.debug_begin(l_log_head);
1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1371: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

Line 1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

1364: PO_DEBUG.debug_begin(l_log_head);
1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1371: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
1372: END IF;

Line 1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);

1365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1371: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
1372: END IF;
1373:

Line 1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

1366: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1371: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
1372: END IF;
1373:
1374: l_progress := '010';

Line 1371: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

1367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1368: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1369: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',p_validate_document);
1370: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1371: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
1372: END IF;
1373:
1374: l_progress := '010';
1375:

Line 1415: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1411:
1412: l_progress := '900';
1413:
1414: IF g_debug_stmt THEN
1415: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1416: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1417: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1418: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1419: PO_DEBUG.debug_end(l_log_head);

Line 1416: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1412: l_progress := '900';
1413:
1414: IF g_debug_stmt THEN
1415: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1416: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1417: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1418: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1419: PO_DEBUG.debug_end(l_log_head);
1420: END IF;

Line 1417: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1413:
1414: IF g_debug_stmt THEN
1415: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1416: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1417: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1418: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1419: PO_DEBUG.debug_end(l_log_head);
1420: END IF;
1421:

Line 1418: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1414: IF g_debug_stmt THEN
1415: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1416: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1417: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1418: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1419: PO_DEBUG.debug_end(l_log_head);
1420: END IF;
1421:
1422: EXCEPTION

Line 1419: PO_DEBUG.debug_end(l_log_head);

1415: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1416: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1417: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1418: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1419: PO_DEBUG.debug_end(l_log_head);
1420: END IF;
1421:
1422: EXCEPTION
1423: WHEN OTHERS THEN

Line 1426: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

1422: EXCEPTION
1423: WHEN OTHERS THEN
1424: -- bug 3454804 - robust exception handling
1425: BEGIN
1426: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
1427:
1428: -- Do all of the common exception handling.
1429: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1430:

Line 1431: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

1427:
1428: -- Do all of the common exception handling.
1429: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1430:
1431: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1432:
1433: IF g_debug_stmt THEN
1434: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1435: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 1434: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1430:
1431: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1432:
1433: IF g_debug_stmt THEN
1434: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1435: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1436: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1437: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1438: END IF;

Line 1435: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1431: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1432:
1433: IF g_debug_stmt THEN
1434: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1435: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1436: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1437: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1438: END IF;
1439:

Line 1436: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1432:
1433: IF g_debug_stmt THEN
1434: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1435: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1436: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1437: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1438: END IF;
1439:
1440: -- Rollback as per API standards.

Line 1437: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1433: IF g_debug_stmt THEN
1434: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1435: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1436: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1437: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1438: END IF;
1439:
1440: -- Rollback as per API standards.
1441: ROLLBACK TO DO_ADJUST_SP;

Line 1443: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

1439:
1440: -- Rollback as per API standards.
1441: ROLLBACK TO DO_ADJUST_SP;
1442:
1443: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
1444:
1445: EXCEPTION
1446: WHEN OTHERS THEN
1447: NULL;

Line 1532: PO_DEBUG.debug_begin(l_log_head);

1528: l_force_mode VARCHAR2(1);
1529: BEGIN
1530:
1531: IF g_debug_stmt THEN
1532: PO_DEBUG.debug_begin(l_log_head);
1533: PO_DEBUG.debug_var(l_log_head,l_progress,'p_before_dist_ids_tbl', p_before_dist_ids_tbl);
1534: PO_DEBUG.debug_var(l_log_head,l_progress,'p_after_dist_ids_tbl', p_after_dist_ids_tbl);
1535: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1536: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 1533: PO_DEBUG.debug_var(l_log_head,l_progress,'p_before_dist_ids_tbl', p_before_dist_ids_tbl);

1529: BEGIN
1530:
1531: IF g_debug_stmt THEN
1532: PO_DEBUG.debug_begin(l_log_head);
1533: PO_DEBUG.debug_var(l_log_head,l_progress,'p_before_dist_ids_tbl', p_before_dist_ids_tbl);
1534: PO_DEBUG.debug_var(l_log_head,l_progress,'p_after_dist_ids_tbl', p_after_dist_ids_tbl);
1535: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1536: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1537: END IF;

Line 1534: PO_DEBUG.debug_var(l_log_head,l_progress,'p_after_dist_ids_tbl', p_after_dist_ids_tbl);

1530:
1531: IF g_debug_stmt THEN
1532: PO_DEBUG.debug_begin(l_log_head);
1533: PO_DEBUG.debug_var(l_log_head,l_progress,'p_before_dist_ids_tbl', p_before_dist_ids_tbl);
1534: PO_DEBUG.debug_var(l_log_head,l_progress,'p_after_dist_ids_tbl', p_after_dist_ids_tbl);
1535: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1536: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1537: END IF;
1538:

Line 1535: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

1531: IF g_debug_stmt THEN
1532: PO_DEBUG.debug_begin(l_log_head);
1533: PO_DEBUG.debug_var(l_log_head,l_progress,'p_before_dist_ids_tbl', p_before_dist_ids_tbl);
1534: PO_DEBUG.debug_var(l_log_head,l_progress,'p_after_dist_ids_tbl', p_after_dist_ids_tbl);
1535: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1536: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1537: END IF;
1538:
1539: l_progress := '010';

Line 1536: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

1532: PO_DEBUG.debug_begin(l_log_head);
1533: PO_DEBUG.debug_var(l_log_head,l_progress,'p_before_dist_ids_tbl', p_before_dist_ids_tbl);
1534: PO_DEBUG.debug_var(l_log_head,l_progress,'p_after_dist_ids_tbl', p_after_dist_ids_tbl);
1535: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1536: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1537: END IF;
1538:
1539: l_progress := '010';
1540:

Line 1548: PO_DEBUG.debug_stmt(l_log_head,l_progress,

1544: x_online_report_id := NULL;
1545:
1546: l_progress := '100';
1547: IF g_debug_stmt THEN
1548: PO_DEBUG.debug_stmt(l_log_head,l_progress,
1549: 'Populate po_encumbrance_gt with before distribution ids');
1550: END IF;
1551:
1552: -- Fill the GTT with the data from the doc tables.

Line 1572: PO_DEBUG.debug_stmt(l_log_head,l_progress,

1568: END IF;
1569:
1570: l_progress := '210';
1571: IF g_debug_stmt THEN
1572: PO_DEBUG.debug_stmt(l_log_head,l_progress,
1573: 'Populate po_encumbrance_gt with after distribution ids');
1574: END IF;
1575:
1576: -- Fill the GTT with the data from the doc tables.

Line 1596: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Call do_action');

1592: END IF;
1593:
1594: l_progress := '310';
1595: IF g_debug_stmt THEN
1596: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Call do_action');
1597: END IF;
1598: --
1599: --We should be calling Req Split with force mode
1600: --for all non-federal cases. This is to ensure that

Line 1644: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1640:
1641: l_progress := '900';
1642:
1643: IF g_debug_stmt THEN
1644: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1645: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1647: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1648: PO_DEBUG.debug_end(l_log_head);

Line 1645: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1641: l_progress := '900';
1642:
1643: IF g_debug_stmt THEN
1644: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1645: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1647: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1648: PO_DEBUG.debug_end(l_log_head);
1649: END IF;

Line 1646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1642:
1643: IF g_debug_stmt THEN
1644: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1645: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1647: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1648: PO_DEBUG.debug_end(l_log_head);
1649: END IF;
1650:

Line 1647: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1643: IF g_debug_stmt THEN
1644: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1645: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1647: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1648: PO_DEBUG.debug_end(l_log_head);
1649: END IF;
1650:
1651: EXCEPTION

Line 1648: PO_DEBUG.debug_end(l_log_head);

1644: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1645: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1647: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1648: PO_DEBUG.debug_end(l_log_head);
1649: END IF;
1650:
1651: EXCEPTION
1652: WHEN OTHERS THEN

Line 1655: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

1651: EXCEPTION
1652: WHEN OTHERS THEN
1653: -- bug 3454804 - robust exception handling
1654: BEGIN
1655: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
1656:
1657: -- Do all of the common exception handling.
1658: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1659:

Line 1660: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

1656:
1657: -- Do all of the common exception handling.
1658: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1659:
1660: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1661:
1662: IF g_debug_stmt THEN
1663: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1664: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 1663: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1659:
1660: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1661:
1662: IF g_debug_stmt THEN
1663: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1664: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1665: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1666: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1667: END IF;

Line 1664: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1660: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1661:
1662: IF g_debug_stmt THEN
1663: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1664: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1665: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1666: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1667: END IF;
1668:

Line 1665: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1661:
1662: IF g_debug_stmt THEN
1663: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1664: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1665: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1666: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1667: END IF;
1668:
1669: -- Rollback as per API standards.

Line 1666: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1662: IF g_debug_stmt THEN
1663: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1664: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1665: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1666: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1667: END IF;
1668:
1669: -- Rollback as per API standards.
1670: ROLLBACK TO DO_REQ_SPLIT_SP;

Line 1672: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

1668:
1669: -- Rollback as per API standards.
1670: ROLLBACK TO DO_REQ_SPLIT_SP;
1671:
1672: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
1673:
1674: EXCEPTION
1675: WHEN OTHERS THEN
1676: NULL;

Line 1763: PO_DEBUG.debug_begin(l_log_head);

1759:
1760: BEGIN
1761:
1762: IF g_debug_stmt THEN
1763: PO_DEBUG.debug_begin(l_log_head);
1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

1760: BEGIN
1761:
1762: IF g_debug_stmt THEN
1763: PO_DEBUG.debug_begin(l_log_head);
1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

1761:
1762: IF g_debug_stmt THEN
1763: PO_DEBUG.debug_begin(l_log_head);
1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

1762: IF g_debug_stmt THEN
1763: PO_DEBUG.debug_begin(l_log_head);
1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

1763: PO_DEBUG.debug_begin(l_log_head);
1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1771: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);

Line 1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

1764: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1771: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1772: END IF;

Line 1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

1765: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1771: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1772: END IF;
1773:

Line 1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

1766: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1771: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1772: END IF;
1773:
1774: l_progress := '010';

Line 1771: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);

1767: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1768: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1769: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1770: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1771: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1772: END IF;
1773:
1774: l_progress := '010';
1775:

Line 1821: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1817:
1818: l_progress := '900';
1819:
1820: IF g_debug_stmt THEN
1821: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1822: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1823: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1824: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1825: PO_DEBUG.debug_end(l_log_head);

Line 1822: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1818: l_progress := '900';
1819:
1820: IF g_debug_stmt THEN
1821: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1822: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1823: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1824: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1825: PO_DEBUG.debug_end(l_log_head);
1826: END IF;

Line 1823: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1819:
1820: IF g_debug_stmt THEN
1821: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1822: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1823: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1824: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1825: PO_DEBUG.debug_end(l_log_head);
1826: END IF;
1827:

Line 1824: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1820: IF g_debug_stmt THEN
1821: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1822: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1823: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1824: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1825: PO_DEBUG.debug_end(l_log_head);
1826: END IF;
1827:
1828: EXCEPTION

Line 1825: PO_DEBUG.debug_end(l_log_head);

1821: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1822: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1823: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1824: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1825: PO_DEBUG.debug_end(l_log_head);
1826: END IF;
1827:
1828: EXCEPTION
1829: WHEN OTHERS THEN

Line 1832: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

1828: EXCEPTION
1829: WHEN OTHERS THEN
1830: -- bug 3454804 - robust exception handling
1831: BEGIN
1832: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
1833:
1834: -- Do all of the common exception handling.
1835: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1836:

Line 1837: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

1833:
1834: -- Do all of the common exception handling.
1835: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
1836:
1837: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1838:
1839: IF g_debug_stmt THEN
1840: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1841: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 1840: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1836:
1837: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1838:
1839: IF g_debug_stmt THEN
1840: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1841: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1842: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1844: END IF;

Line 1841: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

1837: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
1838:
1839: IF g_debug_stmt THEN
1840: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1841: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1842: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1844: END IF;
1845:

Line 1842: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

1838:
1839: IF g_debug_stmt THEN
1840: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1841: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1842: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1844: END IF;
1845:
1846: -- Rollback as per API standards.

Line 1843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

1839: IF g_debug_stmt THEN
1840: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
1841: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
1842: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
1843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
1844: END IF;
1845:
1846: -- Rollback as per API standards.
1847: ROLLBACK TO DO_FINAL_CLOSE_SP;

Line 1849: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

1845:
1846: -- Rollback as per API standards.
1847: ROLLBACK TO DO_FINAL_CLOSE_SP;
1848:
1849: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
1850:
1851: EXCEPTION
1852: WHEN OTHERS THEN
1853: NULL;

Line 1943: PO_DEBUG.debug_begin(l_log_head);

1939:
1940: BEGIN
1941:
1942: IF g_debug_stmt THEN
1943: PO_DEBUG.debug_begin(l_log_head);
1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

1940: BEGIN
1941:
1942: IF g_debug_stmt THEN
1943: PO_DEBUG.debug_begin(l_log_head);
1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

Line 1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

1941:
1942: IF g_debug_stmt THEN
1943: PO_DEBUG.debug_begin(l_log_head);
1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

1942: IF g_debug_stmt THEN
1943: PO_DEBUG.debug_begin(l_log_head);
1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

1943: PO_DEBUG.debug_begin(l_log_head);
1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);

1944: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1952: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);

Line 1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

1945: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1952: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1953: END IF;

Line 1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

1946: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1952: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1953: END IF;
1954:

Line 1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

1947: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1952: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1953: END IF;
1954:
1955: l_progress := '010';

Line 1952: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);

1948: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',p_use_enc_gt_flag);
1949: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
1950: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
1951: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
1952: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id',p_invoice_id);
1953: END IF;
1954:
1955: l_progress := '010';
1956:

Line 2003: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

1999:
2000: l_progress := '900';
2001:
2002: IF g_debug_stmt THEN
2003: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2004: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2005: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2006: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2007: PO_DEBUG.debug_end(l_log_head);

Line 2004: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2000: l_progress := '900';
2001:
2002: IF g_debug_stmt THEN
2003: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2004: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2005: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2006: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2007: PO_DEBUG.debug_end(l_log_head);
2008: END IF;

Line 2005: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

2001:
2002: IF g_debug_stmt THEN
2003: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2004: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2005: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2006: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2007: PO_DEBUG.debug_end(l_log_head);
2008: END IF;
2009:

Line 2006: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

2002: IF g_debug_stmt THEN
2003: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2004: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2005: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2006: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2007: PO_DEBUG.debug_end(l_log_head);
2008: END IF;
2009:
2010: EXCEPTION

Line 2007: PO_DEBUG.debug_end(l_log_head);

2003: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2004: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2005: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2006: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2007: PO_DEBUG.debug_end(l_log_head);
2008: END IF;
2009:
2010: EXCEPTION
2011: WHEN OTHERS THEN

Line 2014: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

2010: EXCEPTION
2011: WHEN OTHERS THEN
2012: -- bug 3454804 - robust exception handling
2013: BEGIN
2014: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2015:
2016: -- Do all of the common exception handling.
2017: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
2018:

Line 2019: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

2015:
2016: -- Do all of the common exception handling.
2017: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
2018:
2019: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2020:
2021: IF g_debug_stmt THEN
2022: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2023: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 2022: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

2018:
2019: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2020:
2021: IF g_debug_stmt THEN
2022: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2023: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2024: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2025: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2026: END IF;

Line 2023: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2019: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2020:
2021: IF g_debug_stmt THEN
2022: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2023: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2024: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2025: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2026: END IF;
2027:

Line 2024: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

2020:
2021: IF g_debug_stmt THEN
2022: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2023: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2024: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2025: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2026: END IF;
2027:
2028: -- Rollback as per API standards.

Line 2025: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

2021: IF g_debug_stmt THEN
2022: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2023: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2024: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2025: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2026: END IF;
2027:
2028: -- Rollback as per API standards.
2029: ROLLBACK TO UNDO_FINAL_CLOSE_SP;

Line 2031: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

2027:
2028: -- Rollback as per API standards.
2029: ROLLBACK TO UNDO_FINAL_CLOSE_SP;
2030:
2031: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
2032:
2033: EXCEPTION
2034: WHEN OTHERS THEN
2035: NULL;

Line 2114: PO_DEBUG.debug_begin(l_log_head);

2110:
2111: BEGIN
2112:
2113: IF g_debug_stmt THEN
2114: PO_DEBUG.debug_begin(l_log_head);
2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

2111: BEGIN
2112:
2113: IF g_debug_stmt THEN
2114: PO_DEBUG.debug_begin(l_log_head);
2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

2112:
2113: IF g_debug_stmt THEN
2114: PO_DEBUG.debug_begin(l_log_head);
2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

Line 2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

2113: IF g_debug_stmt THEN
2114: PO_DEBUG.debug_begin(l_log_head);
2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2121: END IF;

Line 2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

2114: PO_DEBUG.debug_begin(l_log_head);
2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2121: END IF;
2122:

Line 2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

2115: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2121: END IF;
2122:
2123: l_progress := '010';

Line 2120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

2116: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2117: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2118: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2119: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2120: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2121: END IF;
2122:
2123: l_progress := '010';
2124:

Line 2164: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

2160:
2161: l_progress := '900';
2162:
2163: IF g_debug_stmt THEN
2164: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2165: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2166: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2167: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2168: PO_DEBUG.debug_end(l_log_head);

Line 2165: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2161: l_progress := '900';
2162:
2163: IF g_debug_stmt THEN
2164: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2165: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2166: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2167: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2168: PO_DEBUG.debug_end(l_log_head);
2169: END IF;

Line 2166: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

2162:
2163: IF g_debug_stmt THEN
2164: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2165: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2166: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2167: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2168: PO_DEBUG.debug_end(l_log_head);
2169: END IF;
2170:

Line 2167: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

2163: IF g_debug_stmt THEN
2164: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2165: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2166: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2167: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2168: PO_DEBUG.debug_end(l_log_head);
2169: END IF;
2170:
2171: EXCEPTION

Line 2168: PO_DEBUG.debug_end(l_log_head);

2164: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2165: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2166: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2167: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2168: PO_DEBUG.debug_end(l_log_head);
2169: END IF;
2170:
2171: EXCEPTION
2172: WHEN OTHERS THEN

Line 2175: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

2171: EXCEPTION
2172: WHEN OTHERS THEN
2173: -- bug 3454804 - robust exception handling
2174: BEGIN
2175: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2176:
2177: -- Do all of the common exception handling.
2178: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
2179:

Line 2180: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

2176:
2177: -- Do all of the common exception handling.
2178: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
2179:
2180: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2181:
2182: IF g_debug_stmt THEN
2183: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2184: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 2183: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

2179:
2180: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2181:
2182: IF g_debug_stmt THEN
2183: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2184: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2185: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2186: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2187: END IF;

Line 2184: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2180: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2181:
2182: IF g_debug_stmt THEN
2183: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2184: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2185: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2186: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2187: END IF;
2188:

Line 2185: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

2181:
2182: IF g_debug_stmt THEN
2183: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2184: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2185: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2186: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2187: END IF;
2188:
2189: -- Rollback as per API standards.

Line 2186: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

2182: IF g_debug_stmt THEN
2183: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2184: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2185: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2186: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2187: END IF;
2188:
2189: -- Rollback as per API standards.
2190: ROLLBACK TO DO_CBC_YEAREND_RESERVE_SP;

Line 2192: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

2188:
2189: -- Rollback as per API standards.
2190: ROLLBACK TO DO_CBC_YEAREND_RESERVE_SP;
2191:
2192: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
2193:
2194: EXCEPTION
2195: WHEN OTHERS THEN
2196: NULL;

Line 2282: PO_DEBUG.debug_begin(l_log_head);

2278:
2279: BEGIN
2280:
2281: IF g_debug_stmt THEN
2282: PO_DEBUG.debug_begin(l_log_head);
2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

2279: BEGIN
2280:
2281: IF g_debug_stmt THEN
2282: PO_DEBUG.debug_begin(l_log_head);
2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

Line 2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

2280:
2281: IF g_debug_stmt THEN
2282: PO_DEBUG.debug_begin(l_log_head);
2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

Line 2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

2281: IF g_debug_stmt THEN
2282: PO_DEBUG.debug_begin(l_log_head);
2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

Line 2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

2282: PO_DEBUG.debug_begin(l_log_head);
2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
2290: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

Line 2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);

2283: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
2290: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2291: END IF;

Line 2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);

2284: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
2290: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2291: END IF;
2292:

Line 2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);

2285: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
2290: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2291: END IF;
2292:
2293: l_progress := '010';

Line 2290: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);

2286: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
2287: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',p_override_funds);
2288: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date',p_use_gl_date);
2289: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',p_override_date);
2290: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id',p_employee_id);
2291: END IF;
2292:
2293: l_progress := '010';
2294:

Line 2334: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

2330:
2331: l_progress := '900';
2332:
2333: IF g_debug_stmt THEN
2334: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2335: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2336: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2337: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2338: PO_DEBUG.debug_end(l_log_head);

Line 2335: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2331: l_progress := '900';
2332:
2333: IF g_debug_stmt THEN
2334: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2335: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2336: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2337: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2338: PO_DEBUG.debug_end(l_log_head);
2339: END IF;

Line 2336: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

2332:
2333: IF g_debug_stmt THEN
2334: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2335: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2336: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2337: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2338: PO_DEBUG.debug_end(l_log_head);
2339: END IF;
2340:

Line 2337: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

2333: IF g_debug_stmt THEN
2334: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2335: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2336: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2337: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2338: PO_DEBUG.debug_end(l_log_head);
2339: END IF;
2340:
2341: EXCEPTION

Line 2338: PO_DEBUG.debug_end(l_log_head);

2334: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2335: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2336: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2337: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2338: PO_DEBUG.debug_end(l_log_head);
2339: END IF;
2340:
2341: EXCEPTION
2342: WHEN OTHERS THEN

Line 2345: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

2341: EXCEPTION
2342: WHEN OTHERS THEN
2343: -- bug 3454804 - robust exception handling
2344: BEGIN
2345: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2346:
2347: -- Do all of the common exception handling.
2348: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
2349:

Line 2350: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

2346:
2347: -- Do all of the common exception handling.
2348: handle_exception(l_api_name,l_progress,x_return_status,x_po_return_code);
2349:
2350: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2351:
2352: IF g_debug_stmt THEN
2353: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2354: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 2353: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);

2349:
2350: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2351:
2352: IF g_debug_stmt THEN
2353: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2354: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2355: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2356: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2357: END IF;

Line 2354: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2350: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2351:
2352: IF g_debug_stmt THEN
2353: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2354: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2355: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2356: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2357: END IF;
2358:

Line 2355: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

2351:
2352: IF g_debug_stmt THEN
2353: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2354: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2355: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2356: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2357: END IF;
2358:
2359: -- Rollback as per API standards.

Line 2356: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);

2352: IF g_debug_stmt THEN
2353: PO_DEBUG.debug_var(l_log_head,l_progress,'l_packet_id',l_packet_id);
2354: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2355: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
2356: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',x_online_report_id);
2357: END IF;
2358:
2359: -- Rollback as per API standards.
2360: ROLLBACK TO DO_CBC_YEAREND_UNRESERVE_SP;

Line 2362: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

2358:
2359: -- Rollback as per API standards.
2360: ROLLBACK TO DO_CBC_YEAREND_UNRESERVE_SP;
2361:
2362: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
2363:
2364: EXCEPTION
2365: WHEN OTHERS THEN
2366: NULL;

Line 2472: PO_DEBUG.debug_begin(l_log_head);

2468:
2469: BEGIN
2470:
2471: IF g_debug_stmt THEN
2472: PO_DEBUG.debug_begin(l_log_head);
2473: PO_DEBUG.debug_var(l_log_head,l_progress,'p_distribution_id',
2474: p_distribution_id);
2475: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id', p_invoice_id);
2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',

Line 2473: PO_DEBUG.debug_var(l_log_head,l_progress,'p_distribution_id',

2469: BEGIN
2470:
2471: IF g_debug_stmt THEN
2472: PO_DEBUG.debug_begin(l_log_head);
2473: PO_DEBUG.debug_var(l_log_head,l_progress,'p_distribution_id',
2474: p_distribution_id);
2475: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id', p_invoice_id);
2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',
2477: p_encumbrance_amt);

Line 2475: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id', p_invoice_id);

2471: IF g_debug_stmt THEN
2472: PO_DEBUG.debug_begin(l_log_head);
2473: PO_DEBUG.debug_var(l_log_head,l_progress,'p_distribution_id',
2474: p_distribution_id);
2475: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id', p_invoice_id);
2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',
2477: p_encumbrance_amt);
2478: PO_DEBUG.debug_var(l_log_head,l_progress,'p_qty_cancelled',
2479: p_qty_cancelled);

Line 2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',

2472: PO_DEBUG.debug_begin(l_log_head);
2473: PO_DEBUG.debug_var(l_log_head,l_progress,'p_distribution_id',
2474: p_distribution_id);
2475: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id', p_invoice_id);
2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',
2477: p_encumbrance_amt);
2478: PO_DEBUG.debug_var(l_log_head,l_progress,'p_qty_cancelled',
2479: p_qty_cancelled);
2480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_budget_account_id',

Line 2478: PO_DEBUG.debug_var(l_log_head,l_progress,'p_qty_cancelled',

2474: p_distribution_id);
2475: PO_DEBUG.debug_var(l_log_head,l_progress,'p_invoice_id', p_invoice_id);
2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',
2477: p_encumbrance_amt);
2478: PO_DEBUG.debug_var(l_log_head,l_progress,'p_qty_cancelled',
2479: p_qty_cancelled);
2480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_budget_account_id',
2481: p_budget_account_id);
2482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_gl_date', p_gl_date);

Line 2480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_budget_account_id',

2476: PO_DEBUG.debug_var(l_log_head,l_progress,'p_encumbrance_amt',
2477: p_encumbrance_amt);
2478: PO_DEBUG.debug_var(l_log_head,l_progress,'p_qty_cancelled',
2479: p_qty_cancelled);
2480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_budget_account_id',
2481: p_budget_account_id);
2482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_gl_date', p_gl_date);
2483: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_name',
2484: p_period_name);

Line 2482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_gl_date', p_gl_date);

2478: PO_DEBUG.debug_var(l_log_head,l_progress,'p_qty_cancelled',
2479: p_qty_cancelled);
2480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_budget_account_id',
2481: p_budget_account_id);
2482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_gl_date', p_gl_date);
2483: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_name',
2484: p_period_name);
2485: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_year',
2486: p_period_year);

Line 2483: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_name',

2479: p_qty_cancelled);
2480: PO_DEBUG.debug_var(l_log_head,l_progress,'p_budget_account_id',
2481: p_budget_account_id);
2482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_gl_date', p_gl_date);
2483: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_name',
2484: p_period_name);
2485: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_year',
2486: p_period_year);
2487: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_num',

Line 2485: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_year',

2481: p_budget_account_id);
2482: PO_DEBUG.debug_var(l_log_head,l_progress,'p_gl_date', p_gl_date);
2483: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_name',
2484: p_period_name);
2485: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_year',
2486: p_period_year);
2487: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_num',
2488: p_period_num);
2489: PO_DEBUG.debug_var(l_log_head,l_progress,'p_quarter_num',

Line 2487: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_num',

2483: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_name',
2484: p_period_name);
2485: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_year',
2486: p_period_year);
2487: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_num',
2488: p_period_num);
2489: PO_DEBUG.debug_var(l_log_head,l_progress,'p_quarter_num',
2490: p_quarter_num);
2491: -- Bug 3480949: log p_tax_line_flag

Line 2489: PO_DEBUG.debug_var(l_log_head,l_progress,'p_quarter_num',

2485: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_year',
2486: p_period_year);
2487: PO_DEBUG.debug_var(l_log_head,l_progress,'p_period_num',
2488: p_period_num);
2489: PO_DEBUG.debug_var(l_log_head,l_progress,'p_quarter_num',
2490: p_quarter_num);
2491: -- Bug 3480949: log p_tax_line_flag
2492: PO_DEBUG.debug_var(l_log_head,l_progress,'p_tax_line_flag',
2493: p_tax_line_flag);

Line 2492: PO_DEBUG.debug_var(l_log_head,l_progress,'p_tax_line_flag',

2488: p_period_num);
2489: PO_DEBUG.debug_var(l_log_head,l_progress,'p_quarter_num',
2490: p_quarter_num);
2491: -- Bug 3480949: log p_tax_line_flag
2492: PO_DEBUG.debug_var(l_log_head,l_progress,'p_tax_line_flag',
2493: p_tax_line_flag);
2494: END IF;
2495:
2496: l_progress := '001';

Line 2585: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Action type: ' || l_action);

2581: END IF;
2582:
2583: l_progress := '060';
2584: IF g_debug_stmt THEN
2585: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Action type: ' || l_action);
2586: END IF;
2587:
2588:
2589: -- Get the distribution_type

Line 2606: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Document type: ' || l_doc_type ||

2602: );
2603:
2604: l_progress := '080';
2605: IF g_debug_stmt THEN
2606: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Document type: ' || l_doc_type ||
2607: ', Document subtype: ' || l_doc_subtype);
2608: END IF;
2609:
2610: do_action(x_return_status => x_return_status,

Line 2646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',

2642:
2643: l_progress := '100';
2644:
2645: IF g_debug_stmt THEN
2646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',
2647: x_packet_id);
2648: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',
2649: l_online_report_id);
2650: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',

Line 2648: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',

2644:
2645: IF g_debug_stmt THEN
2646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',
2647: x_packet_id);
2648: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',
2649: l_online_report_id);
2650: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',
2651: l_po_return_code);
2652: PO_DEBUG.debug_end(l_log_head);

Line 2650: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',

2646: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',
2647: x_packet_id);
2648: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',
2649: l_online_report_id);
2650: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',
2651: l_po_return_code);
2652: PO_DEBUG.debug_end(l_log_head);
2653: END IF;
2654:

Line 2652: PO_DEBUG.debug_end(l_log_head);

2648: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',
2649: l_online_report_id);
2650: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',
2651: l_po_return_code);
2652: PO_DEBUG.debug_end(l_log_head);
2653: END IF;
2654:
2655:
2656: EXCEPTION

Line 2660: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

2656: EXCEPTION
2657: WHEN OTHERS THEN
2658: -- bug 3454804 - robust exception handling
2659: BEGIN
2660: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2661:
2662: -- Do all of the common exception handling.
2663: handle_exception(l_api_name,l_progress,x_return_status,l_po_return_code);
2664:

Line 2665: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');

2661:
2662: -- Do all of the common exception handling.
2663: handle_exception(l_api_name,l_progress,x_return_status,l_po_return_code);
2664:
2665: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2666:
2667: IF g_debug_stmt THEN
2668: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',x_packet_id);
2669: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

Line 2668: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',x_packet_id);

2664:
2665: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2666:
2667: IF g_debug_stmt THEN
2668: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',x_packet_id);
2669: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2670: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',l_po_return_code);
2671: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',l_online_report_id);
2672: END IF;

Line 2669: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2665: PO_DEBUG.debug_unexp(l_log_head,l_progress,'handle_exception done');
2666:
2667: IF g_debug_stmt THEN
2668: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',x_packet_id);
2669: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2670: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',l_po_return_code);
2671: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',l_online_report_id);
2672: END IF;
2673:

Line 2670: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',l_po_return_code);

2666:
2667: IF g_debug_stmt THEN
2668: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',x_packet_id);
2669: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2670: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',l_po_return_code);
2671: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',l_online_report_id);
2672: END IF;
2673:
2674: -- Rollback as per API standards.

Line 2671: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',l_online_report_id);

2667: IF g_debug_stmt THEN
2668: PO_DEBUG.debug_var(l_log_head,l_progress,'x_packet_id',x_packet_id);
2669: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2670: PO_DEBUG.debug_var(l_log_head,l_progress,'l_po_return_code',l_po_return_code);
2671: PO_DEBUG.debug_var(l_log_head,l_progress,'l_online_report_id',l_online_report_id);
2672: END IF;
2673:
2674: -- Rollback as per API standards.
2675: ROLLBACK TO REINSTATE_PO_ENCUMBRANCE_SP;

Line 2677: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

2673:
2674: -- Rollback as per API standards.
2675: ROLLBACK TO REINSTATE_PO_ENCUMBRANCE_SP;
2676:
2677: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
2678:
2679: EXCEPTION
2680: WHEN OTHERS THEN
2681: NULL;

Line 2737: PO_DEBUG.debug_begin(l_log_head);

2733:
2734: BEGIN
2735:
2736: IF g_debug_stmt THEN
2737: PO_DEBUG.debug_begin(l_log_head);
2738: PO_DEBUG.debug_var(l_log_head,l_progress,'p_agreement_id_tbl',p_agreement_id_tbl);
2739: END IF;
2740:
2741: l_progress := '001';

Line 2738: PO_DEBUG.debug_var(l_log_head,l_progress,'p_agreement_id_tbl',p_agreement_id_tbl);

2734: BEGIN
2735:
2736: IF g_debug_stmt THEN
2737: PO_DEBUG.debug_begin(l_log_head);
2738: PO_DEBUG.debug_var(l_log_head,l_progress,'p_agreement_id_tbl',p_agreement_id_tbl);
2739: END IF;
2740:
2741: l_progress := '001';
2742:

Line 2753: PO_DEBUG.debug_var(l_log_head,l_progress,'l_procedure_id',l_procedure_id);

2749:
2750: l_progress := '010';
2751:
2752: IF g_debug_stmt THEN
2753: PO_DEBUG.debug_var(l_log_head,l_progress,'l_procedure_id',l_procedure_id);
2754: END IF;
2755:
2756: --SQL What: Populate the global temp table with the po_header_ids from the
2757: -- input table (and note the ordering)

Line 2783: PO_DEBUG.debug_stmt(l_log_head,l_progress,

2779:
2780: l_progress := '020';
2781:
2782: IF g_debug_stmt THEN
2783: PO_DEBUG.debug_stmt(l_log_head,l_progress,
2784: 'Bulk Insertion into Session Table success');
2785: END IF;
2786:
2787: --SQL What: Check whether the input PAs are/can be encumbered in the current OU.

Line 2805: PO_DEBUG.debug_stmt(l_log_head,l_progress,

2801:
2802: l_progress := '030';
2803:
2804: IF g_debug_stmt THEN
2805: PO_DEBUG.debug_stmt(l_log_head,l_progress,
2806: 'Encumbrance information updated successfully');
2807:
2808: SELECT rowid BULK COLLECT INTO PO_DEBUG.g_rowid_tbl
2809: FROM PO_SESSION_GT WHERE key = l_procedure_id

Line 2808: SELECT rowid BULK COLLECT INTO PO_DEBUG.g_rowid_tbl

2804: IF g_debug_stmt THEN
2805: PO_DEBUG.debug_stmt(l_log_head,l_progress,
2806: 'Encumbrance information updated successfully');
2807:
2808: SELECT rowid BULK COLLECT INTO PO_DEBUG.g_rowid_tbl
2809: FROM PO_SESSION_GT WHERE key = l_procedure_id
2810: ;
2811:
2812: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_SESSION_GT'

Line 2812: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_SESSION_GT'

2808: SELECT rowid BULK COLLECT INTO PO_DEBUG.g_rowid_tbl
2809: FROM PO_SESSION_GT WHERE key = l_procedure_id
2810: ;
2811:
2812: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_SESSION_GT'
2813: , PO_DEBUG.g_rowid_tbl
2814: , po_tbl_varchar30('key','num1','char1','num2')
2815: );
2816:

Line 2813: , PO_DEBUG.g_rowid_tbl

2809: FROM PO_SESSION_GT WHERE key = l_procedure_id
2810: ;
2811:
2812: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_SESSION_GT'
2813: , PO_DEBUG.g_rowid_tbl
2814: , po_tbl_varchar30('key','num1','char1','num2')
2815: );
2816:
2817: END IF;

Line 2843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2839:
2840: l_progress := '900';
2841:
2842: IF g_debug_stmt THEN
2843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2844: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);
2845: PO_DEBUG.debug_end(l_log_head);
2846: END IF;
2847:

Line 2844: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);

2840: l_progress := '900';
2841:
2842: IF g_debug_stmt THEN
2843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2844: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);
2845: PO_DEBUG.debug_end(l_log_head);
2846: END IF;
2847:
2848: EXCEPTION

Line 2845: PO_DEBUG.debug_end(l_log_head);

2841:
2842: IF g_debug_stmt THEN
2843: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2844: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);
2845: PO_DEBUG.debug_end(l_log_head);
2846: END IF;
2847:
2848: EXCEPTION
2849: WHEN OTHERS THEN

Line 2851: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

2847:
2848: EXCEPTION
2849: WHEN OTHERS THEN
2850: BEGIN
2851: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2852: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2853: IF g_debug_stmt THEN
2854: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2855: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);

Line 2854: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

2850: BEGIN
2851: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2852: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2853: IF g_debug_stmt THEN
2854: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2855: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);
2856: END IF;
2857: ROLLBACK TO IS_AGREEMENT_ENCUMBERED_SP;
2858: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN

Line 2855: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);

2851: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2852: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2853: IF g_debug_stmt THEN
2854: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
2855: PO_DEBUG.debug_var(l_log_head,l_progress,'x_agreement_encumbered_tbl',x_agreement_encumbered_tbl);
2856: END IF;
2857: ROLLBACK TO IS_AGREEMENT_ENCUMBERED_SP;
2858: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
2859: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);

Line 2861: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

2857: ROLLBACK TO IS_AGREEMENT_ENCUMBERED_SP;
2858: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
2859: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);
2860: END IF;
2861: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
2862: EXCEPTION
2863: WHEN OTHERS THEN
2864: NULL;
2865: END;

Line 2962: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

2958:
2959: EXCEPTION
2960: WHEN OTHERS THEN
2961: BEGIN
2962: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
2963: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2964: ROLLBACK TO IS_AGREEMENT_ENCUMBERED_SP;
2965: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
2966: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);

Line 2968: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

2964: ROLLBACK TO IS_AGREEMENT_ENCUMBERED_SP;
2965: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
2966: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);
2967: END IF;
2968: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
2969: EXCEPTION
2970: WHEN OTHERS THEN
2971: NULL;
2972: END;

Line 3143: PO_DEBUG.debug_begin(l_log_head);

3139: /* bug#6069405 end*/
3140: BEGIN
3141:
3142: IF g_debug_stmt THEN
3143: PO_DEBUG.debug_begin(l_log_head);
3144: PO_DEBUG.debug_var(l_log_head,l_progress,'p_action', p_action);
3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',
3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);

Line 3144: PO_DEBUG.debug_var(l_log_head,l_progress,'p_action', p_action);

3140: BEGIN
3141:
3142: IF g_debug_stmt THEN
3143: PO_DEBUG.debug_begin(l_log_head);
3144: PO_DEBUG.debug_var(l_log_head,l_progress,'p_action', p_action);
3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',
3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

Line 3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',

3141:
3142: IF g_debug_stmt THEN
3143: PO_DEBUG.debug_begin(l_log_head);
3144: PO_DEBUG.debug_var(l_log_head,l_progress,'p_action', p_action);
3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',
3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);

Line 3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);

3143: PO_DEBUG.debug_begin(l_log_head);
3144: PO_DEBUG.debug_var(l_log_head,l_progress,'p_action', p_action);
3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',
3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);

Line 3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

3144: PO_DEBUG.debug_var(l_log_head,l_progress,'p_action', p_action);
3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',
3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',

Line 3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);

3145: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag',
3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',
3153: p_use_enc_gt_flag);

Line 3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

3146: p_check_only_flag);
3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',
3153: p_use_enc_gt_flag);
3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);

Line 3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);

3147: PO_DEBUG.debug_var(l_log_head,l_progress,'p_cbc_flag', p_cbc_flag);
3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',
3153: p_use_enc_gt_flag);
3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);
3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',

Line 3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',

3148: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
3149: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',
3153: p_use_enc_gt_flag);
3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);
3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',
3156: p_override_funds);

Line 3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);

3150: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',
3153: p_use_enc_gt_flag);
3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);
3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',
3156: p_override_funds);
3157: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',
3158: p_prevent_partial_flag);

Line 3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',

3151: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id', p_doc_level_id);
3152: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_enc_gt_flag',
3153: p_use_enc_gt_flag);
3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);
3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',
3156: p_override_funds);
3157: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',
3158: p_prevent_partial_flag);
3159: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date', p_use_gl_date);

Line 3157: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',

3153: p_use_enc_gt_flag);
3154: PO_DEBUG.debug_var(l_log_head,l_progress,'p_employee_id', p_employee_id);
3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',
3156: p_override_funds);
3157: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',
3158: p_prevent_partial_flag);
3159: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date', p_use_gl_date);
3160: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',
3161: p_override_date);

Line 3159: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date', p_use_gl_date);

3155: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_funds',
3156: p_override_funds);
3157: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',
3158: p_prevent_partial_flag);
3159: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date', p_use_gl_date);
3160: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',
3161: p_override_date);
3162: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',
3163: p_validate_document);

Line 3160: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',

3156: p_override_funds);
3157: PO_DEBUG.debug_var(l_log_head,l_progress,'p_prevent_partial_flag',
3158: p_prevent_partial_flag);
3159: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date', p_use_gl_date);
3160: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',
3161: p_override_date);
3162: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',
3163: p_validate_document);
3164: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_force_mode',

Line 3162: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',

3158: p_prevent_partial_flag);
3159: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_gl_date', p_use_gl_date);
3160: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',
3161: p_override_date);
3162: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',
3163: p_validate_document);
3164: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_force_mode',
3165: p_use_force_mode);
3166: END IF;

Line 3164: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_force_mode',

3160: PO_DEBUG.debug_var(l_log_head,l_progress,'p_override_date',
3161: p_override_date);
3162: PO_DEBUG.debug_var(l_log_head,l_progress,'p_validate_document',
3163: p_validate_document);
3164: PO_DEBUG.debug_var(l_log_head,l_progress,'p_use_force_mode',
3165: p_use_force_mode);
3166: END IF;
3167:
3168: x_po_return_code := NULL;

Line 3195: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Retrieved financial set-up');

3191: ;
3192:
3193: l_progress := '020';
3194: IF g_debug_stmt THEN
3195: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Retrieved financial set-up');
3196: END IF;
3197:
3198: --
3199: --Determine other Encumbrance-related settings

Line 3391: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Finished variable set-up');

3387: END IF;
3388:
3389: l_progress := '030';
3390: IF g_debug_stmt THEN
3391: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Finished variable set-up');
3392: END IF;
3393:
3394:
3395: --

Line 3463: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_ENCUMBRANCE_GT',PO_DEBUG.g_all_rows,NULL,'PO');

3459: END IF;
3460:
3461: l_progress := '046';
3462: IF g_debug_stmt THEN
3463: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_ENCUMBRANCE_GT',PO_DEBUG.g_all_rows,NULL,'PO');
3464: END IF;
3465:
3466: -- Bug 5035240 Begin : Moved this code to check after PO_ENCUMBRANCE_GT is populated
3467: IF p_action = g_action_RESERVE THEN

Line 3506: PO_DEBUG.debug_stmt(l_log_head,l_progress,'JAI is used');

3502: p_Event_Name => 'JAI_EXISTENCE_OF_TABLES' ) = TRUE )
3503: AND l_currency_code_func = 'INR' THEN /*l_currency_code_func has the functional currency code.*/
3504:
3505: IF g_debug_stmt THEN
3506: PO_DEBUG.debug_stmt(l_log_head,l_progress,'JAI is used');
3507: END IF;
3508:
3509: --initialize the counter to zero. This counter would be used as index for the distribution PL/SQL table.
3510:

Line 3526: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Execute the JAI API to fetch the non-recoverable taxes');

3522: IF l_Distribution_Id_Tbl.COUNT > 0 and l_distribution_type_tbl.count > 0 THEN
3523:
3524: l_progress := '052';
3525: IF g_debug_stmt THEN
3526: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Execute the JAI API to fetch the non-recoverable taxes');
3527: END IF;
3528:
3529: jai_encum_prc.fetch_nr_tax(l_Distribution_Type_Tbl,l_Distribution_Id_Tbl,p_action,p_doc_type,l_NonRecoverable_Tax_Tbl,l_Return_Status);
3530:

Line 3536: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Update po_encumbrance_gt with the JAI non-recoverable tax');

3532:
3533: IF l_Return_Status = 'S' THEN
3534:
3535: IF g_debug_stmt THEN
3536: PO_DEBUG.debug_stmt(l_log_head,l_progress,'Update po_encumbrance_gt with the JAI non-recoverable tax');
3537: END IF;
3538:
3539: --Use forall to bulk update the nonrecoverable tax in the encumbrance table
3540: FORALL indx IN 1..l_nonrecoverable_tax_tbl.COUNT

Line 3551: PO_DEBUG.debug_stmt(l_log_head,l_progress,'JAI Processing - Finished');

3547: END IF;
3548:
3549: l_progress := '054';
3550: IF g_debug_stmt THEN
3551: PO_DEBUG.debug_stmt(l_log_head,l_progress,'JAI Processing - Finished');
3552: END IF;
3553:
3554: END IF;
3555:

Line 3561: PO_DEBUG.debug_var(l_log_head,l_progress,'l_partial_flag ',l_partial_flag);

3557:
3558: l_progress := '055';
3559:
3560: IF g_debug_stmt THEN
3561: PO_DEBUG.debug_var(l_log_head,l_progress,'l_partial_flag ',l_partial_flag);
3562: END IF;
3563:
3564: BEGIN
3565: PO_ENCUMBRANCE_PREPROCESSING.derive_packet_values(

Line 3589: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_ENCUMBRANCE_GT',PO_DEBUG.g_all_rows,NULL,'PO');

3585:
3586: l_progress := '060';
3587:
3588: IF g_debug_stmt THEN
3589: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_ENCUMBRANCE_GT',PO_DEBUG.g_all_rows,NULL,'PO');
3590: END IF;
3591:
3592: IF (l_period_exception_flag = 'Y') THEN
3593: l_progress := '065';

Line 3664: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_ENCUMBRANCE_GT',PO_DEBUG.g_all_rows,NULL,'PO');

3660: , p_gl_return_code => l_gl_return_code
3661: );
3662:
3663: IF g_debug_stmt THEN
3664: PO_DEBUG.debug_table(l_log_head,l_progress,'PO_ENCUMBRANCE_GT',PO_DEBUG.g_all_rows,NULL,'PO');
3665: END IF;
3666:
3667: IF (p_check_only_flag = 'N') THEN
3668:

Line 3813: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',

3809: FND_MSG_PUB.add;
3810:
3811:
3812: IF g_debug_stmt THEN
3813: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',
3814: x_online_report_id);
3815: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',
3816: x_po_return_code);
3817: PO_DEBUG.debug_end(l_log_head);

Line 3815: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',

3811:
3812: IF g_debug_stmt THEN
3813: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',
3814: x_online_report_id);
3815: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',
3816: x_po_return_code);
3817: PO_DEBUG.debug_end(l_log_head);
3818: END IF;
3819:

Line 3817: PO_DEBUG.debug_end(l_log_head);

3813: PO_DEBUG.debug_var(l_log_head,l_progress,'x_online_report_id',
3814: x_online_report_id);
3815: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',
3816: x_po_return_code);
3817: PO_DEBUG.debug_end(l_log_head);
3818: END IF;
3819:
3820: EXCEPTION
3821: WHEN OTHERS THEN

Line 3826: PO_DEBUG.debug_exc(l_log_head,l_progress);

3822: -- Highest level of exception handling happens here.
3823: -- do_action never intentionally raises exceptions.
3824:
3825: IF g_debug_unexp THEN
3826: PO_DEBUG.debug_exc(l_log_head,l_progress);
3827: END IF;
3828:
3829: --
3830: -- Set the return statuses.

Line 3979: PO_DEBUG.debug_begin(l_log_head);

3975:
3976: l_report_successes := nvl(p_report_successes, g_parameter_YES);
3977:
3978: IF g_debug_stmt THEN
3979: PO_DEBUG.debug_begin(l_log_head);
3980: PO_DEBUG.debug_var(l_log_head,l_progress,'p_online_report_id',
3981: p_online_report_id);
3982: PO_DEBUG.debug_var(l_log_head,l_progress,'l_report_successes',
3983: l_report_successes);

Line 3980: PO_DEBUG.debug_var(l_log_head,l_progress,'p_online_report_id',

3976: l_report_successes := nvl(p_report_successes, g_parameter_YES);
3977:
3978: IF g_debug_stmt THEN
3979: PO_DEBUG.debug_begin(l_log_head);
3980: PO_DEBUG.debug_var(l_log_head,l_progress,'p_online_report_id',
3981: p_online_report_id);
3982: PO_DEBUG.debug_var(l_log_head,l_progress,'l_report_successes',
3983: l_report_successes);
3984: END IF;

Line 3982: PO_DEBUG.debug_var(l_log_head,l_progress,'l_report_successes',

3978: IF g_debug_stmt THEN
3979: PO_DEBUG.debug_begin(l_log_head);
3980: PO_DEBUG.debug_var(l_log_head,l_progress,'p_online_report_id',
3981: p_online_report_id);
3982: PO_DEBUG.debug_var(l_log_head,l_progress,'l_report_successes',
3983: l_report_successes);
3984: END IF;
3985:
3986: l_progress := '010';

Line 4028: PO_DEBUG.debug_end(l_log_head);

4024: l_progress := '020';
4025: x_return_status := FND_API.g_ret_sts_success;
4026:
4027: IF g_debug_stmt THEN
4028: PO_DEBUG.debug_end(l_log_head);
4029: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',
4030: x_return_status);
4031: END IF;
4032:

Line 4029: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',

4025: x_return_status := FND_API.g_ret_sts_success;
4026:
4027: IF g_debug_stmt THEN
4028: PO_DEBUG.debug_end(l_log_head);
4029: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',
4030: x_return_status);
4031: END IF;
4032:
4033: EXCEPTION

Line 4036: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

4032:
4033: EXCEPTION
4034: WHEN OTHERS THEN
4035: BEGIN
4036: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
4037: --unexpected error from this procedure
4038: x_return_status := FND_API.g_ret_sts_unexp_error;
4039: --add message to the stack and log a debug msg if necessary
4040: po_message_s.sql_error(g_pkg_name, l_api_name, l_progress, SQLCODE, SQLERRM);

Line 4042: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

4038: x_return_status := FND_API.g_ret_sts_unexp_error;
4039: --add message to the stack and log a debug msg if necessary
4040: po_message_s.sql_error(g_pkg_name, l_api_name, l_progress, SQLCODE, SQLERRM);
4041: fnd_msg_pub.add;
4042: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
4043: EXCEPTION
4044: WHEN OTHERS THEN
4045: NULL;
4046: END;

Line 4110: PO_DEBUG.debug_begin(l_log_head);

4106:
4107: BEGIN
4108:
4109: IF g_debug_stmt THEN
4110: PO_DEBUG.debug_begin(l_log_head);
4111: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4112: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4113: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4114: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 4111: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

4107: BEGIN
4108:
4109: IF g_debug_stmt THEN
4110: PO_DEBUG.debug_begin(l_log_head);
4111: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4112: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4113: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4114: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4115: END IF;

Line 4112: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

4108:
4109: IF g_debug_stmt THEN
4110: PO_DEBUG.debug_begin(l_log_head);
4111: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4112: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4113: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4114: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4115: END IF;
4116:

Line 4113: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

4109: IF g_debug_stmt THEN
4110: PO_DEBUG.debug_begin(l_log_head);
4111: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4112: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4113: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4114: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4115: END IF;
4116:
4117: l_progress := '010';

Line 4114: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

4110: PO_DEBUG.debug_begin(l_log_head);
4111: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4112: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4113: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4114: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4115: END IF;
4116:
4117: l_progress := '010';
4118:

Line 4139: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4135:
4136: l_progress := '900';
4137:
4138: IF g_debug_stmt THEN
4139: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4140: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reservable_flag',x_reservable_flag);
4141: PO_DEBUG.debug_end(l_log_head);
4142: END IF;
4143:

Line 4140: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reservable_flag',x_reservable_flag);

4136: l_progress := '900';
4137:
4138: IF g_debug_stmt THEN
4139: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4140: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reservable_flag',x_reservable_flag);
4141: PO_DEBUG.debug_end(l_log_head);
4142: END IF;
4143:
4144: EXCEPTION

Line 4141: PO_DEBUG.debug_end(l_log_head);

4137:
4138: IF g_debug_stmt THEN
4139: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4140: PO_DEBUG.debug_var(l_log_head,l_progress,'x_reservable_flag',x_reservable_flag);
4141: PO_DEBUG.debug_end(l_log_head);
4142: END IF;
4143:
4144: EXCEPTION
4145: WHEN OTHERS THEN

Line 4147: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

4143:
4144: EXCEPTION
4145: WHEN OTHERS THEN
4146: BEGIN
4147: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
4148: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4149: ROLLBACK TO IS_RESERVABLE_SP;
4150: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
4151: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);

Line 4153: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

4149: ROLLBACK TO IS_RESERVABLE_SP;
4150: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
4151: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);
4152: END IF;
4153: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
4154: EXCEPTION
4155: WHEN OTHERS THEN
4156: NULL;
4157: END;

Line 4221: PO_DEBUG.debug_begin(l_log_head);

4217:
4218: BEGIN
4219:
4220: IF g_debug_stmt THEN
4221: PO_DEBUG.debug_begin(l_log_head);
4222: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4223: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4224: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4225: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

Line 4222: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);

4218: BEGIN
4219:
4220: IF g_debug_stmt THEN
4221: PO_DEBUG.debug_begin(l_log_head);
4222: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4223: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4224: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4225: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4226: END IF;

Line 4223: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);

4219:
4220: IF g_debug_stmt THEN
4221: PO_DEBUG.debug_begin(l_log_head);
4222: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4223: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4224: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4225: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4226: END IF;
4227:

Line 4224: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);

4220: IF g_debug_stmt THEN
4221: PO_DEBUG.debug_begin(l_log_head);
4222: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4223: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4224: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4225: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4226: END IF;
4227:
4228: l_progress := '010';

Line 4225: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);

4221: PO_DEBUG.debug_begin(l_log_head);
4222: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type',p_doc_type);
4223: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype',p_doc_subtype);
4224: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level',p_doc_level);
4225: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id',p_doc_level_id);
4226: END IF;
4227:
4228: l_progress := '010';
4229:

Line 4250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4246:
4247: l_progress := '900';
4248:
4249: IF g_debug_stmt THEN
4250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreservable_flag',x_unreservable_flag);
4252: PO_DEBUG.debug_end(l_log_head);
4253: END IF;
4254:

Line 4251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreservable_flag',x_unreservable_flag);

4247: l_progress := '900';
4248:
4249: IF g_debug_stmt THEN
4250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreservable_flag',x_unreservable_flag);
4252: PO_DEBUG.debug_end(l_log_head);
4253: END IF;
4254:
4255: EXCEPTION

Line 4252: PO_DEBUG.debug_end(l_log_head);

4248:
4249: IF g_debug_stmt THEN
4250: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4251: PO_DEBUG.debug_var(l_log_head,l_progress,'x_unreservable_flag',x_unreservable_flag);
4252: PO_DEBUG.debug_end(l_log_head);
4253: END IF;
4254:
4255: EXCEPTION
4256: WHEN OTHERS THEN

Line 4258: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

4254:
4255: EXCEPTION
4256: WHEN OTHERS THEN
4257: BEGIN
4258: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
4259: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4260: ROLLBACK TO IS_UNRESERVABLE_SP;
4261: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
4262: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);

Line 4264: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

4260: ROLLBACK TO IS_UNRESERVABLE_SP;
4261: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
4262: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name);
4263: END IF;
4264: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
4265: EXCEPTION
4266: WHEN OTHERS THEN
4267: NULL;
4268: END;

Line 4361: PO_DEBUG.debug_begin(l_log_head);

4357: SAVEPOINT populate_encumbrance_gt_PVT;
4358: x_return_status := FND_API.G_RET_STS_SUCCESS;
4359:
4360: IF g_debug_stmt THEN
4361: PO_DEBUG.debug_begin(l_log_head);
4362: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'

Line 4362: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

4358: x_return_status := FND_API.G_RET_STS_SUCCESS;
4359:
4360: IF g_debug_stmt THEN
4361: PO_DEBUG.debug_begin(l_log_head);
4362: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'
4366: ,p_adjustment_status_tbl);

Line 4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

4359:
4360: IF g_debug_stmt THEN
4361: PO_DEBUG.debug_begin(l_log_head);
4362: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'
4366: ,p_adjustment_status_tbl);
4367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag', p_check_only_flag);

Line 4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

4360: IF g_debug_stmt THEN
4361: PO_DEBUG.debug_begin(l_log_head);
4362: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'
4366: ,p_adjustment_status_tbl);
4367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag', p_check_only_flag);
4368: END IF;

Line 4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'

4361: PO_DEBUG.debug_begin(l_log_head);
4362: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'
4366: ,p_adjustment_status_tbl);
4367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag', p_check_only_flag);
4368: END IF;
4369:

Line 4367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag', p_check_only_flag);

4363: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4364: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4365: PO_DEBUG.debug_var(l_log_head,l_progress,'p_adjustment_status_tbl'
4366: ,p_adjustment_status_tbl);
4367: PO_DEBUG.debug_var(l_log_head,l_progress,'p_check_only_flag', p_check_only_flag);
4368: END IF;
4369:
4370: l_progress := '010';
4371:

Line 4410: PO_DEBUG.debug_stmt(l_log_head,l_progress,'check only');

4406:
4407: ELSE
4408: l_progress := '060';
4409: IF g_debug_stmt THEN
4410: PO_DEBUG.debug_stmt(l_log_head,l_progress,'check only');
4411: END IF;
4412: END IF;
4413:
4414: l_progress := '070';

Line 4443: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');

4439: IF (p_doc_type = g_doc_type_REQUISITION) THEN
4440:
4441: l_progress := '200';
4442: IF g_debug_stmt THEN
4443: PO_DEBUG.debug_stmt(l_log_head,l_progress,'requisition');
4444: END IF;
4445:
4446: FORALL i IN 1 .. p_adjustment_status_tbl.COUNT
4447: INSERT INTO PO_ENCUMBRANCE_GT

Line 4543: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not requisition');

4539: ELSE -- doc is not a req, so it lives in the PO (and Release) tables.
4540:
4541: l_progress := '250';
4542: IF g_debug_stmt THEN
4543: PO_DEBUG.debug_stmt(l_log_head,l_progress,'not requisition');
4544: END IF;
4545:
4546: FORALL i IN 1 .. p_adjustment_status_tbl.COUNT
4547: INSERT INTO PO_ENCUMBRANCE_GT

Line 4682: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4678:
4679: l_progress := '900';
4680:
4681: IF g_debug_stmt THEN
4682: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4683: PO_DEBUG.debug_end(l_log_head);
4684: END IF;
4685:
4686: EXCEPTION

Line 4683: PO_DEBUG.debug_end(l_log_head);

4679: l_progress := '900';
4680:
4681: IF g_debug_stmt THEN
4682: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4683: PO_DEBUG.debug_end(l_log_head);
4684: END IF;
4685:
4686: EXCEPTION
4687: WHEN OTHERS THEN

Line 4689: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

4685:
4686: EXCEPTION
4687: WHEN OTHERS THEN
4688: BEGIN
4689: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
4690: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4691: ROLLBACK TO populate_encumbrance_gt_PVT;
4692: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
4693: EXCEPTION

Line 4692: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

4688: BEGIN
4689: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
4690: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4691: ROLLBACK TO populate_encumbrance_gt_PVT;
4692: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
4693: EXCEPTION
4694: WHEN OTHERS THEN
4695: NULL;
4696: END;

Line 4775: PO_DEBUG.debug_begin(l_log_head);

4771:
4772: l_progress := '010';
4773:
4774: IF g_debug_stmt THEN
4775: PO_DEBUG.debug_begin(l_log_head);
4776: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4777: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
4778: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4779: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

Line 4776: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);

4772: l_progress := '010';
4773:
4774: IF g_debug_stmt THEN
4775: PO_DEBUG.debug_begin(l_log_head);
4776: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4777: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
4778: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4779: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4780: END IF;

Line 4777: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);

4773:
4774: IF g_debug_stmt THEN
4775: PO_DEBUG.debug_begin(l_log_head);
4776: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4777: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
4778: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4779: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4780: END IF;
4781:

Line 4778: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);

4774: IF g_debug_stmt THEN
4775: PO_DEBUG.debug_begin(l_log_head);
4776: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4777: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
4778: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4779: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4780: END IF;
4781:
4782: l_progress := '020';

Line 4779: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);

4775: PO_DEBUG.debug_begin(l_log_head);
4776: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_type', p_doc_type);
4777: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_subtype', p_doc_subtype);
4778: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level', p_doc_level);
4779: PO_DEBUG.debug_var(l_log_head,l_progress,'p_doc_level_id_tbl', p_doc_level_id_tbl);
4780: END IF;
4781:
4782: l_progress := '020';
4783:

Line 4829: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4825:
4826: l_progress := '900';
4827:
4828: IF g_debug_stmt THEN
4829: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4830: PO_DEBUG.debug_end(l_log_head);
4831: END IF;
4832:
4833: EXCEPTION

Line 4830: PO_DEBUG.debug_end(l_log_head);

4826: l_progress := '900';
4827:
4828: IF g_debug_stmt THEN
4829: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4830: PO_DEBUG.debug_end(l_log_head);
4831: END IF;
4832:
4833: EXCEPTION
4834: WHEN OTHERS THEN

Line 4836: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');

4832:
4833: EXCEPTION
4834: WHEN OTHERS THEN
4835: BEGIN
4836: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS Start');
4837: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4838: ROLLBACK TO POPULATE_ENC_GT_ACTION_IDS_PVT;
4839: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
4840: FND_MSG_PUB.add_exc_msg(G_PKG_NAME,l_api_name,SQLERRM);

Line 4842: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');

4838: ROLLBACK TO POPULATE_ENC_GT_ACTION_IDS_PVT;
4839: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
4840: FND_MSG_PUB.add_exc_msg(G_PKG_NAME,l_api_name,SQLERRM);
4841: END IF;
4842: PO_DEBUG.debug_unexp(l_log_head,l_progress,'OTHERS End');
4843: EXCEPTION
4844: WHEN OTHERS THEN
4845: NULL;
4846: END;

Line 4902: PO_DEBUG.debug_begin(l_log_head);

4898:
4899: l_progress := '010';
4900:
4901: IF g_debug_stmt THEN
4902: PO_DEBUG.debug_begin(l_log_head);
4903: PO_DEBUG.debug_var(l_log_head,l_progress,'p_api_name',p_api_name);
4904: PO_DEBUG.debug_var(l_log_head,l_progress,'p_progress',p_progress);
4905: END IF;
4906:

Line 4903: PO_DEBUG.debug_var(l_log_head,l_progress,'p_api_name',p_api_name);

4899: l_progress := '010';
4900:
4901: IF g_debug_stmt THEN
4902: PO_DEBUG.debug_begin(l_log_head);
4903: PO_DEBUG.debug_var(l_log_head,l_progress,'p_api_name',p_api_name);
4904: PO_DEBUG.debug_var(l_log_head,l_progress,'p_progress',p_progress);
4905: END IF;
4906:
4907:

Line 4904: PO_DEBUG.debug_var(l_log_head,l_progress,'p_progress',p_progress);

4900:
4901: IF g_debug_stmt THEN
4902: PO_DEBUG.debug_begin(l_log_head);
4903: PO_DEBUG.debug_var(l_log_head,l_progress,'p_api_name',p_api_name);
4904: PO_DEBUG.debug_var(l_log_head,l_progress,'p_progress',p_progress);
4905: END IF;
4906:
4907:
4908: -- 1. Set the API return statuses to indicate a failure.

Line 4916: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4912:
4913: l_progress := '100';
4914:
4915: IF g_debug_stmt THEN
4916: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4917: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4918: END IF;
4919:
4920:

Line 4917: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

4913: l_progress := '100';
4914:
4915: IF g_debug_stmt THEN
4916: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4917: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4918: END IF;
4919:
4920:
4921: -- 2. Log the SQL error and add it to the API msg list.

Line 4963: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4959:
4960: l_progress := '900';
4961:
4962: IF g_debug_stmt THEN
4963: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4964: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4965: PO_DEBUG.debug_end(l_log_head);
4966: END IF;
4967:

Line 4964: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

4960: l_progress := '900';
4961:
4962: IF g_debug_stmt THEN
4963: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4964: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4965: PO_DEBUG.debug_end(l_log_head);
4966: END IF;
4967:
4968: EXCEPTION

Line 4965: PO_DEBUG.debug_end(l_log_head);

4961:
4962: IF g_debug_stmt THEN
4963: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4964: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4965: PO_DEBUG.debug_end(l_log_head);
4966: END IF;
4967:
4968: EXCEPTION
4969: WHEN OTHERS THEN

Line 4971: PO_DEBUG.debug_exc(l_log_head,l_progress);

4967:
4968: EXCEPTION
4969: WHEN OTHERS THEN
4970: IF g_debug_unexp THEN
4971: PO_DEBUG.debug_exc(l_log_head,l_progress);
4972: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4973: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4974: END IF;
4975:

Line 4972: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);

4968: EXCEPTION
4969: WHEN OTHERS THEN
4970: IF g_debug_unexp THEN
4971: PO_DEBUG.debug_exc(l_log_head,l_progress);
4972: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4973: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4974: END IF;
4975:
4976: END handle_exception;

Line 4973: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);

4969: WHEN OTHERS THEN
4970: IF g_debug_unexp THEN
4971: PO_DEBUG.debug_exc(l_log_head,l_progress);
4972: PO_DEBUG.debug_var(l_log_head,l_progress,'x_return_status',x_return_status);
4973: PO_DEBUG.debug_var(l_log_head,l_progress,'x_po_return_code',x_po_return_code);
4974: END IF;
4975:
4976: END handle_exception;
4977:

Line 5041: PO_DEBUG.handle_unexp_error ( p_pkg_name => g_pkg_name,

5037: END IF;
5038:
5039: EXCEPTION
5040: WHEN OTHERS THEN
5041: PO_DEBUG.handle_unexp_error ( p_pkg_name => g_pkg_name,
5042: p_proc_name => l_api_name);
5043: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
5044: END POPULATE_BC_REPORT_EVENTS;
5045:

Line 5168: PO_DEBUG.handle_unexp_error ( p_pkg_name => g_pkg_name,

5164: --
5165:
5166: EXCEPTION
5167: WHEN OTHERS THEN
5168: PO_DEBUG.handle_unexp_error ( p_pkg_name => g_pkg_name,
5169: p_proc_name => l_api_name,
5170: p_progress => l_progress );
5171: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
5172: END POPULATE_AND_CREATE_BC_REPORT;