DBA Data[Home] [Help]

APPS.PA_CI_SECURITY_PKG dependencies on PA_DEBUG

Line 14: G_debug_flag varchar2(1) := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');

10: G_user_id NUMBER := -999;
11: G_party_id NUMBER := -999;
12: G_resp_id NUMBER := -999;
13: G_project_id NUMBER := -999;
14: G_debug_flag varchar2(1) := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
15: G_PKG_NAME varchar2(30) :='PA_CI_SECURITY_PKG';
16:
17: FUNCTION check_view_project(
18: p_project_id NUMBER,

Line 879: pa_debug.Init_err_stack ( 'GET_RESP_WITH_ACCESS');

875: l_resp_key VARCHAR2(30);
876: l_appl_short_name VARCHAR2(50);
877:
878: Begin
879: pa_debug.Init_err_stack ( 'GET_RESP_WITH_ACCESS');
880: x_msg_count := 0;
881: x_msg_data := null;
882: x_return_status := fnd_api.g_ret_sts_success;
883: x_has_access := 'F';

Line 890: pa_debug.write_file('check_access_exist: ' || 'LOG',' p_privilege '||p_privilege||' l_user_id '||l_user_id);

886: l_old_resp_appl_id := FND_GLOBAL.RESP_APPL_ID;
887: l_user_id := FND_GLOBAL.USER_ID;
888:
889: IF G_debug_flag = 'Y' THEN
890: pa_debug.write_file('check_access_exist: ' || 'LOG',' p_privilege '||p_privilege||' l_user_id '||l_user_id);
891: END IF;
892: --Get the responsibility that has access to view budget.
893: FOR user_resp_rec IN user_resp_csr(l_user_id) LOOP
894:

Line 910: pa_debug.write_file('check_access_exist: ' || 'LOG',' resp_id '||user_resp_rec.responsibility_id||' l_ret_code '||l_ret_code);

906: ,x_msg_count => x_msg_count
907: ,x_msg_data => x_msg_data
908: );
909: IF G_debug_flag = 'Y' THEN
910: pa_debug.write_file('check_access_exist: ' || 'LOG',' resp_id '||user_resp_rec.responsibility_id||' l_ret_code '||l_ret_code);
911: END IF;
912: IF l_ret_code = 'T' THEN
913: x_resp_key := user_resp_rec.responsibility_key;
914: x_appl_short_name := user_resp_rec.application_short_name;

Line 927: pa_debug.write_file('check_access_exist: ' || 'LOG',' x_has_access '||x_has_access);

923: x_appl_short_name := '';
924: END IF;
925:
926: IF G_debug_flag = 'Y' THEN
927: pa_debug.write_file('check_access_exist: ' || 'LOG',' x_has_access '||x_has_access);
928: pa_debug.write_file('check_access_exist: ' || 'LOG',' x_resp_key '||x_resp_key||' x_appl_short_name '||x_appl_short_name);
929: END IF;
930:
931: FND_GLOBAL.Apps_Initialize

Line 928: pa_debug.write_file('check_access_exist: ' || 'LOG',' x_resp_key '||x_resp_key||' x_appl_short_name '||x_appl_short_name);

924: END IF;
925:
926: IF G_debug_flag = 'Y' THEN
927: pa_debug.write_file('check_access_exist: ' || 'LOG',' x_has_access '||x_has_access);
928: pa_debug.write_file('check_access_exist: ' || 'LOG',' x_resp_key '||x_resp_key||' x_appl_short_name '||x_appl_short_name);
929: END IF;
930:
931: FND_GLOBAL.Apps_Initialize
932: ( user_id => l_user_id