DBA Data[Home] [Help]

APPS.OKL_AM_PROCESS_RV_TRX_PVT dependencies on OKL_API

Line 95: OKL_API.set_message(p_app_name => 'OKC',

91:
92: EXCEPTION
93: WHEN OTHERS THEN
94: -- SECHAWLA 16-JAN-03 Bug # 2754280 : Changed the app name from OKL to OKC
95: OKL_API.set_message(p_app_name => 'OKC',
96: p_msg_name => g_unexpected_error,
97: p_token1 => g_sqlcode_token,
98: p_token1_value => sqlcode,
99: p_token2 => g_sqlerrm_token,

Line 144: lx_error_rec OKL_API.error_rec_type;

140: l_total_count NUMBER;
141: l_sysdate DATE;
142: l_strm_lalevl_empty_tbl strm_lalevl_tbl_type ;
143: l_rbk_tbl rbk_tbl_type ;
144: lx_error_rec OKL_API.error_rec_type;
145: l_msg_idx INTEGER := FND_MSG_PUB.G_FIRST;
146:
147: l_return_status VARCHAR2(1) := OKC_API.G_RET_STS_SUCCESS;
148: l_api_name CONSTANT VARCHAR2(30) := 'process_transactions';

Line 202: l_return_status := OKL_API.START_ACTIVITY(l_api_name,

198:
199:
200: BEGIN
201:
202: l_return_status := OKL_API.START_ACTIVITY(l_api_name,
203: G_PKG_NAME,
204: p_init_msg_list,
205: l_api_version,
206: p_api_version,

Line 232: IF l_assettrx_rec.dnz_khr_id IS NULL OR l_assettrx_rec.dnz_khr_id = OKL_API.G_MISS_NUM THEN

228: l_total_count := l_total_count + 1;
229:
230:
231:
232: IF l_assettrx_rec.dnz_khr_id IS NULL OR l_assettrx_rec.dnz_khr_id = OKL_API.G_MISS_NUM THEN
233: -- Residual Value Writedown transaction could not be processed for asset ASSET_NUMBER because the Contract Id is missing.
234: OKC_API.set_message( p_app_name => 'OKL',
235: p_msg_name => 'OKL_AM_KHR_REQUIRED',
236: p_token1 => 'ASSET_NUMBER',

Line 259: OKL_API.set_message( p_app_name => 'OKL',

255: CLOSE l_quotes_csr;
256:
257: IF l_count > 0 THEN
258: --Can not process Residual Value Writedown transaction for asset ASSET_NUMBER as an accepted termination quote exists for the contract CONTRACT_NUMBER.
259: OKL_API.set_message( p_app_name => 'OKL',
260: p_msg_name => 'OKL_AM_RVW_NOT_PROCESSED',
261: p_token1 => 'ASSET_NUMBER',
262: p_token1_value => l_assettrx_rec.asset_number,
263: p_token2 => 'CONTRACT_NUMBER',

Line 271: IF l_assettrx_rec.new_residual_value IS NULL OR l_assettrx_rec.new_residual_value = OKL_API.G_MISS_NUM THEN

267:
268:
269: ELSE
270:
271: IF l_assettrx_rec.new_residual_value IS NULL OR l_assettrx_rec.new_residual_value = OKL_API.G_MISS_NUM THEN
272: --Residual Value Writedown transaction could not be processed for asset ASSET_NUMBER because the new residual value is missing.
273: OKC_API.set_message( p_app_name => 'OKL',
274: p_msg_name => 'OKL_AM_RV_REQUIRED',
275: p_token1 => 'ASSET_NUMBER',

Line 410: --OKL_API.init_msg_list(p_init_msg_list => OKL_API.G_TRUE);

406: -- This explicit deletion of messages is required for those contracts in the loop which fail validations
407: -- before the call to mass rebook api. Without the following reset statement, error messages for those contarcts
408: -- will be printed more than once.
409:
410: --OKL_API.init_msg_list(p_init_msg_list => OKL_API.G_TRUE);
411: fnd_msg_pub.delete_msg;
412:
413:
414: END LOOP;