DBA Data[Home] [Help]

APPS.OKL_SPLIT_ASSET_PVT dependencies on FND_PROFILE

Line 2710: l_icx_date_format := fnd_profile.value('ICX_DATE_FORMAT_MASK');

2706: END IF;
2707:
2708: --0. verify date format
2709: BEGIN
2710: l_icx_date_format := fnd_profile.value('ICX_DATE_FORMAT_MASK');
2711: l_trx_date := TO_DATE(p_trx_date, l_icx_date_format);
2712: EXCEPTION
2713: WHEN OTHERS THEN
2714: okl_api.set_message(

Line 2894: l_icx_date_format := NVL(fnd_profile.value('ICX_DATE_FORMAT_MASK'),'DD-MON-YYYY');

2890: x_return_status := OKL_API.G_RET_STS_ERROR;
2891: RAISE OKL_API.G_EXCEPTION_ERROR;
2892: END IF;
2893:
2894: l_icx_date_format := NVL(fnd_profile.value('ICX_DATE_FORMAT_MASK'),'DD-MON-YYYY');
2895: --2. Transaction date is between contract start and end date
2896: --Bug# 5946411: ER
2897: /*
2898: l_date_valid := 'N';

Line 11940: fnd_profile.get('LOGIN_ID', l_trans_rec.who_info.last_update_login);

11936: --fa_debug_pkg.set_debug_flag(debug_flag => 'YES');
11937:
11938: -- Get standard who info
11939: l_request_id := fnd_global.conc_request_id;
11940: fnd_profile.get('LOGIN_ID', l_trans_rec.who_info.last_update_login);
11941: fnd_profile.get('USER_ID', l_trans_rec.who_info.last_updated_by);
11942: IF (l_trans_rec.who_info.last_updated_by IS NULL) THEN
11943: l_trans_rec.who_info.last_updated_by := -1;
11944: END IF;

Line 11941: fnd_profile.get('USER_ID', l_trans_rec.who_info.last_updated_by);

11937:
11938: -- Get standard who info
11939: l_request_id := fnd_global.conc_request_id;
11940: fnd_profile.get('LOGIN_ID', l_trans_rec.who_info.last_update_login);
11941: fnd_profile.get('USER_ID', l_trans_rec.who_info.last_updated_by);
11942: IF (l_trans_rec.who_info.last_updated_by IS NULL) THEN
11943: l_trans_rec.who_info.last_updated_by := -1;
11944: END IF;
11945: IF (l_trans_rec.who_info.last_update_login IS NULL) THEN

Line 11997: l_asset_retire_rec.retirement_type_code := FND_PROFILE.VALUE('OKL_SPLIT_ASSET_RETIRE_TYPE');

11993: END IF;
11994:
11995: l_asset_retire_rec.proceeds_of_sale := 0;
11996: l_asset_retire_rec.cost_of_removal := 0;
11997: l_asset_retire_rec.retirement_type_code := FND_PROFILE.VALUE('OKL_SPLIT_ASSET_RETIRE_TYPE');
11998: --l_asset_retire_rec.retirement_type_code := 'SPLIT';
11999: l_asset_retire_rec.trade_in_asset_id := NULL;
12000: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;
12001: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

Line 12004: fnd_profile.put('USER_ID',l_user_id);

12000: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;
12001: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
12002: --assign this to FND_API.G_TRUE if it is required to calculate the gain loss
12003:
12004: fnd_profile.put('USER_ID',l_user_id);
12005:
12006: IF NVL(p_txdv_rec.split_percent,0) <> 0 OR p_txdv_rec.split_percent <> OKL_API.G_MISS_NUM THEN
12007: --no need to do distribution level retirements as full retirment being done
12008: -- for split asset components