DBA Data[Home] [Help]

APPS.OE_APPROVALS_WF dependencies on STANDARD

Line 70: OE_STANDARD_WF.Set_Msg_Context(actid);

66: if (funcmode = 'RUN') then
67:
68: l_transaction_id := to_number(itemkey);
69:
70: OE_STANDARD_WF.Set_Msg_Context(actid);
71: OE_MSG_PUB.set_msg_context(
72: p_entity_code => 'HEADER'
73: ,p_entity_id => to_number(itemkey)
74: ,p_header_id => to_number(itemkey));

Line 119: OE_STANDARD_WF.Save_Messages;

115: oe_debug_pub.add('Initiate_approval STATUS FROM Update_Flow_Status_Code: '|| l_return_status );
116: END IF;
117:
118: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
119: OE_STANDARD_WF.Save_Messages;
120: OE_STANDARD_WF.Clear_Msg_Context;
121: app_exception.raise_exception;
122: END IF;
123:

Line 120: OE_STANDARD_WF.Clear_Msg_Context;

116: END IF;
117:
118: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
119: OE_STANDARD_WF.Save_Messages;
120: OE_STANDARD_WF.Clear_Msg_Context;
121: app_exception.raise_exception;
122: END IF;
123:
124: */

Line 127: OE_STANDARD_WF.Save_Messages;

123:
124: */
125:
126: resultout := 'COMPLETE:NOT_ELIGIBLE';
127: OE_STANDARD_WF.Save_Messages;
128: OE_STANDARD_WF.Clear_Msg_Context;
129: return;
130:
131: else

Line 128: OE_STANDARD_WF.Clear_Msg_Context;

124: */
125:
126: resultout := 'COMPLETE:NOT_ELIGIBLE';
127: OE_STANDARD_WF.Save_Messages;
128: OE_STANDARD_WF.Clear_Msg_Context;
129: return;
130:
131: else
132: IF l_debug_level > 0 THEN

Line 163: -- OE_STANDARD_WF.Save_Messages;

159: END IF;
160:
161: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
162: -- start data fix project
163: -- OE_STANDARD_WF.Save_Messages;
164: -- OE_STANDARD_WF.Clear_Msg_Context;
165: -- end data fix project
166: app_exception.raise_exception;
167: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 164: -- OE_STANDARD_WF.Clear_Msg_Context;

160:
161: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
162: -- start data fix project
163: -- OE_STANDARD_WF.Save_Messages;
164: -- OE_STANDARD_WF.Clear_Msg_Context;
165: -- end data fix project
166: app_exception.raise_exception;
167: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
168: -- start data fix project

Line 169: -- OE_STANDARD_WF.Save_Messages;

165: -- end data fix project
166: app_exception.raise_exception;
167: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
168: -- start data fix project
169: -- OE_STANDARD_WF.Save_Messages;
170: -- OE_STANDARD_WF.Clear_Msg_Context;
171: -- end data fix project
172: app_exception.raise_exception;
173: END IF;

Line 170: -- OE_STANDARD_WF.Clear_Msg_Context;

166: app_exception.raise_exception;
167: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
168: -- start data fix project
169: -- OE_STANDARD_WF.Save_Messages;
170: -- OE_STANDARD_WF.Clear_Msg_Context;
171: -- end data fix project
172: app_exception.raise_exception;
173: END IF;
174:

Line 235: -- OE_STANDARD_WF.Save_Messages;

231: END IF;
232:
233: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
234: -- start data fix project
235: -- OE_STANDARD_WF.Save_Messages;
236: -- OE_STANDARD_WF.Clear_Msg_Context;
237: -- end data fix project
238: app_exception.raise_exception;
239: END IF;

Line 236: -- OE_STANDARD_WF.Clear_Msg_Context;

232:
233: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
234: -- start data fix project
235: -- OE_STANDARD_WF.Save_Messages;
236: -- OE_STANDARD_WF.Clear_Msg_Context;
237: -- end data fix project
238: app_exception.raise_exception;
239: END IF;
240:

Line 243: OE_STANDARD_WF.Clear_Msg_Context;

239: END IF;
240:
241:
242: resultout := 'COMPLETE:COMPLETE';
243: OE_STANDARD_WF.Clear_Msg_Context;
244: return;
245: end if;
246: end if; -- End for 'RUN' mode
247:

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

277: -- in the case of an exception.
278: wf_core.context('OE_APPROVALS_WF', 'Initiate_Approval',
279: itemtype, itemkey, to_char(actid), funcmode);
280: -- start data fix project
281: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
282: p_itemtype => itemtype,
283: p_itemkey => itemkey);
284: OE_STANDARD_WF.Save_Messages;
285: OE_STANDARD_WF.Clear_Msg_Context;

Line 284: OE_STANDARD_WF.Save_Messages;

280: -- start data fix project
281: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
282: p_itemtype => itemtype,
283: p_itemkey => itemkey);
284: OE_STANDARD_WF.Save_Messages;
285: OE_STANDARD_WF.Clear_Msg_Context;
286: -- end data fix project
287: raise;
288:

Line 285: OE_STANDARD_WF.Clear_Msg_Context;

281: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
282: p_itemtype => itemtype,
283: p_itemkey => itemkey);
284: OE_STANDARD_WF.Save_Messages;
285: OE_STANDARD_WF.Clear_Msg_Context;
286: -- end data fix project
287: raise;
288:
289:

Line 343: OE_STANDARD_WF.Set_Msg_Context(actid);

339: if (funcmode = 'RUN') then
340:
341: l_transaction_id := to_number(itemkey);
342:
343: OE_STANDARD_WF.Set_Msg_Context(actid);
344: OE_MSG_PUB.set_msg_context(
345: p_entity_code => 'HEADER'
346: ,p_entity_id => to_number(itemkey)
347: ,p_header_id => to_number(itemkey));

Line 396: OE_STANDARD_WF.Save_Messages;

392: oe_debug_pub.add('Get_next_approval STATUS FROM Update_Flow_Status_Code: '|| l_return_status );
393: END IF;
394:
395: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
396: OE_STANDARD_WF.Save_Messages;
397: OE_STANDARD_WF.Clear_Msg_Context;
398: app_exception.raise_exception;
399: END IF;
400: */

Line 397: OE_STANDARD_WF.Clear_Msg_Context;

393: END IF;
394:
395: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
396: OE_STANDARD_WF.Save_Messages;
397: OE_STANDARD_WF.Clear_Msg_Context;
398: app_exception.raise_exception;
399: END IF;
400: */
401:

Line 403: OE_STANDARD_WF.Save_Messages;

399: END IF;
400: */
401:
402: resultout := 'COMPLETE:N';
403: OE_STANDARD_WF.Save_Messages;
404: OE_STANDARD_WF.Clear_Msg_Context;
405: return;
406:
407: else

Line 404: OE_STANDARD_WF.Clear_Msg_Context;

400: */
401:
402: resultout := 'COMPLETE:N';
403: OE_STANDARD_WF.Save_Messages;
404: OE_STANDARD_WF.Clear_Msg_Context;
405: return;
406:
407: else
408: wf_engine.SetItemAttrText(itemtype,

Line 460: OE_STANDARD_WF.Save_Messages;

456:
457:
458:
459: resultout := 'COMPLETE:Y';
460: OE_STANDARD_WF.Save_Messages;
461: OE_STANDARD_WF.Clear_Msg_Context;
462: return;
463: end if;
464:

Line 461: OE_STANDARD_WF.Clear_Msg_Context;

457:
458:
459: resultout := 'COMPLETE:Y';
460: OE_STANDARD_WF.Save_Messages;
461: OE_STANDARD_WF.Clear_Msg_Context;
462: return;
463: end if;
464:
465: end if; -- End for 'RUN' mode

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

496: -- in the case of an exception.
497: wf_core.context('OE_APPROVALS_WF', 'Get_Next_Approver',
498: itemtype, itemkey, to_char(actid), funcmode);
499: -- start data fix project
500: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
501: p_itemtype => itemtype,
502: p_itemkey => itemkey);
503: OE_STANDARD_WF.Save_Messages;
504: OE_STANDARD_WF.Clear_Msg_Context;

Line 503: OE_STANDARD_WF.Save_Messages;

499: -- start data fix project
500: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
501: p_itemtype => itemtype,
502: p_itemkey => itemkey);
503: OE_STANDARD_WF.Save_Messages;
504: OE_STANDARD_WF.Clear_Msg_Context;
505: -- end data fix project
506: raise;
507:

Line 504: OE_STANDARD_WF.Clear_Msg_Context;

