DBA Data[Home] [Help]

APPS.OKL_PAY_CURE_REFUNDS_PVT dependencies on WF_ENGINE

Line 5068: result := wf_engine.eng_null;

5064: G_IS_DEBUG_STATEMENT_ON := OKL_DEBUG_PUB.CHECK_LOG_ON(G_MODULE, FND_LOG.LEVEL_STATEMENT);
5065: END IF;
5066:
5067: if funcmode <> 'RUN' then
5068: result := wf_engine.eng_null;
5069: return;
5070: end if;
5071:
5072: l_refund_header_id := wf_engine.GetItemAttrText(

Line 5072: l_refund_header_id := wf_engine.GetItemAttrText(

5068: result := wf_engine.eng_null;
5069: return;
5070: end if;
5071:
5072: l_refund_header_id := wf_engine.GetItemAttrText(
5073: itemtype => itemtype,
5074: itemkey => itemkey,
5075: aname => 'CURE_REFUND_HEADER_ID');
5076:

Line 5106: wf_engine.SetItemAttrText(itemtype => itemtype,

5102: -- sent a notification to SYSADMIN with the error message
5103: -- Also update the refund_header to IN_PROGRESS
5104: END IF;
5105:
5106: wf_engine.SetItemAttrText(itemtype => itemtype,
5107: itemkey => itemkey,
5108: aname => 'ERROR_MESSAGE',
5109: avalue => l_message);
5110:

Line 5114: wf_engine.SetItemAttrText(itemtype => itemtype,

5110:
5111: --the message is sent to the SYSADMIN
5112: -- could be sent to any one , only need to populate the notify_error attribute
5113:
5114: wf_engine.SetItemAttrText(itemtype => itemtype,
5115: itemkey => itemkey,
5116: aname => 'NOTIFY_ERROR',
5117: avalue => 'SYSADMIN');
5118:

Line 5120: result := wf_engine.eng_completed ||':'||'E';

5116: aname => 'NOTIFY_ERROR',
5117: avalue => 'SYSADMIN');
5118:
5119:
5120: result := wf_engine.eng_completed ||':'||'E';
5121:
5122: lp_chdv_rec.cure_refund_header_id := l_refund_header_id;
5123: lp_chdv_rec.refund_status := 'IN_PROGRESS';
5124:

Line 5165: l_role_name :=wf_engine.GetItemAttrText(

5161: --send notification to Vendor
5162: --get Vendor_role ( if null do not send notification,
5163: --that means there are no notifications)
5164: --
5165: l_role_name :=wf_engine.GetItemAttrText(
5166: itemtype => itemtype,
5167: itemkey => itemkey,
5168: aname => 'VENDOR_ROLE');
5169: IF PG_DEBUG < 11 THEN

Line 5180: result := wf_engine.eng_completed ||':'||'Y';

5176: -- Role name will be populated if there are offset contracts
5177: -- and notification will be sent if there are offset contract
5178: -- and result is 'Y to sent notifications
5179: if l_role_name is not null THEN
5180: result := wf_engine.eng_completed ||':'||'Y';
5181: else
5182: result := wf_engine.eng_completed ||':'||'N';
5183: End if;
5184:

Line 5182: result := wf_engine.eng_completed ||':'||'N';

5178: -- and result is 'Y to sent notifications
5179: if l_role_name is not null THEN
5180: result := wf_engine.eng_completed ||':'||'Y';
5181: else
5182: result := wf_engine.eng_completed ||':'||'N';
5183: End if;
5184:
5185: END IF;
5186:

Line 5192: --resultout := wf_engine.eng_completed ||':'||wf_no;

5188: okl_debug_pub.logmessage ('OKL_PAY_CURE_REFUNDS_PVT: set_approval_status : END ');
5189:
5190: EXCEPTION
5191: WHEN FND_API.G_EXC_ERROR THEN
5192: --resultout := wf_engine.eng_completed ||':'||wf_no;
5193: wf_core.context('OKL_PAY_CURE_REFUNDS_PVT',
5194: 'set_approval_status',
5195: itemtype,
5196: itemkey,

Line 5202: --resultout := wf_engine.eng_completed ||':'||wf_no;

5198: funcmode);
5199: raise;
5200:
5201: when others then
5202: --resultout := wf_engine.eng_completed ||':'||wf_no;
5203: wf_core.context('OKL_PAY_CURE_REFUNDS_PVT',
5204: 'set_approval_status',
5205: itemtype,
5206: itemkey,

Line 5239: result := wf_engine.eng_null;

5235: G_IS_DEBUG_STATEMENT_ON := OKL_DEBUG_PUB.CHECK_LOG_ON(G_MODULE, FND_LOG.LEVEL_STATEMENT);
5236: END IF;
5237:
5238: if funcmode <> 'RUN' then
5239: result := wf_engine.eng_null;
5240: return;
5241: end if;
5242:
5243: l_refund_header_id := wf_engine.GetItemAttrText(

Line 5243: l_refund_header_id := wf_engine.GetItemAttrText(

5239: result := wf_engine.eng_null;
5240: return;
5241: end if;
5242:
5243: l_refund_header_id := wf_engine.GetItemAttrText(
5244: itemtype => itemtype,
5245: itemkey => itemkey,
5246: aname => 'CURE_REFUND_HEADER_ID');
5247:

Line 5278: --resultout := wf_engine.eng_completed ||':'||wf_no;

5274: END IF;
5275: okl_debug_pub.logmessage ('OKL_PAY_CURE_REFUNDS_PVT: set_reject_status : END ');
5276: EXCEPTION
5277: WHEN FND_API.G_EXC_ERROR THEN
5278: --resultout := wf_engine.eng_completed ||':'||wf_no;
5279: wf_core.context('OKL_PAY_CURE_REFUNDS_PVT',
5280: 'set_reject_status',
5281: itemtype,
5282: itemkey,

Line 5288: --resultout := wf_engine.eng_completed ||':'||wf_no;

5284: funcmode);
5285: raise;
5286:
5287: when others then
5288: --resultout := wf_engine.eng_completed ||':'||wf_no;
5289: wf_core.context('OKL_PAY_CURE_REFUNDS_PVT',
5290: 'set_reject_status',
5291: itemtype,
5292: itemkey,