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: --sol_ord_er #16014165
181: ELSIF l_result_out = OE_GLOBALS.G_CONTRACTS_BILLED THEN
182: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_CONTRACTS_BILLED;

Line 183: OE_STANDARD_WF.Clear_Msg_Context;

179: RETURN;
180: --sol_ord_er #16014165
181: ELSIF l_result_out = OE_GLOBALS.G_CONTRACTS_BILLED THEN
182: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_CONTRACTS_BILLED;
183: OE_STANDARD_WF.Clear_Msg_Context;
184: RETURN;
185: --sol_ord_er #16014165 end
186: END IF;
187: ELSIF l_return_status = 'DEFERRED' THEN

Line 188: OE_STANDARD_WF.Clear_Msg_Context;

184: RETURN;
185: --sol_ord_er #16014165 end
186: END IF;
187: ELSIF l_return_status = 'DEFERRED' THEN
188: OE_STANDARD_WF.Clear_Msg_Context;
189: IF g_defer IS NOT NULL THEN -- 4343423
190: BEGIN
191: IF TO_NUMBER(g_defer) >= 0 THEN
192: resultout := 'DEFERRED:'||to_char(sysdate+(TO_NUMBER(g_defer)/1440),wf_engine.date_format);

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

216: -- FLOW_STATUS_CODE = 'INVOICE_UNEXPECTED_ERROR',
217: -- CALCULATE_PRICE_FLAG = 'N',
218: -- LOCK_CONTROL = LOCK_CONTROL + 1
219: -- WHERE LINE_ID = l_line_id;
220: --OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
221: --OE_STANDARD_WF.Clear_Msg_Context;
222: -- commit; -- messages were not saved without this
223: -- end data fix project
224: IF l_debug_level > 0 THEN

Line 221: --OE_STANDARD_WF.Clear_Msg_Context;

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

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

230: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
231: -- For HOLDs and Validation errors
232: IF l_result_out = OE_GLOBALS.G_WFR_ON_HOLD THEN
233: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_ON_HOLD;
234: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
235: OE_STANDARD_WF.Clear_Msg_Context;
236: RETURN;
237: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
238: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;

Line 235: OE_STANDARD_WF.Clear_Msg_Context;

231: -- For HOLDs and Validation errors
232: IF l_result_out = OE_GLOBALS.G_WFR_ON_HOLD THEN
233: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_ON_HOLD;
234: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
235: OE_STANDARD_WF.Clear_Msg_Context;
236: RETURN;
237: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
238: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;
239: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);

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

235: OE_STANDARD_WF.Clear_Msg_Context;
236: RETURN;
237: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
238: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;
239: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
240: OE_STANDARD_WF.Clear_Msg_Context;
241: RETURN;
242: END IF;
243: END IF;

Line 240: OE_STANDARD_WF.Clear_Msg_Context;

236: RETURN;
237: ELSIF l_result_out = OE_GLOBALS.G_WFR_INCOMPLETE THEN
238: resultout := OE_GLOBALS.G_WFR_COMPLETE || ':' || OE_GLOBALS.G_WFR_INCOMPLETE;
239: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
240: OE_STANDARD_WF.Clear_Msg_Context;
241: RETURN;
242: END IF;
243: END IF;
244:

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

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

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

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

Line 283: OE_STANDARD_WF.Clear_Msg_Context;

279: OE_STANDARD_WF.Add_Error_Activity_Msg(p_actid => actid,
280: p_itemtype => itemtype,
281: p_itemkey => itemkey);
282: OE_STANDARD_WF.Save_Messages(p_instance_id => actid);
283: OE_STANDARD_WF.Clear_Msg_Context;
284: -- end data fix project
285: RAISE;
286:
287: END Invoice_Interface;