DBA Data[Home] [Help]

APPS.IEX_DISPUTE_PVT dependencies on WF_ENGINE

Line 572: l_customer_trx_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'CUSTOMER_TRX_ID');

568: ---------------------------------------------------------
569:
570: IF(l_function_mode = 'RUN') THEN
571:
572: l_customer_trx_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'CUSTOMER_TRX_ID');
573: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
574: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: l_customer_trx_id: ' || l_customer_trx_id);
575: END IF;
576:

Line 649: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Before calling wf_engine.itemstatus');

645:
646: END;
647:
648: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
649: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Before calling wf_engine.itemstatus');
650: END IF;
651: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);
652:
653: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN

Line 651: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);

647:
648: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
649: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Before calling wf_engine.itemstatus');
650: END IF;
651: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);
652:
653: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
654: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: after workflow status check ' || l_status || ' item key' || p_dispute_id);
655: END IF;

Line 657: IF l_status <> wf_engine.eng_completed THEN

653: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
654: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: after workflow status check ' || l_status || ' item key' || p_dispute_id);
655: END IF;
656:
657: IF l_status <> wf_engine.eng_completed THEN
658: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
659: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: process has not completed and status =>' || l_status);
660: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Calling wf_engine.abortprocess');
661: END IF;

Line 660: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Calling wf_engine.abortprocess');

656:
657: IF l_status <> wf_engine.eng_completed THEN
658: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
659: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: process has not completed and status =>' || l_status);
660: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Calling wf_engine.abortprocess');
661: END IF;
662: BEGIN
663: wf_engine.abortprocess(itemtype => l_item_type, itemkey => p_dispute_id);
664: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);

Line 663: wf_engine.abortprocess(itemtype => l_item_type, itemkey => p_dispute_id);

659: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: process has not completed and status =>' || l_status);
660: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Calling wf_engine.abortprocess');
661: END IF;
662: BEGIN
663: wf_engine.abortprocess(itemtype => l_item_type, itemkey => p_dispute_id);
664: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);
665: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
666: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Abort process has completed and status =>' || l_status);
667: END IF;

Line 664: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);

660: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Calling wf_engine.abortprocess');
661: END IF;
662: BEGIN
663: wf_engine.abortprocess(itemtype => l_item_type, itemkey => p_dispute_id);
664: wf_engine.itemstatus(itemtype => l_item_type, itemkey => p_dispute_id, status => l_status, result => l_result);
665: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
666: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: Abort process has completed and status =>' || l_status);
667: END IF;
668:

Line 697: l_document_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'WORKFLOW_DOCUMENT_ID');

693: l_last_update_login := arp_global.last_update_login;
694: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
695: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: l_last_updated_by: ' || l_last_updated_by || ' l_last_update_login: '|| l_last_update_login);
696: END IF;
697: l_document_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'WORKFLOW_DOCUMENT_ID');
698: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
699: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: l_document_id: '||l_document_id);
700: END IF;
701: l_customer_trx_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'CUSTOMER_TRX_ID');

Line 701: l_customer_trx_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'CUSTOMER_TRX_ID');

697: l_document_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'WORKFLOW_DOCUMENT_ID');
698: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
699: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: l_document_id: '||l_document_id);
700: END IF;
701: l_customer_trx_id := wf_engine.getitemattrnumber(l_item_type, p_dispute_id, 'CUSTOMER_TRX_ID');
702: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
703: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: l_customer_trx_id: '||l_customer_trx_id);
704: END IF;
705:

Line 718: l_notes := wf_engine.getitemattrtext(l_item_type, p_dispute_id, 'NOTES');

714: END IF;
715: end if;
716:
717:
718: l_notes := wf_engine.getitemattrtext(l_item_type, p_dispute_id, 'NOTES');
719:
720: IF (FND_LOG.LEVEL_EVENT >= PG_DEBUG) THEN
721: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: l_notes: '||l_notes);
722: END IF;

Line 782: END IF; --IF l_status <> wf_engine.eng_completed THEN

778: IEX_DEBUG_PUB.logMessage('CANCEL_DISPUTE: After calling arp_notes_pkg.insert_cover');
779: END IF;
780:
781: END;
782: END IF; --IF l_status <> wf_engine.eng_completed THEN
783:
784: -- inserting a note
785: if p_cancel_comments is not null then
786: