DBA Data[Home] [Help]

APPS.AR_PREPAYMENTS_PUB dependencies on ARP_UTIL

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

233:
234: BEGIN
235: IF PG_DEBUG in ('Y', 'C') THEN
236: arp_standard.debug('ar_prepayments_pub.Create_Prepayment ()+'|| p_org_id);
237: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );
238: arp_util.debug('Create_Prepayment receipt method id' || to_char(p_receipt_method_id) );
239: END IF;
240:
241: -- first reinitialize ARP_GLOBAL

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

234: BEGIN
235: IF PG_DEBUG in ('Y', 'C') THEN
236: arp_standard.debug('ar_prepayments_pub.Create_Prepayment ()+'|| p_org_id);
237: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );
238: arp_util.debug('Create_Prepayment receipt method id' || to_char(p_receipt_method_id) );
239: END IF;
240:
241: -- first reinitialize ARP_GLOBAL
242: arp_global.init_global;

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

296: AND payment_type_code = 'CREDIT_CARD';
297: EXCEPTION
298: WHEN no_data_found THEN
299: IF PG_DEBUG in ('Y', 'C') THEN
300: arp_util.debug('Create_Prepayment: ' || 'Prepayment only allowed for credit card');
301: END IF;
302: FND_MESSAGE.SET_NAME('AR','AR_RAPI_PREPAY_ONLYFOR_CC');
303: FND_MSG_PUB.Add;
304: x_return_status := FND_API.G_RET_STS_ERROR;

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

313: (p_customer_bank_account_num is null) AND
314: (p_customer_bank_account_name is null)) THEN
315:
316: IF PG_DEBUG in ('Y', 'C') THEN
317: arp_util.debug('Create_Prepayment: ' || 'For Prepayment, customer banks account details must be passed');
318: END IF;
319: FND_MESSAGE.SET_NAME('AR','AR_RAPI_CUS_BK_AC_2_INVALID');
320: FND_MSG_PUB.Add;
321: x_return_status := FND_API.G_RET_STS_ERROR;

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

324:
325: */
326: l_receivables_trx_id := p_receivable_trx_id;
327:
328: arp_util.debug('Create_Prepayment: payment_trxn_extension_id' || to_char(p_payment_trxn_extension_id) );
329:
330:
331: --calling the internal create_cash routine
332: ar_receipt_api_pub.Create_Cash(

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

382: p_cr_id => l_cash_receipt_id --out variable
383: );
384:
385: IF PG_DEBUG in ('Y', 'C') THEN
386: arp_util.debug('Create_Prepayment: ' || 'Receipt create_return_status '||l_create_return_status);
387: END IF;
388:
389: --IF the receipt creation part returns no errors then
390: --call the application routine.

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

409: FROM dual;
410: EXCEPTION
411: WHEN others THEN
412: IF PG_DEBUG in ('Y', 'C') THEN
413: arp_util.debug('Create_Prepayment: ' || 'Payment set id sequence generation failed'||sqlerrm);
414: END IF;
415: FND_MESSAGE.SET_NAME('AR','AR_RAPI_PREPAY_SEQ_FAILED');
416: FND_MSG_PUB.Add;
417: x_return_status := FND_API.G_RET_STS_ERROR;

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

451:
452: IF ((l_payment_trxn_extension_id IS NULL) AND ( l_payment_type in ( 'CREDIT_CARD', 'BANK_ACCT_XFER'))) THEN
453:
454: IF PG_DEBUG in ('Y', 'C') THEN
455: arp_util.debug('ERROR: payment_trxn_extension is NULL ' ||nvl(l_payment_trxn_extension_id,-9999));
456: END IF;
457:
458: FND_MESSAGE.set_name('AR', 'AR_PAY_PROCESS_INVALID_STATUS');
459: FND_MSG_PUB.Add;

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

473:
474:
475: IF l_payment_trxn_extension_id IS NOT NULL THEN
476: IF PG_DEBUG in ('Y', 'C') THEN
477: arp_util.debug('Process_Credit_Card: ' || 'COPY the trx_extension_id');
478: END IF;
479: IF PG_DEBUG in ('Y', 'C') THEN
480: arp_standard.debug( 'Entering payment processing...');
481: END IF;

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

881:
882: IF FND_API.To_Boolean( p_commit )
883: THEN
884: IF PG_DEBUG in ('Y', 'C') THEN
885: arp_util.debug('Create_Prepayments: ' || 'committing');
886: END IF;
887: Commit;
888: END IF;
889:

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

891: p_count => x_msg_count,
892: p_data => x_msg_data);
893:
894: IF PG_DEBUG in ('Y', 'C') THEN
895: arp_util.debug('ar_prepayments_pub.Create_Prepayment ()-');
896: END IF;
897:
898: EXCEPTION
899: WHEN OTHERS THEN

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

918: FND_MSG_PUB.Add;
919: END IF;
920:
921: IF PG_DEBUG in ('Y', 'C') THEN
922: arp_util.debug('Create_Prepayment: ' || SQLCODE, G_MSG_ERROR);
923: arp_util.debug('Create_Prepayment: ' || SQLERRM, G_MSG_ERROR);
924: END IF;
925:
926: ROLLBACK TO Create_Prepayment_PVT;

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

919: END IF;
920:
921: IF PG_DEBUG in ('Y', 'C') THEN
922: arp_util.debug('Create_Prepayment: ' || SQLCODE, G_MSG_ERROR);
923: arp_util.debug('Create_Prepayment: ' || SQLERRM, G_MSG_ERROR);
924: END IF;
925:
926: ROLLBACK TO Create_Prepayment_PVT;
927:

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

937: p_data => x_msg_data);
938:
939:
940: IF PG_DEBUG in ('Y', 'C') THEN
941: arp_util.debug('ar_prepayments_pub.Create_Prepayment ()-');
942: END IF;
943:
944: END Create_Prepayment;
945: