DBA Data[Home] [Help]

APPS.OE_NEGOTIATE_WF dependencies on STANDARD

Line 21: OE_STANDARD_WF.Set_Msg_Context(actid);

17: BEGIN
18: IF l_debug_level > 0 THEN
19: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Update_Status_Lost:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
20: END IF;
21: OE_STANDARD_WF.Set_Msg_Context(actid);
22: IF (funcmode = 'RUN') then
23:
24: OE_MSG_PUB.set_msg_context(
25: p_entity_code => 'HEADER'

Line 48: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

44: EXCEPTION
45: when others then
46: wf_core.context('OE_Negotiate_WF', 'Update_Status_Lost', itemtype, itemkey, to_char(actid), funcmode);
47: -- start data fix project
48: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
49: p_itemtype => itemtype,
50: p_itemkey => itemkey);
51: -- end data fix project
52: oe_standard_wf.save_messages;

Line 52: oe_standard_wf.save_messages;

48: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
49: p_itemtype => itemtype,
50: p_itemkey => itemkey);
51: -- end data fix project
52: oe_standard_wf.save_messages;
53: oe_standard_wf.clear_msg_context;
54: raise;
55:
56: END Update_Status_Lost;

Line 53: oe_standard_wf.clear_msg_context;

49: p_itemtype => itemtype,
50: p_itemkey => itemkey);
51: -- end data fix project
52: oe_standard_wf.save_messages;
53: oe_standard_wf.clear_msg_context;
54: raise;
55:
56: END Update_Status_Lost;
57:

Line 78: OE_STANDARD_WF.Set_Msg_Context(actid);

74: BEGIN
75: IF l_debug_level > 0 THEN
76: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Negotiation_Complete:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
77: END IF;
78: OE_STANDARD_WF.Set_Msg_Context(actid);
79: IF (funcmode = 'RUN') then
80:
81: OE_MSG_PUB.set_msg_context(
82: p_entity_code => 'HEADER'

Line 103: oe_standard_wf.save_messages;

99: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN
100: resultout := 'COMPLETE:COMPLETE';
101: ELSE
102: resultout := 'COMPLETE:INCOMPLETE';
103: oe_standard_wf.save_messages;
104: oe_standard_wf.clear_msg_context;
105: END IF;
106: END IF;
107: EXCEPTION

Line 104: oe_standard_wf.clear_msg_context;

100: resultout := 'COMPLETE:COMPLETE';
101: ELSE
102: resultout := 'COMPLETE:INCOMPLETE';
103: oe_standard_wf.save_messages;
104: oe_standard_wf.clear_msg_context;
105: END IF;
106: END IF;
107: EXCEPTION
108: when others then

Line 111: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

107: EXCEPTION
108: when others then
109: wf_core.context('OE_Negotiate_WF', 'Negotiation_Complete', itemtype, itemkey, to_char(actid), funcmode);
110: -- start data fix project
111: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
112: p_itemtype => itemtype,
113: p_itemkey => itemkey);
114: -- end data fix project
115: oe_standard_wf.save_messages;

Line 115: oe_standard_wf.save_messages;

111: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
112: p_itemtype => itemtype,
113: p_itemkey => itemkey);
114: -- end data fix project
115: oe_standard_wf.save_messages;
116: oe_standard_wf.clear_msg_context;
117: raise;
118:
119: END Negotiation_Complete;

Line 116: oe_standard_wf.clear_msg_context;

112: p_itemtype => itemtype,
113: p_itemkey => itemkey);
114: -- end data fix project
115: oe_standard_wf.save_messages;
116: oe_standard_wf.clear_msg_context;
117: raise;
118:
119: END Negotiation_Complete;
120:

Line 151: OE_STANDARD_WF.Set_Msg_Context(actid);

147: BEGIN
148: IF l_debug_level > 0 THEN
149: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Submit_Draft_Internal:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
150: END IF;
151: OE_STANDARD_WF.Set_Msg_Context(actid);
152:
153: IF (funcmode = 'RUN') then
154:
155: OE_MSG_PUB.set_msg_context(

Line 181: OE_STANDARD_WF.Save_Messages;

177: IF l_return_status = FND_API.G_RET_STS_SUCCESS
178: AND l_qa_return_status <> FND_API.G_RET_STS_SUCCESS
179: AND l_qa_return_status <> 'W' THEN
180: resultout := 'COMPLETE:INCOMPLETE';
181: OE_STANDARD_WF.Save_Messages;
182: OE_STANDARD_WF.Clear_Msg_Context;
183: return;
184: ELSIF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
185: -- API call failed completely, fail the activity

Line 182: OE_STANDARD_WF.Clear_Msg_Context;

178: AND l_qa_return_status <> FND_API.G_RET_STS_SUCCESS
179: AND l_qa_return_status <> 'W' THEN
180: resultout := 'COMPLETE:INCOMPLETE';
181: OE_STANDARD_WF.Save_Messages;
182: OE_STANDARD_WF.Clear_Msg_Context;
183: return;
184: ELSIF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
185: -- API call failed completely, fail the activity
186: app_exception.raise_exception;

Line 213: OE_STANDARD_WF.Save_Messages;

209: FND_MESSAGE.SET_NAME('ONT', 'OE_ZERO_QUANTITY');
210: FND_MESSAGE.SET_TOKEN('SALES_DOCUMENT_TYPE', l_sales_document_type);
211: oe_msg_pub.add;
212: resultout := 'COMPLETE:INCOMPLETE';
213: OE_STANDARD_WF.Save_Messages;
214: OE_STANDARD_WF.Clear_Msg_Context;
215: return;
216: END IF;
217: End Loop;

Line 214: OE_STANDARD_WF.Clear_Msg_Context;

210: FND_MESSAGE.SET_TOKEN('SALES_DOCUMENT_TYPE', l_sales_document_type);
211: oe_msg_pub.add;
212: resultout := 'COMPLETE:INCOMPLETE';
213: OE_STANDARD_WF.Save_Messages;
214: OE_STANDARD_WF.Clear_Msg_Context;
215: return;
216: END IF;
217: End Loop;
218: Close Query_Lines;

Line 232: OE_STANDARD_WF.Save_Messages;

228: END IF;
229:
230: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
231: resultout := 'COMPLETE:INCOMPLETE';
232: OE_STANDARD_WF.Save_Messages;
233: OE_STANDARD_WF.Clear_Msg_Context;
234: return;
235: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
236: app_exception.raise_exception;

Line 233: OE_STANDARD_WF.Clear_Msg_Context;

229:
230: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
231: resultout := 'COMPLETE:INCOMPLETE';
232: OE_STANDARD_WF.Save_Messages;
233: OE_STANDARD_WF.Clear_Msg_Context;
234: return;
235: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
236: app_exception.raise_exception;
237: END IF;

Line 254: OE_STANDARD_WF.Save_Messages;

250: END IF;
251:
252: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
253: resultout := 'COMPLETE:INCOMPLETE';
254: OE_STANDARD_WF.Save_Messages;
255: OE_STANDARD_WF.Clear_Msg_Context;
256: return;
257: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
258: app_exception.raise_exception;

Line 255: OE_STANDARD_WF.Clear_Msg_Context;

251:
252: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
253: resultout := 'COMPLETE:INCOMPLETE';
254: OE_STANDARD_WF.Save_Messages;
255: OE_STANDARD_WF.Clear_Msg_Context;
256: return;
257: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
258: app_exception.raise_exception;
259: END IF;

Line 273: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

269: EXCEPTION
270: when others then
271: wf_core.context('OE_Negotiate_WF', 'Submit_Draft_Internal', itemtype, itemkey, to_char(actid), funcmode);
272: -- start data fix project
273: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
274: p_itemtype => itemtype,
275: p_itemkey => itemkey);
276: -- end data fix project
277: oe_standard_wf.save_messages;

Line 277: oe_standard_wf.save_messages;

273: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
274: p_itemtype => itemtype,
275: p_itemkey => itemkey);
276: -- end data fix project
277: oe_standard_wf.save_messages;
278: oe_standard_wf.clear_msg_context;
279: raise;
280:
281: END Submit_Draft_Internal;

Line 278: oe_standard_wf.clear_msg_context;

274: p_itemtype => itemtype,
275: p_itemkey => itemkey);
276: -- end data fix project
277: oe_standard_wf.save_messages;
278: oe_standard_wf.clear_msg_context;
279: raise;
280:
281: END Submit_Draft_Internal;
282:

Line 300: OE_STANDARD_WF.Set_Msg_Context(actid);

296: BEGIN
297: IF l_debug_level > 0 THEN
298: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Customer_Acceptance:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
299: END IF;
300: OE_STANDARD_WF.Set_Msg_Context(actid);
301: IF (funcmode = 'RUN') then
302: OE_MSG_PUB.set_msg_context(
303: p_entity_code => 'HEADER'
304: ,p_entity_id => to_number(itemkey)

Line 325: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

321: EXCEPTION
322: when others then
323: wf_core.context('OE_Negotiate_WF', 'Customer_Acceptance', itemtype, itemkey, to_char(actid), funcmode);
324: -- start data fix project
325: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
326: p_itemtype => itemtype,
327: p_itemkey => itemkey);
328: -- end data fix project
329: oe_standard_wf.save_messages;

Line 329: oe_standard_wf.save_messages;

325: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
326: p_itemtype => itemtype,
327: p_itemkey => itemkey);
328: -- end data fix project
329: oe_standard_wf.save_messages;
330: oe_standard_wf.clear_msg_context;
331: raise;
332:
333: END Customer_Acceptance;

Line 330: oe_standard_wf.clear_msg_context;

326: p_itemtype => itemtype,
327: p_itemkey => itemkey);
328: -- end data fix project
329: oe_standard_wf.save_messages;
330: oe_standard_wf.clear_msg_context;
331: raise;
332:
333: END Customer_Acceptance;
334:

Line 352: OE_STANDARD_WF.Set_Msg_Context(actid);

348: BEGIN
349: IF l_debug_level > 0 THEN
350: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Update_Customer_Accepted:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
351: END IF;
352: OE_STANDARD_WF.Set_Msg_Context(actid);
353: IF (funcmode = 'RUN') then
354: OE_MSG_PUB.set_msg_context(
355: p_entity_code => 'HEADER'
356: ,p_entity_id => to_number(itemkey)

Line 378: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

374: EXCEPTION
375: when others then
376: wf_core.context('OE_Negotiate_WF', 'Update_Customer_Accepted', itemtype, itemkey, to_char(actid), funcmode);
377: -- start data fix project
378: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
379: p_itemtype => itemtype,
380: p_itemkey => itemkey);
381: -- end data fix project
382: oe_standard_wf.save_messages;

Line 382: oe_standard_wf.save_messages;

378: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
379: p_itemtype => itemtype,
380: p_itemkey => itemkey);
381: -- end data fix project
382: oe_standard_wf.save_messages;
383: oe_standard_wf.clear_msg_context;
384: raise;
385:
386: END Update_Customer_Accepted;

Line 383: oe_standard_wf.clear_msg_context;

379: p_itemtype => itemtype,
380: p_itemkey => itemkey);
381: -- end data fix project
382: oe_standard_wf.save_messages;
383: oe_standard_wf.clear_msg_context;
384: raise;
385:
386: END Update_Customer_Accepted;
387:

Line 406: OE_STANDARD_WF.Set_Msg_Context(actid);

402:
403: IF l_debug_level > 0 THEN
404: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Update_Customer_Rejected:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
405: END IF;
406: OE_STANDARD_WF.Set_Msg_Context(actid);
407: IF (funcmode = 'RUN') then
408: OE_MSG_PUB.set_msg_context(
409: p_entity_code => 'HEADER'
410: ,p_entity_id => to_number(itemkey)

Line 432: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

428: EXCEPTION
429: when others then
430: wf_core.context('OE_Negotiate_WF', 'Update_Customer_Rejected', itemtype, itemkey, to_char(actid), funcmode);
431: -- start data fix project
432: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
433: p_itemtype => itemtype,
434: p_itemkey => itemkey);
435: -- end data fix project
436: oe_standard_wf.save_messages;

Line 436: oe_standard_wf.save_messages;

432: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
433: p_itemtype => itemtype,
434: p_itemkey => itemkey);
435: -- end data fix project
436: oe_standard_wf.save_messages;
437: oe_standard_wf.clear_msg_context;
438: raise;
439:
440: END Update_Customer_Rejected;

Line 437: oe_standard_wf.clear_msg_context;

433: p_itemtype => itemtype,
434: p_itemkey => itemkey);
435: -- end data fix project
436: oe_standard_wf.save_messages;
437: oe_standard_wf.clear_msg_context;
438: raise;
439:
440: END Update_Customer_Rejected;
441:

Line 464: OE_STANDARD_WF.Set_Msg_Context(actid);

460:
461: IF l_debug_level > 0 THEN
462: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Check_Expiration_Date:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
463: END IF;
464: OE_STANDARD_WF.Set_Msg_Context(actid);
465: IF (funcmode = 'RUN') then
466: OE_MSG_PUB.set_msg_context(
467: p_entity_code => 'HEADER'
468: ,p_entity_id => to_number(itemkey)

Line 568: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

564: EXCEPTION
565: when others then
566: wf_core.context('OE_Negotiate_WF', 'Check_Expiration_Date', itemtype, itemkey, to_char(actid), funcmode);
567: -- start data fix project
568: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
569: p_itemtype => itemtype,
570: p_itemkey => itemkey);
571: -- end data fix project
572: oe_standard_wf.save_messages;

Line 572: oe_standard_wf.save_messages;

568: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
569: p_itemtype => itemtype,
570: p_itemkey => itemkey);
571: -- end data fix project
572: oe_standard_wf.save_messages;
573: oe_standard_wf.clear_msg_context;
574: raise;
575:
576: END Check_Expiration_Date;

Line 573: oe_standard_wf.clear_msg_context;

569: p_itemtype => itemtype,
570: p_itemkey => itemkey);
571: -- end data fix project
572: oe_standard_wf.save_messages;
573: oe_standard_wf.clear_msg_context;
574: raise;
575:
576: END Check_Expiration_Date;
577:

Line 604: OE_STANDARD_WF.Set_Msg_Context(actid);

600: BEGIN
601: IF l_debug_level > 0 THEN
602: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Offer_Expired:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
603: END IF;
604: OE_STANDARD_WF.Set_Msg_Context(actid);
605: IF (funcmode = 'RUN') then
606: OE_MSG_PUB.set_msg_context(
607: p_entity_code => 'HEADER'
608: ,p_entity_id => to_number(itemkey)

Line 660: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

656: EXCEPTION
657: when others then
658: wf_core.context('OE_Negotiate_WF', 'Offer_Expired', itemtype, itemkey, to_char(actid), funcmode);
659: -- start data fix project
660: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
661: p_itemtype => itemtype,
662: p_itemkey => itemkey);
663: -- end data fix project
664: oe_standard_wf.save_messages;

Line 664: oe_standard_wf.save_messages;

660: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
661: p_itemtype => itemtype,
662: p_itemkey => itemkey);
663: -- end data fix project
664: oe_standard_wf.save_messages;
665: oe_standard_wf.clear_msg_context;
666: raise;
667:
668: END Offer_Expired;

Line 665: oe_standard_wf.clear_msg_context;

661: p_itemtype => itemtype,
662: p_itemkey => itemkey);
663: -- end data fix project
664: oe_standard_wf.save_messages;
665: oe_standard_wf.clear_msg_context;
666: raise;
667:
668: END Offer_Expired;
669:

Line 1348: OE_STANDARD_WF.Set_Msg_Context(actid);

1344: BEGIN
1345: IF l_debug_level > 0 THEN
1346: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Set_Header_Attributes:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
1347: END IF;
1348: OE_STANDARD_WF.Set_Msg_Context(actid);
1349: IF (funcmode = 'RUN') THEN
1350: set_header_attributes_internal(To_number(itemkey));
1351: resultout := 'COMPLETE';
1352: END IF;

Line 1357: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

1353: EXCEPTION
1354: when others then
1355: wf_core.context('OE_Negotiate_WF', 'Set_Header_Attributes', itemtype, itemkey, to_char(actid), funcmode);
1356: -- start data fix project
1357: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1358: p_itemtype => itemtype,
1359: p_itemkey => itemkey);
1360: -- end data fix project
1361: oe_standard_wf.save_messages;

Line 1361: oe_standard_wf.save_messages;

1357: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1358: p_itemtype => itemtype,
1359: p_itemkey => itemkey);
1360: -- end data fix project
1361: oe_standard_wf.save_messages;
1362: oe_standard_wf.clear_msg_context;
1363: raise;
1364:
1365: END Set_Header_Attributes;

Line 1362: oe_standard_wf.clear_msg_context;

1358: p_itemtype => itemtype,
1359: p_itemkey => itemkey);
1360: -- end data fix project
1361: oe_standard_wf.save_messages;
1362: oe_standard_wf.clear_msg_context;
1363: raise;
1364:
1365: END Set_Header_Attributes;
1366:

Line 1385: OE_STANDARD_WF.Set_Msg_Context(actid);

1381: BEGIN
1382: IF l_debug_level > 0 THEN
1383: oe_debug_pub.add( 'ENTERING OE_Negotiate_WF.Set_Final_Expiration_Date:'||ITEMTYPE||'/'||ITEMKEY ,1 ) ;
1384: END IF;
1385: OE_STANDARD_WF.Set_Msg_Context(actid);
1386: IF (funcmode = 'RUN') then
1387: OE_MSG_PUB.set_msg_context(
1388: p_entity_code => 'HEADER'
1389: ,p_entity_id => to_number(itemkey)

Line 1436: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,

1432: EXCEPTION
1433: when others then
1434: wf_core.context('OE_Negotiate_WF', 'Set_Final_Expiration_Date', itemtype, itemkey, to_char(actid), funcmode);
1435: -- start data fix project
1436: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1437: p_itemtype => itemtype,
1438: p_itemkey => itemkey);
1439: -- end data fix project
1440: oe_standard_wf.save_messages;

Line 1440: oe_standard_wf.save_messages;

1436: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1437: p_itemtype => itemtype,
1438: p_itemkey => itemkey);
1439: -- end data fix project
1440: oe_standard_wf.save_messages;
1441: oe_standard_wf.clear_msg_context;
1442: raise;
1443:
1444: END set_final_expiration_date;

Line 1441: oe_standard_wf.clear_msg_context;

1437: p_itemtype => itemtype,
1438: p_itemkey => itemkey);
1439: -- end data fix project
1440: oe_standard_wf.save_messages;
1441: oe_standard_wf.clear_msg_context;
1442: raise;
1443:
1444: END set_final_expiration_date;
1445: