DBA Data[Home] [Help]

APPS.OKL_AM_RV_WRITEDOWN_PVT dependencies on OKC_API

Line 141: RAISE OKC_API.G_EXCEPTION_ERROR;

137: OKL_API.set_message(p_app_name => 'OKL',
138: p_msg_name => 'OKL_AM_NO_TRX_TYPE_FOUND',
139: p_token1 => 'TRY_NAME',
140: p_token1_value => 'Asset Residual Change');
141: RAISE OKC_API.G_EXCEPTION_ERROR;
142: END IF;
143:
144:
145:

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

151: LOOP
152: IF p_assets_tbl(i).p_id IS NULL OR p_assets_tbl(i).p_id = OKL_API.G_MISS_NUM THEN
153: l_record_status := OKL_API.G_RET_STS_ERROR;
154: -- Line id is required
155: OKC_API.set_message( p_app_name => 'OKC',
156: p_msg_name => G_REQUIRED_VALUE,
157: p_token1 => G_COL_NAME_TOKEN,
158: p_token1_value => 'LINE_ID');
159: ELSE

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

161: FETCH l_linesfullv_csr INTO l_name, l_description, l_old_residual_value, l_oec, l_chr_id, l_contract_number;
162: IF l_linesfullv_csr%NOTFOUND THEN
163: l_record_status := OKL_API.G_RET_STS_ERROR;
164: -- Asset number is invalid
165: OKC_API.set_message( p_app_name => 'OKC',
166: p_msg_name => G_INVALID_VALUE,
167: p_token1 => G_COL_NAME_TOKEN,
168: p_token1_value => 'ASSET_NUMBER');
169: ELSE

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

229: OPEN l_oklheaders_csr(cp_khr_id => l_chr_id);
230: FETCH l_oklheaders_csr into l_legal_entity_id;
231: CLOSE l_oklheaders_csr;
232:
233: IF (l_legal_entity_id is null or l_legal_entity_id = OKC_API.G_MISS_NUM) THEN
234: l_record_status := OKL_API.G_RET_STS_ERROR;
235: OKL_API.SET_MESSAGE(p_app_name => g_app_name,
236: p_msg_name => g_required_value,
237: p_token1 => g_col_name_token,

Line 239: RAISE OKC_API.G_EXCEPTION_ERROR;

235: OKL_API.SET_MESSAGE(p_app_name => g_app_name,
236: p_msg_name => g_required_value,
237: p_token1 => g_col_name_token,
238: p_token1_value => 'legal_entity_id');
239: RAISE OKC_API.G_EXCEPTION_ERROR;
240: ELSE
241: lp_thpv_rec.legal_entity_id := l_legal_entity_id;
242: -- create transaction header
243: lp_thpv_rec.tas_type := 'ARC';