DBA Data[Home] [Help]

APPS.PO_WF_PO_VARIANCE_ACC dependencies on WF_ENGINE

Line 40: if (funcmode <> wf_engine.eng_run) then

36:
37:
38: -- Do nothing in cancel or timeout mode
39: --
40: if (funcmode <> wf_engine.eng_run) then
41:
42: result := wf_engine.eng_null;
43: return;
44:

Line 42: result := wf_engine.eng_null;

38: -- Do nothing in cancel or timeout mode
39: --
40: if (funcmode <> wf_engine.eng_run) then
41:
42: result := wf_engine.eng_null;
43: return;
44:
45: end if;
46:

Line 97: if (funcmode <> wf_engine.eng_run) then

93:
94:
95: -- Do nothing in cancel or timeout mode
96: --
97: if (funcmode <> wf_engine.eng_run) then
98:
99: result := wf_engine.eng_null;
100: return;
101:

Line 99: result := wf_engine.eng_null;

95: -- Do nothing in cancel or timeout mode
96: --
97: if (funcmode <> wf_engine.eng_run) then
98:
99: result := wf_engine.eng_null;
100: return;
101:
102: end if;
103:

Line 115: x_destination_type := wf_engine.GetItemAttrText ( itemtype => itemtype, itemkey => itemkey, aname => 'DESTINATION_TYPE_CODE');

111: itemkey => itemkey,
112: aname => 'ITEM_ID');
113:
114: -- Bug 4008665: Get the destination type code.
115: x_destination_type := wf_engine.GetItemAttrText ( itemtype => itemtype, itemkey => itemkey, aname => 'DESTINATION_TYPE_CODE');
116:
117: begin
118: --Bug# 1902716 togeorge 07/25/2001
119: --EAM: if item id is null get the accrual account from po_system_parameters

Line 266: IF (funcmode <> WF_ENGINE.eng_run) THEN

262: BEGIN
263: l_progress := '010';
264:
265: -- Do nothing in cancel or timeout mode
266: IF (funcmode <> WF_ENGINE.eng_run) THEN
267: result := WF_ENGINE.eng_null;
268: RETURN;
269: END IF;
270:

Line 267: result := WF_ENGINE.eng_null;

263: l_progress := '010';
264:
265: -- Do nothing in cancel or timeout mode
266: IF (funcmode <> WF_ENGINE.eng_run) THEN
267: result := WF_ENGINE.eng_null;
268: RETURN;
269: END IF;
270:
271: l_progress := '020';

Line 288: result := WF_ENGINE.eng_completed || ':Y';

284: l_progress := '030';
285: IF l_dest_variance_account_id IS NULL OR
286: l_dest_variance_account_id = 0 OR
287: l_dest_variance_account_id = -1 THEN
288: result := WF_ENGINE.eng_completed || ':Y';
289: ELSE
290: -- If the Dest Variance Account is not null (only one case -- autocreate),
291: -- then copy it into the TEMP_ACCOUNT_ID.
292: l_progress := '040';

Line 298: result := WF_ENGINE.eng_completed || ':N';

294: itemkey => itemkey,
295: aname => 'TEMP_ACCOUNT_ID',
296: avalue => l_dest_variance_account_id);
297: l_progress := '050';
298: result := WF_ENGINE.eng_completed || ':N';
299: END IF;
300:
301: IF (g_po_wf_debug = 'Y') THEN
302: PO_WF_DEBUG_PKG.insert_debug(itemtype, itemkey,

Line 354: IF (funcmode <> WF_ENGINE.eng_run) THEN

350: BEGIN
351: l_progress := '010';
352:
353: -- Do nothing in cancel or timeout mode
354: IF (funcmode <> WF_ENGINE.eng_run) THEN
355: result := WF_ENGINE.eng_null;
356: RETURN;
357: END IF;
358:

Line 355: result := WF_ENGINE.eng_null;

351: l_progress := '010';
352:
353: -- Do nothing in cancel or timeout mode
354: IF (funcmode <> WF_ENGINE.eng_run) THEN
355: result := WF_ENGINE.eng_null;
356: RETURN;
357: END IF;
358:
359: l_progress := '020';

Line 375: result := WF_ENGINE.eng_completed || ':FAILURE';

371: l_progress := '030';
372: IF l_dest_charge_account_id IS NULL OR
373: l_dest_charge_account_id = 0 OR
374: l_dest_charge_account_id = -1 THEN
375: result := WF_ENGINE.eng_completed || ':FAILURE';
376: ELSE
377: l_progress := '040';
378: PO_WF_UTIL_PKG.SetItemAttrNumber(itemtype => itemtype,
379: itemkey => itemkey,

Line 383: result := WF_ENGINE.eng_completed || ':SUCCESS';

379: itemkey => itemkey,
380: aname => 'TEMP_ACCOUNT_ID',
381: avalue => l_dest_charge_account_id);
382: l_progress := '050';
383: result := WF_ENGINE.eng_completed || ':SUCCESS';
384: END IF;
385:
386: IF (g_po_wf_debug = 'Y') THEN
387: PO_WF_DEBUG_PKG.insert_debug(itemtype, itemkey,

Line 445: IF (funcmode <> wf_engine.eng_run) THEN

441: END IF;
442:
443: -- Do nothing in cancel or timeout mode
444: --
445: IF (funcmode <> wf_engine.eng_run) THEN
446: result := wf_engine.eng_null;
447: RETURN;
448: END IF;
449:

Line 446: result := wf_engine.eng_null;

442:
443: -- Do nothing in cancel or timeout mode
444: --
445: IF (funcmode <> wf_engine.eng_run) THEN
446: result := wf_engine.eng_null;
447: RETURN;
448: END IF;
449:
450: x_dest_org_id := po_wf_util_pkg.GetItemAttrNumber(itemtype => itemtype,