DBA Data[Home] [Help]

APPS.OE_INVOICE_WF dependencies on STANDARD

Line 56: OE_STANDARD_WF.Set_Msg_Context(actid);

52: -- RUN mode - normal process execution
53: --
54: IF (funcmode = 'RUN') THEN
55:
56: OE_STANDARD_WF.Set_Msg_Context(actid);
57:
58: IF itemtype = OE_GLOBALS.G_WFI_LIN THEN
59: l_line_id := to_number(itemkey);
60: ELSIF itemtype = OE_GLOBALS.G_WFI_HDR THEN

Line 104: OE_STANDARD_WF.Clear_Msg_Context;

100: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_COMPLETE ;
101: IF l_debug_level > 0 THEN
102: oe_debug_pub.add( 'Line is Invoiced, NOT invoicing any more ' ) ;
103: END IF;
104: OE_STANDARD_WF.Clear_Msg_Context;
105: RETURN;
106: END IF;
107: --END Bug 6065302
108: OE_Invoice_PUB.Interface_Line( l_line_id

Line 150: OE_STANDARD_WF.Clear_Msg_Context;

146: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_COMPLETE ;
147: IF l_debug_level > 0 THEN
148: oe_debug_pub.add( 'Lines in Header Invoiced, NOT invoicing any more ' ) ;
149: END IF;
150: OE_STANDARD_WF.Clear_Msg_Context;
151: RETURN;
152: END IF;
153: --END Bug 6065302
154: OE_Invoice_PUB.Interface_Header( l_header_id

Line 166: OE_STANDARD_WF.Clear_Msg_Context;

162: END IF;
163: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN
164: IF l_result_out = OE_GLOBALS.G_WFR_NOT_ELIGIBLE THEN
165: resultout := OE_GLOBALS.G_WFR_COMPLETE ||':' || OE_GLOBALS.G_WFR_NOT_ELIGIBLE ;
166: OE_STANDARD_WF.Clear_Msg_Context;
167: RETURN;
168: ELSIF l_result_out = OE_GLOBALS.G_WFR_COMPLETE THEN
169: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_COMPLETE ;
170: OE_STANDARD_WF.Clear_Msg_Context;

Line 170: OE_STANDARD_WF.Clear_Msg_Context;

166: OE_STANDARD_WF.Clear_Msg_Context;
167: RETURN;
168: ELSIF l_result_out = OE_GLOBALS.G_WFR_COMPLETE THEN
169: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_COMPLETE ;
170: OE_STANDARD_WF.Clear_Msg_Context;
171: RETURN;
172: ELSIF l_result_out = OE_GLOBALS.G_WFR_PRTL_COMPLETE THEN
173: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_PRTL_COMPLETE;
174: OE_STANDARD_WF.Clear_Msg_Context;

Line 174: OE_STANDARD_WF.Clear_Msg_Context;

170: OE_STANDARD_WF.Clear_Msg_Context;
171: RETURN;
172: ELSIF l_result_out = OE_GLOBALS.G_WFR_PRTL_COMPLETE THEN
173: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_PRTL_COMPLETE;
174: OE_STANDARD_WF.Clear_Msg_Context;
175: RETURN;
176: ELSIF l_result_out = OE_GLOBALS.G_WFR_PENDING_ACCEPTANCE THEN
177: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_PENDING_ACCEPTANCE;
178: OE_STANDARD_WF.Clear_Msg_Context;

Line 178: OE_STANDARD_WF.Clear_Msg_Context;

174: OE_STANDARD_WF.Clear_Msg_Context;
175: RETURN;
176: ELSIF l_result_out = OE_GLOBALS.G_WFR_PENDING_ACCEPTANCE THEN
177: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_PENDING_ACCEPTANCE;
178: OE_STANDARD_WF.Clear_Msg_Context;
179: RETURN;
180: END IF;
181: ELSIF l_return_status = 'DEFERRED' THEN
182: OE_STANDARD_WF.Clear_Msg_Context;

Line 182: OE_STANDARD_WF.Clear_Msg_Context;

178: OE_STANDARD_WF.Clear_Msg_Context;
179: RETURN;
180: END IF;
181: ELSIF l_return_status = 'DEFERRED' THEN
182: OE_STANDARD_WF.Clear_Msg_Context;
183: IF g_defer IS NOT NULL THEN -- 4343423
184: BEGIN
185: IF TO_NUMBER(g_defer) >= 0 THEN
186: resultout := 'DEFERRED:'||to_char(sysdate+(TO_NUMBER(g_defer)/1440),wf_engine.date_format);

Line 214: --OE_STANDARD_WF.Save_Messages(p_instance_id => actid);

210: -- FLOW_STATUS_CODE = 'INVOICE_UNEXPECTED_ERROR',
211: -- CALCULATE_PRICE_FLAG = 'N',
212: -- LOCK_CONTROL = LOCK_CONTROL + 1
213: -- WHERE LINE_ID = l_line_id;
214: --OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
215: --OE_STANDARD_WF.Clear_Msg_Context;
216: -- commit; -- messages were not saved without this
217: -- end data fix project
218: IF l_debug_level > 0 THEN

Line 215: --OE_STANDARD_WF.Clear_Msg_Context;

211: -- CALCULATE_PRICE_FLAG = 'N',
212: -- LOCK_CONTROL = LOCK_CONTROL + 1
213: -- WHERE LINE_ID = l_line_id;
214: --OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
215: --OE_STANDARD_WF.Clear_Msg_Context;
216: -- commit; -- messages were not saved without this
217: -- end data fix project
218: IF l_debug_level > 0 THEN
219: oe_debug_pub.add('OEXWINVB.pls - in unexpected error raise exception');

Line 228: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);

224: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
225: -- For HOLDs and Validation errors
226: IF l_result_out = OE_GLOBALS.G_WFR_ON_HOLD THEN
227: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_ON_HOLD;
228: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
229: OE_STANDARD_WF.Clear_Msg_Context;
230: RETURN;
231: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
232: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;

Line 229: OE_STANDARD_WF.Clear_Msg_Context;

225: -- For HOLDs and Validation errors
226: IF l_result_out = OE_GLOBALS.G_WFR_ON_HOLD THEN
227: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_ON_HOLD;
228: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
229: OE_STANDARD_WF.Clear_Msg_Context;
230: RETURN;
231: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
232: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;
233: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);

Line 233: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);

229: OE_STANDARD_WF.Clear_Msg_Context;
230: RETURN;
231: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
232: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;
233: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
234: OE_STANDARD_WF.Clear_Msg_Context;
235: RETURN;
236: END IF;
237: END IF;

Line 234: OE_STANDARD_WF.Clear_Msg_Context;

230: RETURN;
231: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
232: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;
233: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
234: OE_STANDARD_WF.Clear_Msg_Context;
235: RETURN;
236: END IF;
237: END IF;
238:

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

269: -- in the case of an exception.
270: wf_core.context('OE_Invoice_WF', 'Invoice_Interface',
271: 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: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
277: OE_STANDARD_WF.Clear_Msg_Context;

Line 276: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);

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: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
277: OE_STANDARD_WF.Clear_Msg_Context;
278: -- end data fix project
279: RAISE;
280:

Line 277: OE_STANDARD_WF.Clear_Msg_Context;

273: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
274: p_itemtype => itemtype,
275: p_itemkey => itemkey);
276: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
277: OE_STANDARD_WF.Clear_Msg_Context;
278: -- end data fix project
279: RAISE;
280:
281: END Invoice_Interface;