DBA Data[Home] [Help]

APPS.PO_DRAFTS_GRP dependencies on PO_GLOBAL

Line 82: IF (l_draft_owner_role = PO_GLOBAL.g_ROLE_SUPPLIER) THEN

78:
79: d_position := 10;
80:
81: IF (l_draft_id IS NOT NULL) THEN
82: IF (l_draft_owner_role = PO_GLOBAL.g_ROLE_SUPPLIER) THEN
83: IF (l_draft_status IN (PO_DRAFTS_PVT.g_status_DRAFT,
84: PO_DRAFTS_PVT.g_status_PDOI_PROCESSING)) THEN
85:
86: d_position := 20;

Line 95: ELSIF (l_draft_owner_role = PO_GLOBAL.g_ROLE_CAT_ADMIN) THEN

91: d_position := 30;
92: x_online_auth_status_code := g_SUPPLIER_CHANGES_SUBMITTED;
93: END IF;
94:
95: ELSIF (l_draft_owner_role = PO_GLOBAL.g_ROLE_CAT_ADMIN) THEN
96: IF (l_draft_status IN (PO_DRAFTS_PVT.g_status_DRAFT,
97: PO_DRAFTS_PVT.g_status_PDOI_PROCESSING)) THEN
98:
99: d_position := 40;

Line 207: p_role => PO_GLOBAL.g_role_SUPPLIER,

203: -- check whether supplier can take the functional lock of the document
204: PO_DRAFTS_PVT.update_permission_check
205: ( p_calling_module => PO_DRAFTS_PVT.g_call_mod_HTML_UI,
206: p_po_header_id => p_po_header_id,
207: p_role => PO_GLOBAL.g_role_SUPPLIER,
208: x_update_allowed => x_authoring_allowed,
209: x_locking_applicable => l_locking_applicable,
210: x_unlock_required => l_unlock_required,
211: x_message => x_message

Line 519: IF (l_changes_exist_tbl(1) = FND_API.G_FALSE OR l_draft_owner_role =PO_GLOBAL.g_role_BUYER) THEN

515: -- In such case, the draft (po_drafts) status need to be set back to 'DRAFT'
516: -- for cat.admin/supplier
517: -- and draft record (po_drafts) should be deleted for role= Buyer as For Buyer the draft record is not retained
518:
519: IF (l_changes_exist_tbl(1) = FND_API.G_FALSE OR l_draft_owner_role =PO_GLOBAL.g_role_BUYER) THEN
520: d_position := 30;
521:
522: l_unlock := FND_API.G_TRUE;
523: