DBA Data[Home] [Help]

APPS.AP_WORKFLOW_PKG dependencies on FND_GLOBAL

Line 8652: * 5) If so, then do nothing otherwise call FND_GLOBAL.Apps_Initialize

8648: * occurrence of the record and in that case it will be better to
8649: * let the context be as it is
8650: * 4) If the role exists only once, then check whether the context is
8651: * already set to the same user.
8652: * 5) If so, then do nothing otherwise call FND_GLOBAL.Apps_Initialize
8653: *
8654: * History :
8655: * Date Bug User Action
8656: * ----------------------------------------------------------------------------

Line 8681: l_debug_info := 'Entered the IF block. FND_GLOBAL.user_id = ' || FND_GLOBAL.user_id ||

8677: FND_LOG.string( G_LEVEL_STATEMENT, G_MODULE_NAME || l_api_name, l_debug_info);
8678: END IF;
8679:
8680: IF ( funcmode = 'RESPOND' ) then
8681: l_debug_info := 'Entered the IF block. FND_GLOBAL.user_id = ' || FND_GLOBAL.user_id ||
8682: ', WF_ENGINE.context_user = ' || WF_ENGINE.context_user ;
8683: IF ( G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL )
8684: THEN
8685: FND_LOG.string( G_LEVEL_STATEMENT, G_MODULE_NAME || l_api_name, l_debug_info);

Line 8718: ', fnd_global.user_name = ' || fnd_global.user_name ;

8714: AND orig_system = 'PER'
8715: AND status = 'ACTIVE' ;
8716:
8717: l_debug_info := 'l_user_name = ' || l_user_name ||
8718: ', fnd_global.user_name = ' || fnd_global.user_name ;
8719: IF ( G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL )
8720: THEN
8721: FND_LOG.string( G_LEVEL_STATEMENT, G_MODULE_NAME || l_api_name, l_debug_info);
8722: END IF;

Line 8724: IF l_user_name <> fnd_global.user_name

8720: THEN
8721: FND_LOG.string( G_LEVEL_STATEMENT, G_MODULE_NAME || l_api_name, l_debug_info);
8722: END IF;
8723:
8724: IF l_user_name <> fnd_global.user_name
8725: THEN
8726: -- check if the role is a valid FND user
8727: SELECT user_id
8728: INTO l_user_id

Line 8738: FND_GLOBAL.Apps_Initialize( l_user_id, null, null, null, null );

8734: THEN
8735: FND_LOG.string( G_LEVEL_STATEMENT, G_MODULE_NAME || l_api_name, l_debug_info);
8736: END IF;
8737:
8738: FND_GLOBAL.Apps_Initialize( l_user_id, null, null, null, null );
8739:
8740: l_debug_info := 'After call, FND_GLOBAL.user_id = ' || FND_GLOBAL.user_id ;
8741: IF ( G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL )
8742: THEN

Line 8740: l_debug_info := 'After call, FND_GLOBAL.user_id = ' || FND_GLOBAL.user_id ;

8736: END IF;
8737:
8738: FND_GLOBAL.Apps_Initialize( l_user_id, null, null, null, null );
8739:
8740: l_debug_info := 'After call, FND_GLOBAL.user_id = ' || FND_GLOBAL.user_id ;
8741: IF ( G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL )
8742: THEN
8743: FND_LOG.string( G_LEVEL_STATEMENT, G_MODULE_NAME || l_api_name, l_debug_info);
8744: END IF;