DBA Data[Home] [Help]

APPS.PO_RELGEN_PKG dependencies on PO_DEBUG

Line 33: g_debug_stmt BOOLEAN := PO_DEBUG.is_debug_stmt_on;

29:
30: -- Read the profile option that enables/disables the debug log
31: g_fnd_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('AFLOG_ENABLED'),'N');
32:
33: g_debug_stmt BOOLEAN := PO_DEBUG.is_debug_stmt_on;
34:
35: --
36: g_chktype_TRACKING_QTY_IND CONSTANT
37: MTL_SYSTEM_ITEMS_B.TRACKING_QUANTITY_IND%TYPE

Line 212: PO_DEBUG.debug_stmt (

208: l_progress := '042';
209:
210: IF l_tax_return_status <> FND_API.G_RET_STS_SUCCESS THEN
211: IF (g_debug_stmt) THEN
212: PO_DEBUG.debug_stmt (
213: p_log_head => c_log_head||l_api_name,
214: p_token => '',
215: p_message => 'Error in tax calcualtion'
216: ||' po_release_id: '||x_po_release_id

Line 339: PO_DEBUG.debug_stmt (

335: -- Rollback the creation of the release.
336: ROLLBACK TO PORELGEN_1;
337: -- Bug 3570793 START
338: IF (g_debug_stmt) THEN
339: PO_DEBUG.debug_stmt (
340: p_log_head => c_log_head||l_api_name,
341: p_token => '',
342: p_message => 'Preapproval checks failed; rollback'
343: ||' po_release_id: '||x_po_release_id

Line 373: PO_DEBUG.debug_stmt (p_log_head => c_log_head||l_api_name,

369: WHERE pda.line_location_id = x_line_location_id
370: AND pda.lcm_flag = 'Y';
371:
372: IF (g_debug_stmt) THEN
373: PO_DEBUG.debug_stmt (p_log_head => c_log_head||l_api_name,
374: p_token => '',
375: p_message => 'Preapproval checks for LCM features failed'
376: ||' po_release_id: '||x_po_release_id);
377: END IF;

Line 486: PO_DEBUG.debug_stmt (

482: p_calling_program =>'PORELGEB');
483: l_progress := '042';
484: IF l_tax_return_status <> FND_API.G_RET_STS_SUCCESS THEN
485: IF (g_debug_stmt) THEN
486: PO_DEBUG.debug_stmt (
487: p_log_head => c_log_head||l_api_name,
488: p_token => '',
489: p_message => 'Error in tax calcualtion'
490: ||' po_release_id: '||x_po_release_id

Line 596: PO_DEBUG.debug_stmt (

592: -- Rollback the creation of the release.
593: ROLLBACK TO PORELGEN_1;
594: -- Bug 3570793 START
595: IF (g_debug_stmt) THEN
596: PO_DEBUG.debug_stmt (
597: p_log_head => c_log_head||l_api_name,
598: p_token => '',
599: p_message => 'Preapproval checks failed; rollback'
600: ||' po_release_id: '||x_po_release_id

Line 630: PO_DEBUG.debug_stmt (p_log_head => c_log_head||l_api_name,

626: WHERE pda.line_location_id = x_line_location_id
627: AND pda.lcm_flag = 'Y';
628:
629: IF (g_debug_stmt) THEN
630: PO_DEBUG.debug_stmt (p_log_head => c_log_head||l_api_name,
631: p_token => '',
632: p_message => 'Preapproval checks for LCM features failed'
633: ||' po_release_id: '||x_po_release_id);
634: END IF;

Line 665: PO_DEBUG.write_msg_list_to_file (

661: EXCEPTION
662: -- Bug 3570793 START
663: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
664: -- Write the errors on the message list to the concurrent program log.
665: PO_DEBUG.write_msg_list_to_file (
666: p_log_head => c_log_head || l_api_name,
667: p_progress => l_progress
668: );
669: raise_application_error(-20001,sqlerrm||'---'||msgbuf);

Line 751: PO_DEBUG.debug_stmt (

747: WHERE PO_HEADER_ID = req_line.blanket_po_header_id;
748:
749: -- Bug 3570793 START
750: IF (g_debug_stmt) THEN
751: PO_DEBUG.debug_stmt (
752: p_log_head => c_log_head||l_api_name,
753: p_token => '',
754: p_message => 'Create release header;'
755: ||' req_line_id: '||req_line.requisition_line_id

Line 1107: PO_DEBUG.debug_stmt (

1103: then we should not convert the quantity. */
1104:
1105: -- Bug 3570793 START
1106: IF (g_debug_stmt) THEN
1107: PO_DEBUG.debug_stmt (
1108: p_log_head => c_log_head||l_api_name,
1109: p_token => '',
1110: p_message => 'Create release shipment;'
1111: ||' req_line_id: '||req_line.requisition_line_id

Line 1395: PO_DEBUG.debug_stmt (

1391:
1392: BEGIN --
1393: -- Bug 3570793 START
1394: IF (g_debug_stmt) THEN
1395: PO_DEBUG.debug_stmt (
1396: p_log_head => c_log_head||l_api_name,
1397: p_token => '',
1398: p_message => 'Create release distributions;'
1399: ||' req_line_id: '||req_line.requisition_line_id

Line 3393: PO_DEBUG.write_msg_list_to_file (

3389: EXCEPTION
3390: WHEN FND_API.G_EXC_ERROR THEN
3391: ROLLBACK TO PORELGEN_1;
3392: -- Bug 3570793 Write the message list to the concurrent program log.
3393: PO_DEBUG.write_msg_list_to_file (
3394: p_log_head => c_log_head || l_api_name,
3395: p_progress => l_progress
3396: );
3397:

Line 3401: PO_DEBUG.write_msg_list_to_file (

3397:
3398: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
3399: ROLLBACK TO PORELGEN_1;
3400: -- Bug 3570793 Write the message list to the concurrent program log.
3401: PO_DEBUG.write_msg_list_to_file (
3402: p_log_head => c_log_head || l_api_name,
3403: p_progress => l_progress
3404: );
3405:

Line 3527: PO_DEBUG.write_msg_list_to_file (

3523:
3524: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
3525:
3526: -- Bug 3570793 Write the message list to the concurrent program log.
3527: PO_DEBUG.write_msg_list_to_file (
3528: p_log_head => c_log_head || l_api_name,
3529: p_progress => l_progress
3530: );
3531: