18: --Type: Procedure
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
137:
138:
139:
140:
141: PA_CLIENT_EXTN_BUDGET_WF.Start_Budget_Wf
142: ( p_draft_version_id => p_draft_version_id
143: , p_project_id => p_project_id
144: , p_budget_type_code => p_budget_type_code
145: , p_mark_as_original => p_mark_as_original
192: --Description: This procedure must return a "T" or "F" depending on whether a workflow
193: -- should be started for this particular budget.
194: --
195: --
196: --Called Subprograms: PA_CLIENT_EXTN_BUDGET_WF.Budget_Wf_Is_Used
197: --
198: --
199: --Notes:
200: -- This wrapper is called DIRECTLY the public AMG
257: --
258:
259: BEGIN
260:
261: PA_CLIENT_EXTN_BUDGET_WF.BUDGET_WF_IS_USED
262: ( p_draft_version_id => p_draft_version_id
263: , p_project_id => p_project_id
264: , p_budget_type_code => p_budget_type_code
265: , p_pm_product_code => p_pm_product_code
474: -- correct ID of the person that must approve a budget
475: -- for baselining.
476: --
477: --
478: --Called subprograms: PA_CLIENT_EXTN_BUDGET_WF.select_budget_approver
479: --
480: -- * * * R12 MOAC Notes:
481: --
482: -- This procedure requires a single project/OU context.
623:
624: -- -----------------------------------------------
625:
626:
627: PA_CLIENT_EXTN_BUDGET_WF.Select_Budget_Approver
628: (p_item_type => itemtype
629: ,p_item_key => itemkey
630: ,p_project_id => l_project_id
631: ,p_budget_type_code => l_budget_type_code
733: -- 'T' or 'F', depending on whether all defined rules were met.
734: --
735: --
736: --Called subprograms: PA_BUDGET_UTILS.Verify_Budget_Rules
737: --PA_CLIENT_EXTN_BUDGET_WF.Verify_Budget_Rules
738: --
739: --
740: --Notes:
741: --
990: -- ------------------------------------------------------------------------------------
991: -- WORKFLOW Verify Budget Rules
992: -- ------------------------------------------------------------------------------------
993:
994: PA_CLIENT_EXTN_BUDGET_WF.Verify_Budget_Rules
995: (p_item_type => itemtype
996: , p_item_key => itemkey
997: , p_project_id => l_project_id
998: , p_budget_type_code => l_budget_type_code
1015: l_warnings_only := 'N';
1016: END IF;
1017: END IF;
1018:
1019: PA_CLIENT_EXTN_BUDGET_WF.Verify_Budget_Rules
1020: (p_item_type => itemtype
1021: , p_item_key => itemkey
1022: , p_project_id => l_project_id
1023: , p_budget_type_code => l_budget_type_code
1079: --
1080: --
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: --
1474: -- WORKFLOW Verify Budget Rules
1475: -- ------------------------------------------------------------------------------------
1476:
1477:
1478: PA_CLIENT_EXTN_BUDGET_WF.Verify_Budget_Rules
1479: (p_item_type => itemtype
1480: , p_item_key => itemkey
1481: , p_project_id => l_project_id
1482: , p_budget_type_code => l_budget_type_code