DBA Data[Home] [Help]

APPS.OKL_PROCESS_PPD_PVT dependencies on OKL_DEBUG_PUB

Line 5: G_DEBUG_ENABLED CONSTANT VARCHAR2(10) := OKL_DEBUG_PUB.CHECK_LOG_ENABLED;

1: PACKAGE BODY OKL_PROCESS_PPD_PVT AS
2: /* $Header: OKLRPPNB.pls 120.2 2006/08/11 10:47:13 gboomina noship $*/
3:
4: G_MODULE VARCHAR2(255) := 'okl.stream.esg.okl_esg_transport_pvt';
5: G_DEBUG_ENABLED CONSTANT VARCHAR2(10) := OKL_DEBUG_PUB.CHECK_LOG_ENABLED;
6: G_IS_DEBUG_STATEMENT_ON BOOLEAN;
7:
8: --Global Variables
9: G_INIT_NUMBER NUMBER := -9999;

Line 59: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'In validate_parameters ...x_msg_count='||x_msg_count);

55: -- 2. starts with SLL and SLH follows
56: null;
57: x_msg_count := 0;
58: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
59: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'In validate_parameters ...x_msg_count='||x_msg_count);
60: END IF;
61: IF (p_chr_id is null) THEN
62: fnd_message.set_name('OKL', 'OKL_API_ALL_MISSING_PARAM');
63: fnd_message.set_token('API_NAME', l_api_name);

Line 163: --okl_debug_pub.logmessage('x_msg_data=' || x_msg_data);

159: null;
160: x_msg_count := x_msg_count + 1;
161: x_msg_data := 'Contract: ' || l_prev_chr_id || ' Asset: ' ||
162: l_prev_cle_id || ' contains no LASLL records';
163: --okl_debug_pub.logmessage('x_msg_data=' || x_msg_data);
164: raise invalid_payment_structure;
165: -- raise no SLL record found for SLH
166: END IF;
167: --IF ( ((l_curr_chr_id <> l_prev_chr_id) and (l_prev_chr_id <> -1)) or

Line 237: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'In apply_ppd');

233: l_msg_index_out number;
234: BEGIN
235:
236: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
237: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'In apply_ppd');
238: END IF;
239: -- DEBUG
240: -- call START_ACTIVITY to create savepoint, check compatibility
241: -- and initialize message list

Line 261: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'apply_ppd:x_msg_count=' || x_msg_count);

257:
258: begin
259: x_msg_count := 0;
260: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
261: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'apply_ppd:x_msg_count=' || x_msg_count);
262: END IF;
263: validate_parameters(
264: p_chr_id,
265: p_kle_tbl,

Line 278: okl_debug_pub.logmessage('Before call to okl_transaction_pvt.create_ppd_transaction');

274: raise missing_parameters;
275: end;
276:
277: /* PPD Transaction creation is handled by forms
278: okl_debug_pub.logmessage('Before call to okl_transaction_pvt.create_ppd_transaction');
279: -- DEBUG: Replace this API by actual API to create ppd transaction
280: okl_transaction_pvt.create_ppd_transaction(
281: p_api_version => p_api_version,
282: p_init_msg_list => p_init_msg_list,

Line 294: okl_debug_pub.logmessage('Error occurred from okl_transaction_pvt.create_ppd_transaction');

290: x_tcnv_rec => l_tcnv_rec
291: );
292:
293: if (x_return_status <> OKL_API.G_RET_STS_SUCCESS) then
294: okl_debug_pub.logmessage('Error occurred from okl_transaction_pvt.create_ppd_transaction');
295: okl_debug_pub.logmessage('x_msg_data=' || x_msg_data);
296: end if;
297: IF (x_return_status = OKL_API.G_RET_STS_UNEXP_ERROR) then
298: raise OKL_API.G_EXCEPTION_UNEXPECTED_ERROR;

Line 295: okl_debug_pub.logmessage('x_msg_data=' || x_msg_data);

291: );
292:
293: if (x_return_status <> OKL_API.G_RET_STS_SUCCESS) then
294: okl_debug_pub.logmessage('Error occurred from okl_transaction_pvt.create_ppd_transaction');
295: okl_debug_pub.logmessage('x_msg_data=' || x_msg_data);
296: end if;
297: IF (x_return_status = OKL_API.G_RET_STS_UNEXP_ERROR) then
298: raise OKL_API.G_EXCEPTION_UNEXPECTED_ERROR;
299: ELSIF (x_return_status = OKL_API.G_RET_STS_ERROR) then

Line 306: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'p_ppd_txn_id=' || p_ppd_txn_id);

302: */
303:
304: --x_ppd_txn_id := l_tcnv_rec.id;
305: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
306: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'p_ppd_txn_id=' || p_ppd_txn_id);
307: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'p_chr_id=' || p_chr_id);
308: END IF;
309:
310:

Line 307: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'p_chr_id=' || p_chr_id);

303:
304: --x_ppd_txn_id := l_tcnv_rec.id;
305: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
306: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'p_ppd_txn_id=' || p_ppd_txn_id);
307: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'p_chr_id=' || p_chr_id);
308: END IF;
309:
310:
311: OKL_MASS_REBOOK_PVT.apply_mass_rebook(

Line 330: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'OKLRPPNB:After apply_mass_rebook: x_return_status=' || x_return_status);

326: --p_ppd_payment_struc => p_ppd_payment_struc
327: );
328:
329: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
330: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'OKLRPPNB:After apply_mass_rebook: x_return_status=' || x_return_status);
331: END IF;
332: IF (x_return_status = OKL_API.G_RET_STS_UNEXP_ERROR) then
333: raise OKL_API.G_EXCEPTION_UNEXPECTED_ERROR;
334: ELSIF (x_return_status = OKL_API.G_RET_STS_ERROR) then

Line 360: /* okl_debug_pub.logmessage('apply_ppd:x_msg_count=' || x_msg_count);

356:
357: when missing_parameters then
358: x_return_status := OKL_API.G_RET_STS_ERROR;
359:
360: /* okl_debug_pub.logmessage('apply_ppd:x_msg_count=' || x_msg_count);
361: IF (x_msg_count > 0 ) THEN
362: FOR i in 1..x_msg_count
363: LOOP
364: FND_MSG_PUB.GET(

Line 371: okl_debug_pub.logmessage('l_msg_index_out='||l_msg_index_out);

367: p_data => x_msg_data,
368: p_msg_index_out => l_msg_index_out
369: );
370:
371: okl_debug_pub.logmessage('l_msg_index_out='||l_msg_index_out);
372: okl_debug_pub.logmessage('Error '||to_char(i)||': '||x_msg_data);
373: END LOOP;
374: END IF; */
375:

Line 372: okl_debug_pub.logmessage('Error '||to_char(i)||': '||x_msg_data);

368: p_msg_index_out => l_msg_index_out
369: );
370:
371: okl_debug_pub.logmessage('l_msg_index_out='||l_msg_index_out);
372: okl_debug_pub.logmessage('Error '||to_char(i)||': '||x_msg_data);
373: END LOOP;
374: END IF; */
375:
376: --fnd_msg_pub.Reset;

Line 378: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'Missing Parameters...');

374: END IF; */
375:
376: --fnd_msg_pub.Reset;
377: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
378: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'Missing Parameters...');
379: END IF;
380: raise;
381:
382: when OTHERS then