500: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
501: p_itemtype => itemtype,
502: p_itemkey => itemkey);
503: OE_STANDARD_WF.Save_Messages;
504: OE_STANDARD_WF.Clear_Msg_Context;
505: -- end data fix project
506: raise;
507:
508:

Line 773: OE_STANDARD_WF.Set_Msg_Context(actid);

769: l_transaction_id,
770: 'SALES_DOCUMENT_TYPE_CODE');
771: END IF;
772:
773: OE_STANDARD_WF.Set_Msg_Context(actid);
774: OE_MSG_PUB.set_msg_context(
775: p_entity_code => 'HEADER'
776: ,p_entity_id => to_number(itemkey)
777: ,p_header_id => to_number(itemkey));

Line 796: -- OE_STANDARD_WF.Save_Messages;

792: END IF;
793:
794: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
795: -- start data fix project
796: -- OE_STANDARD_WF.Save_Messages;
797: -- OE_STANDARD_WF.Clear_Msg_Context;
798: -- end data fix project
799: --app_exception.raise_exception;
800: --bug7386039

Line 797: -- OE_STANDARD_WF.Clear_Msg_Context;

793:
794: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
795: -- start data fix project
796: -- OE_STANDARD_WF.Save_Messages;
797: -- OE_STANDARD_WF.Clear_Msg_Context;
798: -- end data fix project
799: --app_exception.raise_exception;
800: --bug7386039
801:

Line 808: OE_STANDARD_WF.Save_Messages;

804:
805: END IF;
806:
807: resultout := 'COMPLETE';
808: OE_STANDARD_WF.Save_Messages;
809: OE_STANDARD_WF.Clear_Msg_Context;
810: return;
811:
812: end if;

Line 809: OE_STANDARD_WF.Clear_Msg_Context;

805: END IF;
806:
807: resultout := 'COMPLETE';
808: OE_STANDARD_WF.Save_Messages;
809: OE_STANDARD_WF.Clear_Msg_Context;
810: return;
811:
812: end if;
813:

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

847: END IF;
848: wf_core.context('OE_APPROVALS_WF', 'Approve_Approval',
849: itemtype, itemkey, to_char(actid), funcmode);
850: -- start data fix project
851: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
852: p_itemtype => itemtype,
853: p_itemkey => itemkey);
854: OE_STANDARD_WF.Save_Messages;
855: OE_STANDARD_WF.Clear_Msg_Context;

Line 854: OE_STANDARD_WF.Save_Messages;

850: -- start data fix project
851: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
852: p_itemtype => itemtype,
853: p_itemkey => itemkey);
854: OE_STANDARD_WF.Save_Messages;
855: OE_STANDARD_WF.Clear_Msg_Context;
856: -- end data fix project
857: raise;
858:

Line 855: OE_STANDARD_WF.Clear_Msg_Context;

851: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
852: p_itemtype => itemtype,
853: p_itemkey => itemkey);
854: OE_STANDARD_WF.Save_Messages;
855: OE_STANDARD_WF.Clear_Msg_Context;
856: -- end data fix project
857: raise;
858:
859:

Line 895: OE_STANDARD_WF.Set_Msg_Context(actid);

891: if (funcmode = 'RUN') then
892:
893: l_transaction_id := to_number(itemkey);
894:
895: OE_STANDARD_WF.Set_Msg_Context(actid);
896: OE_MSG_PUB.set_msg_context(
897: p_entity_code => 'HEADER'
898: ,p_entity_id => to_number(itemkey)
899: ,p_header_id => to_number(itemkey));

Line 925: OE_STANDARD_WF.Clear_Msg_Context;

921: 'Y');
922:
923: if l_next_role is NULL THEN
924: resultout := 'COMPLETE:REJECTED';
925: OE_STANDARD_WF.Clear_Msg_Context;
926: return;
927: else
928: resultout := 'COMPLETE:CONTINUE';
929: OE_STANDARD_WF.Clear_Msg_Context;

Line 929: OE_STANDARD_WF.Clear_Msg_Context;

925: OE_STANDARD_WF.Clear_Msg_Context;
926: return;
927: else
928: resultout := 'COMPLETE:CONTINUE';
929: OE_STANDARD_WF.Clear_Msg_Context;
930: return;
931: end if;
932:
933: ELSE

Line 935: OE_STANDARD_WF.Clear_Msg_Context;

