DBA Data[Home] [Help]

APPS.AR_PREPAYMENTS_PUB dependencies on ARP_UTIL

Line 227: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );

223:
224: BEGIN
225: IF PG_DEBUG in ('Y', 'C') THEN
226: arp_standard.debug('ar_prepayments_pub.Create_Prepayment ()+'|| p_org_id);
227: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );
228: arp_util.debug('Create_Prepayment receipt method id' || to_char(p_receipt_method_id) );
229: END IF;
230:
231: -- first reinitialize ARP_GLOBAL

Line 228: arp_util.debug('Create_Prepayment receipt method id' || to_char(p_receipt_method_id) );

224: BEGIN
225: IF PG_DEBUG in ('Y', 'C') THEN
226: arp_standard.debug('ar_prepayments_pub.Create_Prepayment ()+'|| p_org_id);
227: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );
228: arp_util.debug('Create_Prepayment receipt method id' || to_char(p_receipt_method_id) );
229: END IF;
230:
231: -- first reinitialize ARP_GLOBAL
232: arp_global.init_global;

Line 290: arp_util.debug('Create_Prepayment: ' || 'Prepayment only allowed for credit card');

286: AND payment_type_code = 'CREDIT_CARD';
287: EXCEPTION
288: WHEN no_data_found THEN
289: IF PG_DEBUG in ('Y', 'C') THEN
290: arp_util.debug('Create_Prepayment: ' || 'Prepayment only allowed for credit card');
291: END IF;
292: FND_MESSAGE.SET_NAME('AR','AR_RAPI_PREPAY_ONLYFOR_CC');
293: FND_MSG_PUB.Add;
294: x_return_status := FND_API.G_RET_STS_ERROR;

Line 307: arp_util.debug('Create_Prepayment: ' || 'For Prepayment, customer banks account details must be passed');

303: (p_customer_bank_account_num is null) AND
304: (p_customer_bank_account_name is null)) THEN
305:
306: IF PG_DEBUG in ('Y', 'C') THEN
307: arp_util.debug('Create_Prepayment: ' || 'For Prepayment, customer banks account details must be passed');
308: END IF;
309: FND_MESSAGE.SET_NAME('AR','AR_RAPI_CUS_BK_AC_2_INVALID');
310: FND_MSG_PUB.Add;
311: x_return_status := FND_API.G_RET_STS_ERROR;

Line 318: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );

314:
315: */
316: l_receivables_trx_id := p_receivable_trx_id;
317:
318: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );
319:
320:
321: --calling the internal create_cash routine
322: ar_receipt_api_pub.Create_Cash(

Line 376: arp_util.debug('Create_Prepayment: ' || 'Receipt create_return_status '||l_create_return_status);

372: p_cr_id => l_cash_receipt_id --out variable
373: );
374:
375: IF PG_DEBUG in ('Y', 'C') THEN
376: arp_util.debug('Create_Prepayment: ' || 'Receipt create_return_status '||l_create_return_status);
377: END IF;
378:
379: --IF the receipt creation part returns no errors then
380: --call the application routine.

Line 403: arp_util.debug('Create_Prepayment: ' || 'Payment set id sequence generation failed'||sqlerrm);

399: FROM dual;
400: EXCEPTION
401: WHEN others THEN
402: IF PG_DEBUG in ('Y', 'C') THEN
403: arp_util.debug('Create_Prepayment: ' || 'Payment set id sequence generation failed'||sqlerrm);
404: END IF;
405: FND_MESSAGE.SET_NAME('AR','AR_RAPI_PREPAY_SEQ_FAILED');
406: FND_MSG_PUB.Add;
407: x_return_status := FND_API.G_RET_STS_ERROR;

Line 445: arp_util.debug('ERROR: payment_trxn_extension is NULL ' ||nvl(l_payment_trxn_extension_id,-9999));

441:
442: IF ((l_payment_trxn_extension_id IS NULL) AND ( l_payment_type in ( 'CREDIT_CARD', 'BANK_ACCT_XFER'))) THEN
443:
444: IF PG_DEBUG in ('Y', 'C') THEN
445: arp_util.debug('ERROR: payment_trxn_extension is NULL ' ||nvl(l_payment_trxn_extension_id,-9999));
446: END IF;
447:
448: FND_MESSAGE.set_name('AR', 'AR_PAY_PROCESS_INVALID_STATUS');
449: FND_MSG_PUB.Add;

Line 467: arp_util.debug('Process_Credit_Card: ' || 'COPY the trx_extension_id');

463:
464:
465: IF l_payment_trxn_extension_id IS NOT NULL THEN
466: IF PG_DEBUG in ('Y', 'C') THEN
467: arp_util.debug('Process_Credit_Card: ' || 'COPY the trx_extension_id');
468: END IF;
469: IF PG_DEBUG in ('Y', 'C') THEN
470: arp_standard.debug( 'Entering payment processing...');
471: END IF;

Line 870: arp_util.debug('Create_Prepayments: ' || 'committing');

866:
867: IF FND_API.To_Boolean( p_commit )
868: THEN
869: IF PG_DEBUG in ('Y', 'C') THEN
870: arp_util.debug('Create_Prepayments: ' || 'committing');
871: END IF;
872: Commit;
873: END IF;
874:

Line 880: arp_util.debug('ar_prepayments_pub.Create_Prepayment ()-');

876: p_count => x_msg_count,
877: p_data => x_msg_data);
878:
879: IF PG_DEBUG in ('Y', 'C') THEN
880: arp_util.debug('ar_prepayments_pub.Create_Prepayment ()-');
881: END IF;
882:
883: EXCEPTION
884: WHEN OTHERS THEN

Line 907: arp_util.debug('Create_Prepayment: ' || SQLCODE, G_MSG_ERROR);

903: FND_MSG_PUB.Add;
904: END IF;
905:
906: IF PG_DEBUG in ('Y', 'C') THEN
907: arp_util.debug('Create_Prepayment: ' || SQLCODE, G_MSG_ERROR);
908: arp_util.debug('Create_Prepayment: ' || SQLERRM, G_MSG_ERROR);
909: END IF;
910:
911: ROLLBACK TO Create_Prepayment_PVT;

Line 908: arp_util.debug('Create_Prepayment: ' || SQLERRM, G_MSG_ERROR);

904: END IF;
905:
906: IF PG_DEBUG in ('Y', 'C') THEN
907: arp_util.debug('Create_Prepayment: ' || SQLCODE, G_MSG_ERROR);
908: arp_util.debug('Create_Prepayment: ' || SQLERRM, G_MSG_ERROR);
909: END IF;
910:
911: ROLLBACK TO Create_Prepayment_PVT;
912:

Line 926: arp_util.debug('ar_prepayments_pub.Create_Prepayment ()-');

922: p_data => x_msg_data);
923:
924:
925: IF PG_DEBUG in ('Y', 'C') THEN
926: arp_util.debug('ar_prepayments_pub.Create_Prepayment ()-');
927: END IF;
928:
929: END Create_Prepayment;
930: