DBA Data[Home] [Help]

APPS.PA_R_PROJECT_RESOURCES_PVT dependencies on WF_ENGINE

Line 3870: l_save_thresh := wf_engine.threshold ;

3866: -- to change the threshold. So we save the current threshold which
3867: -- will be used later on to change it back to the current threshold.
3868: --
3869:
3870: l_save_thresh := wf_engine.threshold ;
3871:
3872:
3873: IF wf_engine.threshold < 0 THEN
3874: wf_engine.threshold := l_save_thresh ;

Line 3873: IF wf_engine.threshold < 0 THEN

3869:
3870: l_save_thresh := wf_engine.threshold ;
3871:
3872:
3873: IF wf_engine.threshold < 0 THEN
3874: wf_engine.threshold := l_save_thresh ;
3875: END IF;
3876:
3877:

Line 3874: wf_engine.threshold := l_save_thresh ;

3870: l_save_thresh := wf_engine.threshold ;
3871:
3872:
3873: IF wf_engine.threshold < 0 THEN
3874: wf_engine.threshold := l_save_thresh ;
3875: END IF;
3876:
3877:
3878: --

Line 3883: wf_engine.threshold := -1 ;

3879: -- Set the threshold to bellow 0 so that the process will be created
3880: -- in the background
3881: --
3882:
3883: wf_engine.threshold := -1 ;
3884:
3885:
3886: l_process := 'PROCESS_CRM_UPDATE' ;
3887:

Line 3892: wf_engine.CreateProcess( ItemType => ItemType,

3888:
3889: --
3890: -- Create the appropriate process
3891: --
3892: wf_engine.CreateProcess( ItemType => ItemType,
3893: ItemKey => ItemKey,
3894: process => l_process );
3895:
3896: --

Line 3899: wf_engine.SetItemAttrText ( itemtype => itemtype,

3895:
3896: --
3897: -- Initialize workflow item attributes with the parameter values
3898: --
3899: wf_engine.SetItemAttrText ( itemtype => itemtype,
3900: itemkey => itemkey,
3901: aname => 'PROJECT_RESOURCE_ADMINISTRATOR',
3902: avalue => 'PASYSADMIN');
3903:

Line 3904: wf_engine.SetItemAttrDate ( itemtype => itemtype,

3900: itemkey => itemkey,
3901: aname => 'PROJECT_RESOURCE_ADMINISTRATOR',
3902: avalue => 'PASYSADMIN');
3903:
3904: wf_engine.SetItemAttrDate ( itemtype => itemtype,
3905: itemkey => itemkey,
3906: aname => 'ASSIGNMENT_START_DATE',
3907: avalue => p_assignment_start_date);
3908:

Line 3909: wf_engine.SetItemAttrNumber ( itemtype => itemtype,

3905: itemkey => itemkey,
3906: aname => 'ASSIGNMENT_START_DATE',
3907: avalue => p_assignment_start_date);
3908:
3909: wf_engine.SetItemAttrNumber ( itemtype => itemtype,
3910: itemkey => itemkey,
3911: aname => 'PERSON_ID',
3912: avalue => p_person_id);
3913:

Line 3914: wf_engine.StartProcess ( itemtype => itemtype,

3910: itemkey => itemkey,
3911: aname => 'PERSON_ID',
3912: avalue => p_person_id);
3913:
3914: wf_engine.StartProcess ( itemtype => itemtype,
3915: itemkey => itemkey );
3916:
3917: /* -- Insert to PA tables wf process information.
3918: -- This is required for displaying notifications on PA pages.

Line 3939: wf_engine.threshold := l_save_thresh ;

3935: WHEN OTHERS THEN
3936: null;
3937: END; */
3938:
3939: wf_engine.threshold := l_save_thresh ;
3940: EXCEPTION
3941: WHEN OTHERS THEN
3942: null;
3943:

Line 3976: l_person_id := wf_engine.GetItemAttrNumber( itemtype => itemtype,

3972: --
3973: -- Get the workflow attribute values
3974: --
3975:
3976: l_person_id := wf_engine.GetItemAttrNumber( itemtype => itemtype,
3977: itemkey => itemkey,
3978: aname => 'PERSON_ID' );
3979:
3980: l_assignment_start_date := wf_engine.GetItemAttrDate( itemtype => itemtype,

Line 3980: l_assignment_start_date := wf_engine.GetItemAttrDate( itemtype => itemtype,

3976: l_person_id := wf_engine.GetItemAttrNumber( itemtype => itemtype,
3977: itemkey => itemkey,
3978: aname => 'PERSON_ID' );
3979:
3980: l_assignment_start_date := wf_engine.GetItemAttrDate( itemtype => itemtype,
3981: itemkey => itemkey,
3982: aname => 'ASSIGNMENT_START_DATE' );
3983:
3984: --

Line 4029: resultout := wf_engine.eng_completed||':'||'S';

4025: END IF;
4026:
4027: IF l_return_status = 'S' THEN
4028:
4029: resultout := wf_engine.eng_completed||':'||'S';
4030: ELSE
4031:
4032: --
4033: -- Set any error messages

Line 4041: wf_engine.SetItemAttrText

4037:
4038: /*Added For bug 7690604 */
4039: l_data := FND_MESSAGE.get_string('PA', l_msg_data );
4040:
4041: wf_engine.SetItemAttrText
4042: ( itemtype => itemtype
4043: , itemkey => itemkey
4044: , aname => 'ERROR_MSG'
4045: , avalue => l_data -- l_msg_data -- For bug 7690604

Line 4048: resultout := wf_engine.eng_completed||':'||'F';

4044: , aname => 'ERROR_MSG'
4045: , avalue => l_data -- l_msg_data -- For bug 7690604
4046: );
4047:
4048: resultout := wf_engine.eng_completed||':'||'F';
4049:
4050: END IF;
4051:
4052: EXCEPTION

Line 4066: wf_engine.SetItemAttrText ( itemtype => itemtype

4062: If (l_savepoint) then
4063: rollback to l_create_future_crm_resource ;
4064: End if;
4065:
4066: wf_engine.SetItemAttrText ( itemtype => itemtype
4067: , itemkey => itemkey
4068: , aname => 'ERROR_MSG'
4069: , avalue => l_msg_data
4070: );

Line 4071: resultout := wf_engine.eng_completed||':'||'F';

4067: , itemkey => itemkey
4068: , aname => 'ERROR_MSG'
4069: , avalue => l_msg_data
4070: );
4071: resultout := wf_engine.eng_completed||':'||'F';
4072:
4073: END create_future_crm_resource;
4074:
4075: -----------------------------------------------------------------------------