931: end if;
932:
933: ELSE
934: resultout := 'COMPLETE:REJECTED';
935: OE_STANDARD_WF.Clear_Msg_Context;
936: return;
937:
938: END IF;
939:

Line 942: OE_STANDARD_WF.Clear_Msg_Context;

938: END IF;
939:
940:
941: resultout := 'COMPLETE';
942: OE_STANDARD_WF.Clear_Msg_Context;
943: return;
944: end if; -- End for 'RUN' mode
945:
946: --

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

979: END IF;
980: wf_core.context('OE_APPROVALS_WF', 'Approval_Timeout',
981: itemtype, itemkey, to_char(actid), funcmode);
982: -- start data fix project
983: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
984: p_itemtype => itemtype,
985: p_itemkey => itemkey);
986: OE_STANDARD_WF.Save_Messages;
987: OE_STANDARD_WF.Clear_Msg_Context;

Line 986: OE_STANDARD_WF.Save_Messages;

982: -- start data fix project
983: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
984: p_itemtype => itemtype,
985: p_itemkey => itemkey);
986: OE_STANDARD_WF.Save_Messages;
987: OE_STANDARD_WF.Clear_Msg_Context;
988: -- end data fix project
989: raise;
990:

Line 987: OE_STANDARD_WF.Clear_Msg_Context;

983: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
984: p_itemtype => itemtype,
985: p_itemkey => itemkey);
986: OE_STANDARD_WF.Save_Messages;
987: OE_STANDARD_WF.Clear_Msg_Context;
988: -- end data fix project
989: raise;
990:
991:

Line 1027: OE_STANDARD_WF.Set_Msg_Context(actid);

1023: if (funcmode = 'RUN') then
1024:
1025: l_transaction_id := to_number(itemkey);
1026:
1027: OE_STANDARD_WF.Set_Msg_Context(actid);
1028: OE_MSG_PUB.set_msg_context(
1029: p_entity_code => 'HEADER'
1030: ,p_entity_id => to_number(itemkey)
1031: ,p_header_id => to_number(itemkey));

Line 1072: -- OE_STANDARD_WF.Save_Messages;

1068: END IF;
1069:
1070: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1071: -- start data fix project
1072: -- OE_STANDARD_WF.Save_Messages;
1073: -- OE_STANDARD_WF.Clear_Msg_Context;
1074: -- end data fix project
1075: --app_exception.raise_exception;
1076: --bug7386039

Line 1073: -- OE_STANDARD_WF.Clear_Msg_Context;

1069:
1070: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1071: -- start data fix project
1072: -- OE_STANDARD_WF.Save_Messages;
1073: -- OE_STANDARD_WF.Clear_Msg_Context;
1074: -- end data fix project
1075: --app_exception.raise_exception;
1076: --bug7386039
1077: resultout := 'DEFERRED:'||to_char(sysdate+(TO_NUMBER(g_defer_min)/1440),wf_engine.date_format);

Line 1085: OE_STANDARD_WF.Clear_Msg_Context;

1081:
1082:
1083:
1084: resultout := 'COMPLETE';
1085: OE_STANDARD_WF.Clear_Msg_Context;
1086: return;
1087: end if; -- End for 'RUN' mode
1088:
1089: --

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

1121: END IF;
1122: wf_core.context('OE_APPROVALS_WF', 'Reject_Approval',
1123: itemtype, itemkey, to_char(actid), funcmode);
1124: -- start data fix project
1125: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1126: p_itemtype => itemtype,
1127: p_itemkey => itemkey);
1128: OE_STANDARD_WF.Save_Messages;
1129: OE_STANDARD_WF.Clear_Msg_Context;

Line 1128: OE_STANDARD_WF.Save_Messages;

1124: -- start data fix project
1125: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1126: p_itemtype => itemtype,
1127: p_itemkey => itemkey);
1128: OE_STANDARD_WF.Save_Messages;
1129: OE_STANDARD_WF.Clear_Msg_Context;
1130: -- end data fix project
1131: raise;
1132:

Line 1129: OE_STANDARD_WF.Clear_Msg_Context;

1125: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
1126: p_itemtype => itemtype,
1127: p_itemkey => itemkey);
1128: OE_STANDARD_WF.Save_Messages;
1129: OE_STANDARD_WF.Clear_Msg_Context;
1130: -- end data fix project
1131: raise;
1132:
1133: