DBA Data[Home] [Help]

APPS.OKL_AM_RV_WRITEDOWN_PVT dependencies on OKC_API

Line 153: RAISE OKC_API.G_EXCEPTION_ERROR;

149: OKL_API.set_message(p_app_name => 'OKL',
150: p_msg_name => 'OKL_AM_NO_TRX_TYPE_FOUND',
151: p_token1 => 'TRY_NAME',
152: p_token1_value => 'Asset Residual Change');
153: RAISE OKC_API.G_EXCEPTION_ERROR;
154: END IF;
155:
156:
157:

Line 167: OKC_API.set_message( p_app_name => 'OKC',

163: LOOP
164: IF p_assets_tbl(i).p_id IS NULL OR p_assets_tbl(i).p_id = OKL_API.G_MISS_NUM THEN
165: l_record_status := OKL_API.G_RET_STS_ERROR;
166: -- Line id is required
167: OKC_API.set_message( p_app_name => 'OKC',
168: p_msg_name => G_REQUIRED_VALUE,
169: p_token1 => G_COL_NAME_TOKEN,
170: p_token1_value => 'LINE_ID');
171: ELSE

Line 177: OKC_API.set_message( p_app_name => 'OKC',

173: FETCH l_linesfullv_csr INTO l_name, l_description, l_old_residual_value, l_oec, l_chr_id, l_contract_number;
174: IF l_linesfullv_csr%NOTFOUND THEN
175: l_record_status := OKL_API.G_RET_STS_ERROR;
176: -- Asset number is invalid
177: OKC_API.set_message( p_app_name => 'OKC',
178: p_msg_name => G_INVALID_VALUE,
179: p_token1 => G_COL_NAME_TOKEN,
180: p_token1_value => 'ASSET_NUMBER');
181: ELSE

Line 265: IF (l_legal_entity_id is null or l_legal_entity_id = OKC_API.G_MISS_NUM) THEN

261: OPEN l_oklheaders_csr(cp_khr_id => l_chr_id);
262: FETCH l_oklheaders_csr into l_legal_entity_id;
263: CLOSE l_oklheaders_csr;
264:
265: IF (l_legal_entity_id is null or l_legal_entity_id = OKC_API.G_MISS_NUM) THEN
266: l_record_status := OKL_API.G_RET_STS_ERROR;
267: OKL_API.SET_MESSAGE(p_app_name => g_app_name,
268: p_msg_name => g_required_value,
269: p_token1 => g_col_name_token,

Line 271: RAISE OKC_API.G_EXCEPTION_ERROR;

267: OKL_API.SET_MESSAGE(p_app_name => g_app_name,
268: p_msg_name => g_required_value,
269: p_token1 => g_col_name_token,
270: p_token1_value => 'legal_entity_id');
271: RAISE OKC_API.G_EXCEPTION_ERROR;
272: ELSE
273: lp_thpv_rec.legal_entity_id := l_legal_entity_id;
274: -- create transaction header
275: lp_thpv_rec.tas_type := 'ARC';