60:
61:
62: -- Do nothing in cancel or timeout mode
63: --
64: if (funcmode <> wf_engine.eng_run) then
65:
66: result := wf_engine.eng_null;
67: return;
68:
62: -- Do nothing in cancel or timeout mode
63: --
64: if (funcmode <> wf_engine.eng_run) then
65:
66: result := wf_engine.eng_null;
67: return;
68:
69: end if;
70:
103: IF (g_po_wf_debug = 'Y') THEN
104: /* DEBUG */ PO_WF_DEBUG_PKG.insert_debug(itemtype,itemkey,x_progress);
105: END IF;
106:
107: wf_engine.SetItemAttrText ( itemtype=>itemtype,
108: itemkey=>itemkey,
109: aname=>'ERROR_MESSAGE',
110: avalue=>FB_ERROR_MSG );
111:
155:
156:
157: -- Do nothing in cancel or timeout mode
158: --
159: if (funcmode <> wf_engine.eng_run) then
160:
161: result := wf_engine.eng_null;
162: return;
163:
157: -- Do nothing in cancel or timeout mode
158: --
159: if (funcmode <> wf_engine.eng_run) then
160:
161: result := wf_engine.eng_null;
162: return;
163:
164: end if;
165:
188: return;
189: else
190: --If the build_account call returns an error message then set the ERROR_MSG attrib.
191:
192: wf_engine.SetItemAttrText ( itemtype=>itemtype,
193: itemkey=>itemkey,
194: aname=>'ERROR_MESSAGE',
195: avalue=>FB_ERROR_MSG );
196:
231:
232:
233: -- Do nothing in cancel or timeout mode
234: --
235: if (funcmode <> wf_engine.eng_run) then
236:
237: result := wf_engine.eng_null;
238: return;
239:
233: -- Do nothing in cancel or timeout mode
234: --
235: if (funcmode <> wf_engine.eng_run) then
236:
237: result := wf_engine.eng_null;
238: return;
239:
240: end if;
241:
264: return;
265: else
266: --If the build_account call returns an error message then set the ERROR_MSG attrib.
267:
268: wf_engine.SetItemAttrText ( itemtype=>itemtype,
269: itemkey=>itemkey,
270: aname=>'ERROR_MESSAGE',
271: avalue=>FB_ERROR_MSG );
272:
307:
308:
309: -- Do nothing in cancel or timeout mode
310: --
311: if (funcmode <> wf_engine.eng_run) then
312:
313: result := wf_engine.eng_null;
314: return;
315:
309: -- Do nothing in cancel or timeout mode
310: --
311: if (funcmode <> wf_engine.eng_run) then
312:
313: result := wf_engine.eng_null;
314: return;
315:
316: end if;
317:
340: return;
341: else
342: --If the build_account call returns an error message then set the ERROR_MSG attrib.
343:
344: wf_engine.SetItemAttrText ( itemtype=>itemtype,
345: itemkey=>itemkey,
346: aname=>'ERROR_MESSAGE',
347: avalue=>FB_ERROR_MSG );
348:
1028: procedure Get_att(itemtype in varchar2, itemkey in varchar2, variable in out NOCOPY varchar2, l_aname in varchar2)
1029: is
1030: begin
1031:
1032: variable := wf_engine.GetItemAttrText ( itemtype => itemtype,
1033: itemkey => itemkey,
1034: aname => l_aname);
1035:
1036: end;
1039: l_aname in varchar2)
1040: is
1041: begin
1042:
1043: variable := wf_engine.GetItemAttrNumber ( itemtype => itemtype,
1044: itemkey => itemkey,
1045: aname => l_aname);
1046:
1047: end;
1050: l_aname in varchar2)
1051: is
1052: begin
1053:
1054: variable := wf_engine.GetItemAttrDate ( itemtype => itemtype,
1055: itemkey => itemkey,
1056: aname => l_aname);
1057:
1058: end;