1: PACKAGE BODY PO_ONLINE_AUTHORING_WF_ACTIONS AS
2: /* $Header: PO_ONLINE_AUTHORING_WF_ACTIONS.plb 120.10 2011/10/10 12:39:12 venuthot ship $ */
3:
4: -- Read the profile option that enables/disables the debug log
5: g_po_wf_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('PO_SET_DEBUG_WORKFLOW_ON'),'N');
1: PACKAGE BODY PO_ONLINE_AUTHORING_WF_ACTIONS AS
2: /* $Header: PO_ONLINE_AUTHORING_WF_ACTIONS.plb 120.10 2011/10/10 12:39:12 venuthot ship $ */
3:
4: -- Read the profile option that enables/disables the debug log
5: g_po_wf_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('PO_SET_DEBUG_WORKFLOW_ON'),'N');
6: -- The module base for this package.
4: -- Read the profile option that enables/disables the debug log
5: g_po_wf_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('PO_SET_DEBUG_WORKFLOW_ON'),'N');
6: -- The module base for this package.
7: D_PACKAGE_BASE CONSTANT VARCHAR2(50) :=
8: PO_LOG.get_package_base('PO_ONLINE_AUTHORING_WF_ACTIONS');
9:
10: -- The module base for the subprogram.
11: D_start_authoring_enabled_wf CONSTANT VARCHAR2(100) :=
12: PO_LOG.get_subprogram_base(D_PACKAGE_BASE,'start_authoring_enabled_wf');
189:
190: EXCEPTION
191:
192: WHEN OTHERS THEN
193: WF_CORE.context('PO_ONLINE_AUTHORING_WF_ACTIONS' , 'start_authoring_enabled_wf', l_item_type, l_item_key, l_progress);
194: RAISE;
195:
196: END start_authoring_enabled_wf;
197:
319:
320: EXCEPTION
321:
322: WHEN OTHERS THEN
323: WF_CORE.context('PO_ONLINE_AUTHORING_WF_ACTIONS' , 'start_changes_discarded_wf', c_ITEM_TYPE, l_item_key, d_position);
324: RAISE;
325:
326: END start_changes_discarded_wf;
327: -- bug5090429 END
483: return l_role_name;
484:
485: EXCEPTION
486: WHEN OTHERS THEN
487: wf_core.context('PO_ONLINE_AUTHORING_WF_ACTIONS.get_wf_role_for_suppliers failed at:',l_progress);
488: wf_core.context('PO_ONLINE_AUTHORING_WF_ACTIONS.get_wf_role_for_suppliers',l_role_name||sqlerrm);
489: RETURN NULL;
490: end get_wf_role_for_suppliers;
491:
484:
485: EXCEPTION
486: WHEN OTHERS THEN
487: wf_core.context('PO_ONLINE_AUTHORING_WF_ACTIONS.get_wf_role_for_suppliers failed at:',l_progress);
488: wf_core.context('PO_ONLINE_AUTHORING_WF_ACTIONS.get_wf_role_for_suppliers',l_role_name||sqlerrm);
489: RETURN NULL;
490: end get_wf_role_for_suppliers;
491:
492: -- bug5249393 START
663: ( p_pkg_name => D_PACKAGE_BASE,
664: p_procedure_name => d_mod || '.' || d_position
665: );
666:
667: WF_CORE.context('PO_ONLINE_AUTHORING_WF_ACTIONS' , 'get_adhoc_wf_role_for_lock_owner', d_position);
668: RAISE;
669: END get_wf_role_for_lock_owner;
670: -- bug5249393 END
671:
679: l_progress := '010';
680: --TO DO: Add iP call here
681: END create_buyer_acceptance_wf;
682:
683: END PO_ONLINE_AUTHORING_WF_ACTIONS;