DBA Data[Home] [Help]

APPS.OKL_SPLIT_ASSET_PVT dependencies on FND_PROFILE

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

2678: END IF;
2679:
2680: --0. verify date format
2681: BEGIN
2682: l_icx_date_format := fnd_profile.value('ICX_DATE_FORMAT_MASK');
2683: l_trx_date := TO_DATE(p_trx_date, l_icx_date_format);
2684: EXCEPTION
2685: WHEN OTHERS THEN
2686: okl_api.set_message(

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

2862: x_return_status := OKL_API.G_RET_STS_ERROR;
2863: RAISE OKL_API.G_EXCEPTION_ERROR;
2864: END IF;
2865:
2866: l_icx_date_format := NVL(fnd_profile.value('ICX_DATE_FORMAT_MASK'),'DD-MON-YYYY');
2867: --2. Transaction date is between contract start and end date
2868: --Bug# 5946411: ER
2869: /*
2870: l_date_valid := 'N';

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

11883: --fa_debug_pkg.set_debug_flag(debug_flag => 'YES');
11884:
11885: -- Get standard who info
11886: l_request_id := fnd_global.conc_request_id;
11887: fnd_profile.get('LOGIN_ID', l_trans_rec.who_info.last_update_login);
11888: fnd_profile.get('USER_ID', l_trans_rec.who_info.last_updated_by);
11889: IF (l_trans_rec.who_info.last_updated_by IS NULL) THEN
11890: l_trans_rec.who_info.last_updated_by := -1;
11891: END IF;

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

11884:
11885: -- Get standard who info
11886: l_request_id := fnd_global.conc_request_id;
11887: fnd_profile.get('LOGIN_ID', l_trans_rec.who_info.last_update_login);
11888: fnd_profile.get('USER_ID', l_trans_rec.who_info.last_updated_by);
11889: IF (l_trans_rec.who_info.last_updated_by IS NULL) THEN
11890: l_trans_rec.who_info.last_updated_by := -1;
11891: END IF;
11892: IF (l_trans_rec.who_info.last_update_login IS NULL) THEN

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

11940: END IF;
11941:
11942: l_asset_retire_rec.proceeds_of_sale := 0;
11943: l_asset_retire_rec.cost_of_removal := 0;
11944: l_asset_retire_rec.retirement_type_code := FND_PROFILE.VALUE('OKL_SPLIT_ASSET_RETIRE_TYPE');
11945: --l_asset_retire_rec.retirement_type_code := 'SPLIT';
11946: l_asset_retire_rec.trade_in_asset_id := NULL;
11947: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;
11948: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

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

11947: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;
11948: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
11949: --assign this to FND_API.G_TRUE if it is required to calculate the gain loss
11950:
11951: fnd_profile.put('USER_ID',l_user_id);
11952:
11953: IF NVL(p_txdv_rec.split_percent,0) <> 0 OR p_txdv_rec.split_percent <> OKL_API.G_MISS_NUM THEN
11954: --no need to do distribution level retirements as full retirment being done
11955: -- for split asset components