DBA Data[Home] [Help]

APPS.EGO_ITEM_PVT dependencies on FND_GLOBAL

Line 2345: FND_GLOBAL.USER_NAME <> g_username THEN

2341: -- Get the party ID if we don't already know it --
2342: --------------------------------------------------------------------------
2343:
2344: IF L_PARTY_ID IS NULL OR
2345: FND_GLOBAL.USER_NAME <> g_username THEN
2346:
2347: --
2348: -- New user - find out its party ID.
2349: --

Line 2359: WHERE USER_NAME = FND_GLOBAL.USER_NAME;

2355: BEGIN
2356: SELECT 'HZ_PARTY:'||TO_CHAR(PARTY_ID)
2357: INTO l_party_id
2358: FROM EGO_USER_V
2359: WHERE USER_NAME = FND_GLOBAL.USER_NAME;
2360: EXCEPTION
2361: WHEN NO_DATA_FOUND THEN
2362:
2363: ERROR_HANDLER.Add_Error_Message(

Line 2384: g_username := FND_GLOBAL.USER_NAME;

2380:
2381: -- Cache this most recent username to party ID mapping to avoid
2382: -- redundantly performing this lookup again.
2383: g_party_id := l_party_id;
2384: g_username := FND_GLOBAL.USER_NAME;
2385:
2386: ELSE
2387:
2388: -- Bug 6531908: The user is the same as previously, so reuse the same

Line 2458: l_token_table(1).TOKEN_VALUE := FND_GLOBAL.USER_NAME;

2454: FROM MTL_PARAMETERS
2455: WHERE ORGANIZATION_ID = p_organization_id;
2456:
2457: l_token_table(1).TOKEN_NAME := 'USER_NAME';
2458: l_token_table(1).TOKEN_VALUE := FND_GLOBAL.USER_NAME;
2459: l_token_table(2).TOKEN_NAME := 'ITEM_NUMBER';
2460: l_token_table(2).TOKEN_VALUE := l_item_number;
2461: l_token_table(3).TOKEN_NAME := 'ORG_CODE';
2462: l_token_table(3).TOKEN_VALUE := l_org_code;

Line 3039: OPEN c_user_party_id(cp_user_id => FND_GLOBAL.User_Id);

3035:
3036: BEGIN
3037: l_owner_party_name := NULL;
3038: IF p_user_id IS NULL THEN
3039: OPEN c_user_party_id(cp_user_id => FND_GLOBAL.User_Id);
3040: ELSE
3041: OPEN c_user_party_id(cp_user_id => p_user_id);
3042: END IF;
3043: FETCH c_user_party_id INTO l_owner_party_id, l_owner_party_name;

Line 3209: l_user_id := FND_GLOBAL.User_Id;

3205: -- user must not be able to delete his own grants
3206: l_api_name := 'Process_item_role';
3207: l_api_version := 1.0;
3208: x_return_status := FND_API.G_RET_STS_SUCCESS;
3209: l_user_id := FND_GLOBAL.User_Id;
3210: code_debug(l_api_name ||' started with params - grant guid '||RAWTOHEX(x_grant_guid));
3211: code_debug(' p_api_version '|| p_api_version||' p_commit '||p_commit||' p_init_msg_list '||p_init_msg_list );
3212: code_debug(' p_transaction_type '||p_transaction_type ||' p_inventory_item_id '||p_inventory_item_id||' p_item_number '||p_item_number );
3213: code_debug(' p_organization_id '||p_organization_id ||' p_organization_code '||p_organization_code||' p_role_id '||p_role_id );

Line 3807: l_user_id := FND_GLOBAL.User_Id;

3803: BEGIN
3804: l_api_name := 'Process_item_phase_and_status';
3805: l_api_version := 1.0;
3806: x_return_status := FND_API.G_RET_STS_SUCCESS;
3807: l_user_id := FND_GLOBAL.User_Id;
3808: l_policy_co_required := 'CHANGE_ORDER_REQUIRED';
3809: l_policy_not_allowed := 'NOT_ALLOWED';
3810: code_debug(l_api_name ||' started with params -- effective date '|| p_effective_date);
3811: code_debug(' p_api_version '|| p_api_version||' p_commit '||p_commit||' p_init_msg_list '||p_init_msg_list );

Line 4192: fnd_message.set_token('USER', FND_GLOBAL.USER_NAME);

4188: ) THEN
4189: code_debug(l_api_name ||' user does not have privilege to update the existing change '||p_transaction_type);
4190: l_change_status_flag := FALSE;
4191: fnd_message.Set_Name(G_APP_NAME,l_error_message);
4192: fnd_message.set_token('USER', FND_GLOBAL.USER_NAME);
4193: fnd_message.set_token('ITEM_NUMBER', l_item_number);
4194: fnd_message.set_token('ORGANIZATION', l_org_name);
4195: fnd_msg_pub.Add;
4196: END IF;