340: WHEN OTHERS THEN
341: ResultOut := 'ERROR';
342: WF_ENGINE.SetItemAttrText
343: ( ItemType => ItemType , ItemKey => ItemKey , AName => 'ERRORTEXT' , AValue => sqlerrm );
344: WF_CORE.Context( 'PJM_MASS_TRANSFER_WF'
345: , 'INITIALIZE'
346: , ItemType , ItemKey , to_char(ActID) , FuncMode , ResultOut );
347: RAISE;
348:
423: WHEN OTHERS THEN
424: ResultOut := 'ERROR';
425: WF_ENGINE.SetItemAttrText
426: ( ItemType => ItemType , ItemKey => ItemKey , AName => 'ERRORTEXT' , AValue => sqlerrm );
427: WF_CORE.Context( 'PJM_MASS_TRANSFER_WF'
428: , 'APPROVAL_REQUIRED_F'
429: , ItemType , ItemKey , to_char(ActID) , FuncMode , ResultOut );
430: RAISE;
431:
525: WHEN OTHERS THEN
526: ResultOut := 'ERROR';
527: WF_ENGINE.SetItemAttrText
528: ( ItemType => ItemType , ItemKey => ItemKey , AName => 'ERRORTEXT' , AValue => sqlerrm );
529: WF_CORE.Context( 'PJM_MASS_TRANSFER_WF'
530: , 'APPROVAL_REQUIRED_T'
531: , ItemType , ItemKey , to_char(ActID) , FuncMode , ResultOut );
532: RAISE;
533:
621: WHEN OTHERS THEN
622: ResultOut := 'COMPLETE:N';
623: WF_ENGINE.SetItemAttrText
624: ( ItemType => ItemType , ItemKey => ItemKey , AName => 'ERRORTEXT' , AValue => sqlerrm );
625: WF_CORE.Context( 'PJM_MASS_TRANSFER_WF'
626: , 'EXECUTE'
627: , ItemType , ItemKey , to_char(ActID) , FuncMode , ResultOut );
628: RAISE;
629: