DBA Data[Home] [Help]

APPS.POR_AMENDMENT_PKG dependencies on PO_WF_DEBUG_PKG

Line 5042: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5038: BEGIN
5039:
5040: x_progress := 'POR_AMENDMENT_PKG.CREATE_BASE_VERSION: 01';
5041: IF (g_po_wf_debug = 'Y') THEN
5042: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5043: END IF;
5044:
5045:
5046: -- Do nothing in cancel or timeout mode

Line 5095: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5091: BEGIN
5092:
5093: x_progress := 'POR_AMENDMENT_PKG.MERGE_INTO_CONFORM_VERSION: 01';
5094: IF (g_po_wf_debug = 'Y') THEN
5095: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5096: END IF;
5097:
5098:
5099: -- Do nothing in cancel or timeout mode

Line 5142: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5138:
5139: BEGIN
5140: x_progress := 'POR_AMENDMENT_PKG.AUTO_ACCEPT_AND_REJECT: 01';
5141: IF (g_po_wf_debug = 'Y') THEN
5142: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5143: END IF;
5144:
5145: -- Do nothing in cancel or timeout mode
5146: --

Line 5182: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5178: BEGIN
5179:
5180: x_progress := 'POR_AMENDMENT_PKG.MORE_BUYER_TO_NOTIFY: 01';
5181: IF (g_po_wf_debug = 'Y') THEN
5182: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5183: END IF;
5184:
5185:
5186: -- Do nothing in cancel or timeout mode

Line 5205: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5201: aname => 'CURRENT_BUYER_ID');
5202:
5203: x_progress := 'POR_AMENDMENT_PKG.MORE_BUYER_TO_NOTIFY: 02 : l_document_id :'||l_document_id||' : l_current_buyer_id : '||l_current_buyer_id;
5204: IF (g_po_wf_debug = 'Y') THEN
5205: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5206: END IF;
5207:
5208: SELECT Min(awdrefs.agent_id)
5209: INTO l_buyer_id

Line 5283: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5279: BEGIN
5280:
5281: x_progress := 'POR_AMENDMENT_PKG.MORE_SOURCING_OWNER_TO_NOTIFY: 01';
5282: IF (g_po_wf_debug = 'Y') THEN
5283: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5284: END IF;
5285:
5286:
5287: -- Do nothing in cancel or timeout mode

Line 5409: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5405: BEGIN
5406:
5407: x_progress := 'POR_AMENDMENT_PKG.SET_AMENDMENT_WF_ATTRIBUTES: 01';
5408: IF (g_po_wf_debug = 'Y') THEN
5409: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5410: END IF;
5411:
5412:
5413: -- Do nothing in cancel or timeout mode

Line 5588: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5584:
5585: BEGIN
5586: x_progress := 'POR_AMENDMENT_PKG.amendment_post_merge_actions: 01';
5587: IF (g_po_wf_debug = 'Y') THEN
5588: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5589: END IF;
5590:
5591: -- Do nothing in cancel or timeout mode
5592: if (funcmode <> wf_engine.eng_run) then

Line 5607: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

5603: l_result := PO_SUPPLY.create_req(l_conformed_id, 'REQ HDR');
5604:
5605: x_progress := 'POR_AMENDMENT_PKG.amendment_post_merge_actions: completed successfully';
5606: IF (g_po_wf_debug = 'Y') THEN
5607: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
5608: END IF;
5609:
5610: EXCEPTION
5611: WHEN OTHERS THEN

Line 7368: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7364:
7365: BEGIN
7366: x_progress := 'POR_AMENDMENT_PKG.set_amendment_related_attrib: 01';
7367: IF (g_po_wf_debug = 'Y') THEN
7368: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7369: END IF;
7370:
7371: -- Do nothing in cancel or timeout mode
7372: if (funcmode <> wf_engine.eng_run) then

Line 7383: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7379: aname => 'IS_AMENDMENT_APPROVAL');
7380:
7381: x_progress := 'POR_AMENDMENT_PKG.set_amendment_related_attrib: 02';
7382: IF (g_po_wf_debug = 'Y') THEN
7383: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7384: END IF;
7385:
7386: IF (l_amendment_approval IS NULL OR l_amendment_approval = 'N') THEN
7387: x_progress := 'POR_AMENDMENT_PKG.set_amendment_related_attrib: l_amendment_approval is not Y, so return';

Line 7389: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7385:
7386: IF (l_amendment_approval IS NULL OR l_amendment_approval = 'N') THEN
7387: x_progress := 'POR_AMENDMENT_PKG.set_amendment_related_attrib: l_amendment_approval is not Y, so return';
7388: IF (g_po_wf_debug = 'Y') THEN
7389: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7390: END IF;
7391:
7392: RETURN;
7393: END IF;

Line 7410: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7406: update_amendment(l_conformed_id,l_revision_num);
7407:
7408: x_progress := 'POR_AMENDMENT_PKG.set_amendment_related_attrib: completed successfully';
7409: IF (g_po_wf_debug = 'Y') THEN
7410: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7411: END IF;
7412:
7413: EXCEPTION
7414: WHEN OTHERS THEN

Line 7533: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7529:
7530: BEGIN
7531: x_progress := 'POR_AMENDMENT_PKG.SET_CLM_FUNDS_OVERRIDE: 01';
7532: IF (g_po_wf_debug = 'Y') THEN
7533: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7534: END IF;
7535: -- Do nothing in cancel or timeout mode
7536: --
7537: if (funcmode <> wf_engine.eng_run) then

Line 7544: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7540: end if;
7541:
7542: x_progress := 'POR_AMENDMENT_PKG.SET_CLM_FUNDS_OVERRIDE: Setting Funds Override as Y : 02';
7543: IF (g_po_wf_debug = 'Y') THEN
7544: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7545: END IF;
7546: -- Bug 9667861.
7547: wf_engine.SetitemattrText( itemtype => itemtype,
7548: itemkey => itemkey,

Line 7554: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

7550: avalue => 'Y');
7551:
7552: x_progress := 'POR_AMENDMENT_PKG.SET_CLM_FUNDS_OVERRIDE: Successful: 03';
7553: IF (g_po_wf_debug = 'Y') THEN
7554: PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
7555: END IF;
7556: EXCEPTION
7557: WHEN Others THEN
7558: wf_core.context('POR_AMENDMENT_PKG','SET_CLM_FUNDS_OVERRIDE',x_progress || ', ' || sqlerrm);

Line 7590: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,x_progress);

7586: l_req_encumbrance_on BOOLEAN;
7587: BEGIN
7588: x_progress := 'POR_AMENDMENT_PKG.CLM_REQ_MERGE_RESERVE: 01';
7589: IF (g_po_wf_debug = 'Y') THEN
7590: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,x_progress);
7591: END IF;
7592: -- Do nothing in cancel or timeout mode
7593: --
7594: IF (funcmode <> wf_engine.eng_run) THEN

Line 7620: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'is Amenement Approval '||l_amendment_approval);

7616: l_override_funds := l_clm_funds_Override;
7617: wf_engine.SetitemattrText(itemtype => itemtype,itemkey => itemkey,aname => 'CLM_FUNDS_OVERRIDE', avalue => 'N');
7618: END IF;
7619: IF (g_po_wf_debug = 'Y') THEN
7620: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'is Amenement Approval '||l_amendment_approval);
7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);
7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);

Line 7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);

7617: wf_engine.SetitemattrText(itemtype => itemtype,itemkey => itemkey,aname => 'CLM_FUNDS_OVERRIDE', avalue => 'N');
7618: END IF;
7619: IF (g_po_wf_debug = 'Y') THEN
7620: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'is Amenement Approval '||l_amendment_approval);
7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);
7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);
7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);

Line 7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);

7618: END IF;
7619: IF (g_po_wf_debug = 'Y') THEN
7620: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'is Amenement Approval '||l_amendment_approval);
7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);
7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);
7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);
7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);

Line 7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);

7619: IF (g_po_wf_debug = 'Y') THEN
7620: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'is Amenement Approval '||l_amendment_approval);
7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);
7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);
7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);
7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);
7627: END IF;

Line 7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);

7620: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'is Amenement Approval '||l_amendment_approval);
7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);
7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);
7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);
7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);
7627: END IF;
7628:

Line 7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);

7621: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Conformed Header Id '||l_conformed_header_id);
7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);
7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);
7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);
7627: END IF;
7628:
7629: IF l_amendment_approval = 'Y' THEN

Line 7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);

7622: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Revision Num '||l_revision_num);
7623: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Id '||l_document_id);
7624: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Document Type '||l_document_type);
7625: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Approver EmpId '||l_employee_id);
7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);
7627: END IF;
7628:
7629: IF l_amendment_approval = 'Y' THEN
7630: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling process_cancel_amendments before mergeReserveAutonomous ');

Line 7630: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling process_cancel_amendments before mergeReserveAutonomous ');

7626: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Funds Override '||l_override_funds);
7627: END IF;
7628:
7629: IF l_amendment_approval = 'Y' THEN
7630: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling process_cancel_amendments before mergeReserveAutonomous ');
7631: process_cancel_amendments(l_document_id, l_conformed_header_id);
7632: END IF;
7633:
7634: -- Call MergeReserve only Either Req Encumbrance is On or If its an Amendment Aprpoval

Line 7637: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling MergeReserveAutonomous. ');

7633:
7634: -- Call MergeReserve only Either Req Encumbrance is On or If its an Amendment Aprpoval
7635: IF (l_req_encumbrance_on OR l_amendment_approval = 'Y') THEN
7636: IF (g_po_wf_debug = 'Y') THEN
7637: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling MergeReserveAutonomous. ');
7638: END IF;
7639:
7640: Clm_mergereserve_autonomous(itemtype => itemtype,itemkey => itemkey,p_doc_type => l_document_type,
7641: p_doc_subtype => l_document_subtype,p_doc_id => l_document_id,

Line 7649: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserveAutonomous - Return Status: '|| l_return_status );

7645: x_po_return_code => l_po_return_code,x_online_report_id => l_online_report_id,
7646: x_return_status => l_return_status);
7647:
7648: IF (g_po_wf_debug = 'Y') THEN
7649: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserveAutonomous - Return Status: '|| l_return_status );
7650: END IF;
7651: IF (l_return_status = FND_API.G_RET_STS_UNEXP_ERROR
7652: OR l_return_status IS NULL) THEN
7653: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 7663: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserveAutonomous - Po Return Code: '|| l_po_return_code );

7659: PO_DOCUMENT_FUNDS_PVT.g_return_WARNING)
7660: )
7661: THEN
7662: IF (g_po_wf_debug = 'Y') THEN
7663: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserveAutonomous - Po Return Code: '|| l_po_return_code );
7664: END IF;
7665: resultout := 'COMPLETE:'|| 'N';
7666: RETURN;
7667: END IF;

Line 7672: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserve Completed Successfully.');

7668: END IF;
7669: END IF;
7670:
7671: IF (g_po_wf_debug = 'Y') THEN
7672: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserve Completed Successfully.');
7673: END IF;
7674:
7675: resultout := 'COMPLETE:'|| 'Y';
7676: RETURN;

Line 7684: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,x_progress);

7680: wf_core.Context('POR_AMENDMENT_PKG','CLM_REQ_MERGE_RESERVE', x_progress);
7681: RAISE;
7682: WHEN OTHERS THEN
7683: x_progress := 'POR_AMENDMENT_PKG.CLM_REQ_MERGE_RESERVE: Do Reserve. Return Status.'||l_return_status;
7684: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,x_progress);
7685: RAISE;
7686: END Clm_req_merge_reserve;
7687:
7688:

Line 7715: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserveAutonomous: Start');

7711: l_document_id NUMBER;
7712: l_result BOOLEAN;
7713: BEGIN
7714: IF (g_po_wf_debug = 'Y') THEN
7715: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'MergeReserveAutonomous: Start');
7716: END IF;
7717:
7718: SAVEPOINT Clm_MergeReserve_Autonomous_SP; -- Save point to Rollback in case of Errors
7719: IF (g_po_wf_debug = 'Y') THEN

Line 7720: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Savepoint: Clm_MergeReserve_Autonomous_SP');

7716: END IF;
7717:
7718: SAVEPOINT Clm_MergeReserve_Autonomous_SP; -- Save point to Rollback in case of Errors
7719: IF (g_po_wf_debug = 'Y') THEN
7720: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Savepoint: Clm_MergeReserve_Autonomous_SP');
7721: END IF;
7722:
7723: IF p_amendment_approval = 'Y' THEN
7724:

Line 7726: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling Auto Accept for Amendment. Requisition Header Id: '||p_conformed_header_id);

7722:
7723: IF p_amendment_approval = 'Y' THEN
7724:
7725: IF (g_po_wf_debug = 'Y') THEN
7726: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling Auto Accept for Amendment. Requisition Header Id: '||p_conformed_header_id);
7727: END IF;
7728:
7729: Carry_auto_aceept_and_reject(p_doc_id);
7730:

Line 7732: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Auto Accept for Amendment Successful.');

7728:
7729: Carry_auto_aceept_and_reject(p_doc_id);
7730:
7731: IF (g_po_wf_debug = 'Y') THEN
7732: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Auto Accept for Amendment Successful.');
7733: END IF;
7734:
7735: IF (g_po_wf_debug = 'Y') THEN
7736: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling Merge Amendment with ConfirmedId: '||p_conformed_header_id||' Revision Num: '||p_revision_num);

Line 7736: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling Merge Amendment with ConfirmedId: '||p_conformed_header_id||' Revision Num: '||p_revision_num);

7732: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Auto Accept for Amendment Successful.');
7733: END IF;
7734:
7735: IF (g_po_wf_debug = 'Y') THEN
7736: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling Merge Amendment with ConfirmedId: '||p_conformed_header_id||' Revision Num: '||p_revision_num);
7737: END IF;
7738: Merge_amendment(p_confirmed_id => p_conformed_header_id,p_revision_num => p_revision_num);
7739: IF (g_po_wf_debug = 'Y') THEN
7740: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Merge Amendment Successful');

Line 7740: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Merge Amendment Successful');

7736: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling Merge Amendment with ConfirmedId: '||p_conformed_header_id||' Revision Num: '||p_revision_num);
7737: END IF;
7738: Merge_amendment(p_confirmed_id => p_conformed_header_id,p_revision_num => p_revision_num);
7739: IF (g_po_wf_debug = 'Y') THEN
7740: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Merge Amendment Successful');
7741: END IF;
7742: END IF; -- p_amendment_approval
7743:
7744: IF (po_core_s.Is_encumbrance_on(p_doc_type => 'REQUISITION',p_org_id => NULL)) THEN

Line 7746: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Requisition Encumbrance is On');

7742: END IF; -- p_amendment_approval
7743:
7744: IF (po_core_s.Is_encumbrance_on(p_doc_type => 'REQUISITION',p_org_id => NULL)) THEN
7745: IF (g_po_wf_debug = 'Y') THEN
7746: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Requisition Encumbrance is On');
7747: END IF;
7748: IF p_amendment_approval = 'Y' THEN
7749: l_document_id := p_conformed_header_id;
7750: ELSE

Line 7754: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling do Reserve with doctype: '||p_doc_type||' - sub: '||p_doc_subtype||'- document id: '||l_document_id||' - Ovrride: '||p_override_funds||'- Emp: '||p_employee_id||'.');

7750: ELSE
7751: l_document_id := p_doc_id;
7752: END IF;
7753:
7754: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Calling do Reserve with doctype: '||p_doc_type||' - sub: '||p_doc_subtype||'- document id: '||l_document_id||' - Ovrride: '||p_override_funds||'- Emp: '||p_employee_id||'.');
7755:
7756: po_document_funds_pvt.Do_reserve(x_return_status => l_return_status,p_doc_type => p_doc_type,
7757: p_doc_subtype => p_doc_subtype,p_doc_level => po_document_funds_pvt.g_doc_level_header,
7758: p_doc_level_id => l_document_id,

Line 7766: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Do Reserve Completed with Return Status: '||l_return_status);

7762: p_override_funds => p_override_funds,p_employee_id => p_employee_id,
7763: x_po_return_code => x_po_return_code,x_online_report_id => l_online_report_id);
7764:
7765: IF (g_po_wf_debug = 'Y') THEN
7766: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Do Reserve Completed with Return Status: '||l_return_status);
7767: END IF;
7768: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
7769: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
7770: END IF;

Line 7777: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Create Req Supply failed for Confirmed Header Id : '||p_conformed_header_id);

7773: IF p_amendment_approval = 'Y' THEN
7774:
7775: l_result := po_supply.Create_req(p_conformed_header_id,'REQ HDR');
7776: IF NOT l_result THEN
7777: po_wf_debug_pkg.Insert_debug(itemtype,itemkey,'Create Req Supply failed for Confirmed Header Id : '||p_conformed_header_id);
7778: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
7779: END IF;
7780: END IF;
7781: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 8084: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

8080:
8081: BEGIN
8082: x_progress := 'POR_AMENDMENT_PKG.amendment_post_approval: 01';
8083: IF (g_po_wf_debug = 'Y') THEN
8084: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
8085: END IF;
8086:
8087:
8088: -- Do nothing in cancel or timeout mode

Line 8116: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);

8112: po_req_lines_sv.update_reqs_in_pool_flag(NULL,l_conf_hdr_id,x_return_status);
8113:
8114: x_progress := 'POR_AMENDMENT_PKG.amendment_post_approval: 02, finished';
8115: IF (g_po_wf_debug = 'Y') THEN
8116: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
8117: END IF;
8118:
8119: END amendment_post_approval;
8120: