213: --
214: -- Added l_error_message_text as an argument to match the singature
215: IF (p_action_ctl_rec.document_type = 'PA') THEN
216:
217: PO_DRAFTS_PVT.update_permission_check
218: ( p_calling_module => PO_DRAFTS_PVT.g_call_mod_API,
219: p_po_header_id => p_action_ctl_rec.document_id,
220: p_role => PO_GLOBAL.g_role_BUYER,
221: p_skip_cat_upload_chk => FND_API.G_TRUE,
214: -- Added l_error_message_text as an argument to match the singature
215: IF (p_action_ctl_rec.document_type = 'PA') THEN
216:
217: PO_DRAFTS_PVT.update_permission_check
218: ( p_calling_module => PO_DRAFTS_PVT.g_call_mod_API,
219: p_po_header_id => p_action_ctl_rec.document_id,
220: p_role => PO_GLOBAL.g_role_BUYER,
221: p_skip_cat_upload_chk => FND_API.G_TRUE,
222: x_update_allowed => l_update_allowed,