229: and adl_line_num = 1;
230:
231: BEGIN
232:
233: if (funcmode <> wf_engine.eng_run) then
234: resultout := 'ERROR';
235: RETURN 0;
236: end if;
237:
234: resultout := 'ERROR';
235: RETURN 0;
236: end if;
237:
238: l_award_set_id := wf_engine.GetItemAttrNumber( itemtype => itemtype,
239: itemkey => itemkey,
240: aname => 'AWARD_SET_ID' );
241:
242:
254: END IF ;
255:
256: IF NVL(l_doc_type,P_DOC_TYPE) IN ( 'REQ' ) THEN
257:
258: l_attr_award_id := wf_engine.GetItemAttrText( itemtype => itemtype,
259: itemkey => itemkey,
260: aname => 'LINE_ATT7' );
261:
262: END IF ;