DBA Data[Home] [Help]

APPS.AP_WEB_EXPENSE_WF dependencies on MO_GLOBAL

Line 9683: mo_global.set_policy_context(p_access_mode => 'S',

9679: -- Needs to be after FND_GLOBAL.APPS_INITIALIZE because
9680: -- user_id, resp_id, and appl_id may be null because
9681: -- the attributes don't exist or because they are not set
9682: if (l_n_org_id is not null) then
9683: mo_global.set_policy_context(p_access_mode => 'S',
9684: p_org_id => l_n_org_id);
9685: end if;
9686:
9687: -- Set Accounting Flexfield validation context

Line 9698: l_current_org_id := nvl(mo_global.get_current_org_id, -99);

9694: */
9695: l_current_user_id := TO_NUMBER(FND_PROFILE.VALUE('USER_ID'));
9696: l_current_resp_id := TO_NUMBER(FND_PROFILE.VALUE('RESP_ID'));
9697: l_current_resp_appl_id := TO_NUMBER(FND_PROFILE.VALUE('RESP_APPL_ID'));
9698: l_current_org_id := nvl(mo_global.get_current_org_id, -99);
9699:
9700: /* Bug 4711393 : Should return NOTSET instead of FALSE in test_ctx mode
9701: * so that the actual context can get set via call in
9702: * set_ctx mode. This would avoid incorrect deferred state

Line 9704: IF (nvl(mo_global.get_access_mode, 'NULL') <> 'S') THEN

9700: /* Bug 4711393 : Should return NOTSET instead of FALSE in test_ctx mode
9701: * so that the actual context can get set via call in
9702: * set_ctx mode. This would avoid incorrect deferred state
9703: */
9704: IF (nvl(mo_global.get_access_mode, 'NULL') <> 'S') THEN
9705: p_s_result := 'NOTSET';
9706: ELSIF l_n_user_id IS NULL
9707: OR l_n_resp_id IS NULL
9708: OR l_n_resp_appl_id IS NULL THEN

Line 12502: mo_global.get_current_org_id() );

12498: sysdate,
12499: p_employee_id,
12500: sysdate,
12501: p_employee_id,
12502: mo_global.get_current_org_id() );
12503: END IF;
12504:
12505: EXCEPTION
12506: WHEN OTHERS THEN