DBA Data[Home] [Help]

APPS.PA_BUDGET_WF dependencies on PA_WORKFLOW_UTILS

Line 23: -- , PA_WORKFLOW_UTILS.Insert_WF_Processes

19: --Description: This procedure is used to start a Budget Approval workflow.
20: --
21: --
22: --Called subprograms: PA_CLIENT_EXTN_BUDGET_WF.Start_Budget_Wf
23: -- , PA_WORKFLOW_UTILS.Insert_WF_Processes
24: --
25: --Notes:
26: -- This wrapper is called DIRECTLY from the Budgets form and the public
27: -- Baseline_Budget API.

Line 162: PA_WORKFLOW_UTILS.Insert_WF_Processes

158: IF (l_err_code = 0)
159: THEN
160: -- Succesful! Log pa_wf_processes table for new workflow.
161:
162: PA_WORKFLOW_UTILS.Insert_WF_Processes
163: (p_wf_type_code => 'BUDGET'
164: ,p_item_type => l_item_type
165: ,p_item_key => l_item_key
166: ,p_entity_key1 => to_char(p_draft_version_id)

Line 404: PA_WORKFLOW_UTILS.Set_Global_Attr

400: -- SET GLOBALS ------------------------------------------------------------------
401:
402: -- Based on the Responsibility, Intialize the Application
403: -- Un Commented for bug 8464143.
404: PA_WORKFLOW_UTILS.Set_Global_Attr
405: (p_item_type => itemtype
406: , p_item_key => itemkey
407: , p_err_code => l_err_code);
408:

Line 601: PA_WORKFLOW_UTILS.Set_Global_Attr

597: -- SET GLOBALS ------------------------------------------------------------------
598:
599: -- Based on the Responsibility, Intialize the Application
600: -- Un Commented for bug 8464143.
601: PA_WORKFLOW_UTILS.Set_Global_Attr
602: (p_item_type => itemtype
603: , p_item_key => itemkey
604: , p_err_code => l_err_code
605: );

Line 883: PA_WORKFLOW_UTILS.Set_Global_Attr

879:
880: -- Based on the Responsibility, Intialize the Application
881: /*Commented for bug 5233870*/
882: -- Un Commented for bug 8464143.
883: PA_WORKFLOW_UTILS.Set_Global_Attr
884: (p_item_type => itemtype
885: , p_item_key => itemkey
886: , p_err_code => l_err_code);
887:

Line 945: PA_WORKFLOW_UTILS.Set_Notification_Messages

941: );
942:
943: IF (l_err_msg_count > 0 )
944: THEN
945: PA_WORKFLOW_UTILS.Set_Notification_Messages
946: (p_item_type => itemtype
947: , p_item_key => itemkey
948: );
949: IF (l_warnings_only_flag = 'N') THEN

Line 980: PA_WORKFLOW_UTILS.Set_Notification_Messages

976:
977:
978: IF (l_err_msg_count > 0 )
979: THEN
980: PA_WORKFLOW_UTILS.Set_Notification_Messages
981: (p_item_type => itemtype
982: , p_item_key => itemkey
983: );
984: IF (l_warnings_only_flag = 'N') THEN

Line 1010: PA_WORKFLOW_UTILS.Set_Notification_Messages

1006:
1007:
1008: IF (l_err_msg_count > 0 )
1009: THEN
1010: PA_WORKFLOW_UTILS.Set_Notification_Messages
1011: (p_item_type => itemtype
1012: , p_item_key => itemkey
1013: );
1014: IF (l_warnings_only_flag = 'N') THEN

Line 1035: PA_WORKFLOW_UTILS.Set_Notification_Messages

1031:
1032:
1033: IF (l_err_msg_count > 0 )
1034: THEN
1035: PA_WORKFLOW_UTILS.Set_Notification_Messages
1036: (p_item_type => itemtype
1037: , p_item_key => itemkey
1038: );
1039: IF (l_warnings_only_flag = 'N') THEN

Line 1085: -- , PA_WORKFLOW_UTILS.Insert_WF_Processes

1081: --
1082: --Called subprograms: PA_BUDGET_UTILS.Verify_Budget_Rules
1083: -- , PA_CLIENT_EXTN_BUDGET_WF.Verify_Budget_Rules
1084: -- , PA_BUDGET_UTILS.Baseline_Budget
1085: -- , PA_WORKFLOW_UTILS.Insert_WF_Processes
1086: --
1087: --
1088: --Notes:
1089: --

Line 1325: PA_WORKFLOW_UTILS.Set_Global_Attr

1321:
1322: -- SET GLOBALS -----------------------------------------------------------------
1323: /*Commented for bug 5233870
1324: -- Based on the Responsibility, Intialize the Application
1325: PA_WORKFLOW_UTILS.Set_Global_Attr
1326: (p_item_type => itemtype
1327: , p_item_key => itemkey
1328: , p_err_code => l_err_code);
1329: */

Line 1399: , resp_appl_id => pa_workflow_utils.get_application_id(l_resp_id)

1395: IF l_baseliner_id is NOT NULL THEN
1396: FND_GLOBAL.Apps_Initialize
1397: ( user_id => l_baseliner_id
1398: , resp_id => l_resp_id
1399: , resp_appl_id => pa_workflow_utils.get_application_id(l_resp_id)
1400: );
1401: ELSE
1402: Pa_workflow_utils.Set_Global_Attr (p_item_type => itemtype,
1403: p_item_key => itemkey,

Line 1402: Pa_workflow_utils.Set_Global_Attr (p_item_type => itemtype,

1398: , resp_id => l_resp_id
1399: , resp_appl_id => pa_workflow_utils.get_application_id(l_resp_id)
1400: );
1401: ELSE
1402: Pa_workflow_utils.Set_Global_Attr (p_item_type => itemtype,
1403: p_item_key => itemkey,
1404: p_err_code => l_err_code);
1405: END IF;
1406: -- End Bug 8464143

Line 1463: PA_WORKFLOW_UTILS.Set_Notification_Messages

1459:
1460:
1461: IF (l_err_msg_count > 0 )
1462: THEN
1463: PA_WORKFLOW_UTILS.Set_Notification_Messages
1464: (p_item_type => itemtype
1465: , p_item_key => itemkey
1466: );
1467: IF (l_warnings_only_flag = 'N') THEN

Line 1494: PA_WORKFLOW_UTILS.Set_Notification_Messages

1490:
1491:
1492: IF (l_err_msg_count > 0 )
1493: THEN
1494: PA_WORKFLOW_UTILS.Set_Notification_Messages
1495: (p_item_type => itemtype
1496: , p_item_key => itemkey
1497: );
1498: IF (l_warnings_only_flag = 'N') THEN

Line 1560: PA_WORKFLOW_UTILS.Set_Notification_Messages

1556: OR (l_msg_count > 0)
1557: )
1558: THEN
1559:
1560: PA_WORKFLOW_UTILS.Set_Notification_Messages
1561: (p_item_type => itemtype
1562: , p_item_key => itemkey
1563: );
1564:

Line 1610: PA_WORKFLOW_UTILS.Set_Notification_Messages

1606: AND ( l_fck_req_flag = 'Y') )
1607: THEN
1608: -- Budget Integration must have been successful
1609: -- Following call will display success message for Budget Integration
1610: PA_WORKFLOW_UTILS.Set_Notification_Messages
1611: (p_item_type => itemtype
1612: , p_item_key => itemkey
1613: );
1614:

Line 1625: PA_WORKFLOW_UTILS.Set_Notification_Messages

1621: THEN
1622: -- Error! Baseline Failed. ------------------
1623:
1624: --Populate Notification Message Text
1625: PA_WORKFLOW_UTILS.Set_Notification_Messages
1626: (p_item_type => itemtype
1627: , p_item_key => itemkey
1628: );
1629:

Line 1679: PA_WORKFLOW_UTILS.Insert_WF_Processes

1675: END IF;
1676:
1677:
1678:
1679: PA_WORKFLOW_UTILS.Insert_WF_Processes
1680: (p_wf_type_code => 'BUDGET'
1681: ,p_item_type => itemtype
1682: ,p_item_key => itemkey
1683: ,p_entity_key1 => to_char(l_draft_version_id)