DBA Data[Home] [Help]

APPS.FND_CLIENT_INFO dependencies on FND_GLOBAL

Line 62: FND_GLOBAL will now pass in the org_id context, i.e. FND_GLOBAL.org_id.

58: begin
59:
60: /* Bug 5646892: APPSPERFR12:FND:EXTRA FND_PROFILE.GET_SPECIFIC CALL IN
61: FND_CLIENT_INFO.SETUP_CLIENT_INFO
62: FND_GLOBAL will now pass in the org_id context, i.e. FND_GLOBAL.org_id.
63: There is no need for setup_client_info to get the ORG_ID value again.
64: */
65:
66: --

Line 70: -- fnd_global is passing it in. When fnd_global calls fnd_profile to get the

66: --
67: -- Set MultiOrg Context
68: --
69: -- Check if org_id is NULL or -1. It is likely that org_id = -1, not NULL since
70: -- fnd_global is passing it in. When fnd_global calls fnd_profile to get the
71: -- org_id value and the value returned is NULL, fnd_global does not set org_id
72: -- to NULL. It just leaves the default value of -1. So, org_id = -1 means there
73: -- was no value returned by fnd_profile. A benefit of calling fnd_profile in
74: -- setup_client_info was that it did not check the value, but rather whether a

Line 71: -- org_id value and the value returned is NULL, fnd_global does not set org_id

67: -- Set MultiOrg Context
68: --
69: -- Check if org_id is NULL or -1. It is likely that org_id = -1, not NULL since
70: -- fnd_global is passing it in. When fnd_global calls fnd_profile to get the
71: -- org_id value and the value returned is NULL, fnd_global does not set org_id
72: -- to NULL. It just leaves the default value of -1. So, org_id = -1 means there
73: -- was no value returned by fnd_profile. A benefit of calling fnd_profile in
74: -- setup_client_info was that it did not check the value, but rather whether a
75: -- value was defined.

Line 84: -- FND_GLOBAL.org_id should not be NULL if instance is multiorg-enabled.

80: select nvl(multi_org_flag, 'N'), nvl(multi_currency_flag, 'N')
81: into is_multi_org, is_multi_currency
82: from fnd_product_groups;
83: -- If multiorg-enabled, raise an error since org_id should not be NULL.
84: -- FND_GLOBAL.org_id should not be NULL if instance is multiorg-enabled.
85: if is_multi_org = 'Y' then
86: /* Bug 6637377: This fnd_profile.get_specific call is a LAST CHECK to
87: make sure that org_id is, indeed, not set. Need to make sure before
88: the error is raised. This should not undo the fix for 5646892

Line 186: -- Call setup_client_info and pass in fnd_global.org_id for

182: user_id in number,
183: security_group_id in number) is
184: begin
185:
186: -- Call setup_client_info and pass in fnd_global.org_id for
187: -- org argument.
188: setup_client_info(application_id, responsibility_id, user_id,
189: security_group_id, fnd_global.org_id);
190:

Line 189: security_group_id, fnd_global.org_id);

185:
186: -- Call setup_client_info and pass in fnd_global.org_id for
187: -- org argument.
188: setup_client_info(application_id, responsibility_id, user_id,
189: security_group_id, fnd_global.org_id);
190:
191: end setup_client_info;
192:
193: --