DBA Data[Home] [Help]

APPS.AR_RECEIPT_UPDATE_API_PUB dependencies on ARP_STANDARD

Line 64: arp_standard.debug('Null Cash_receipt_id passed .');

60:
61: begin
62:
63: IF l_cash_receipt_id is NUll THEN
64: arp_standard.debug('Null Cash_receipt_id passed .');
65:
66: FND_MESSAGE.SET_NAME('AR','AR_RAPI_CASH_RCPT_ID_NULL');
67: FND_MSG_PUB.Add;
68: x_return_status := FND_API.G_RET_STS_ERROR;

Line 82: arp_standard.debug('Invlaid Cash_receipt_id passed .');

78: FROM AR_CASH_RECEIPTS_V
79: WHERE cash_receipt_id = p_cash_receipt_id;
80:
81: IF l_valid = 0 THEN
82: arp_standard.debug('Invlaid Cash_receipt_id passed .');
83: FND_MESSAGE.SET_NAME('AR','AR_RAPI_CASH_RCPT_ID_INVALID');
84: FND_MSG_PUB.Add;
85: x_return_status := FND_API.G_RET_STS_ERROR;
86: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE,

Line 139: arp_standard.debug('Receipt Status is not UNID.');

135:
136: ----- Checking Receipt Status
137:
138: IF l_crv_rec.receipt_status <> 'UNID' THEN
139: arp_standard.debug('Receipt Status is not UNID.');
140: x_return_status := FND_API.G_RET_STS_ERROR ;
141: FND_MESSAGE.SET_NAME ('AR','GENERIC_MESSAGE');
142: FND_MESSAGE.SET_TOKEN('GENERIC_TEXT','Only receipt with Status UNID can be updated');
143: FND_MSG_PUB.Add;

Line 166: arp_standard.debug('payment_trxn_extension_id is null for Automatic receipt');

162:
163:
164: IF ( l_creation_method_code = 'AUTOMATIC' and l_payment_trxn_extension_id is NULL) THEN
165:
166: arp_standard.debug('payment_trxn_extension_id is null for Automatic receipt');
167: x_return_status := FND_API.G_RET_STS_ERROR ;
168:
169: FND_MESSAGE.SET_NAME('AR','AR_CC_AUTH_FAILED');
170: FND_MSG_PUB.Add;

Line 182: arp_standard.debug('payment_trxn_extension_id is not null for Manual receipt');

178: END IF;
179:
180: IF ( l_creation_method_code <> 'AUTOMATIC' and l_payment_trxn_extension_id is NOT NULL) THEN
181:
182: arp_standard.debug('payment_trxn_extension_id is not null for Manual receipt');
183: x_return_status := FND_API.G_RET_STS_ERROR ;
184:
185: FND_MESSAGE.SET_NAME('AR','AR_CC_AUTH_FAILED');
186: FND_MSG_PUB.Add;

Line 203: arp_standard.debug('Customer Bank id is not required for Automatic receipt');

199:
200:
201: IF ( l_creation_method_code = 'AUTOMATIC' and l_customer_bank_account_id is NOT NULL) THEN
202:
203: arp_standard.debug('Customer Bank id is not required for Automatic receipt');
204: arp_standard.debug('Ignoring Customer Bank Id');
205: l_customer_bank_account_id := NULL;
206: END IF;
207:

Line 204: arp_standard.debug('Ignoring Customer Bank Id');

200:
201: IF ( l_creation_method_code = 'AUTOMATIC' and l_customer_bank_account_id is NOT NULL) THEN
202:
203: arp_standard.debug('Customer Bank id is not required for Automatic receipt');
204: arp_standard.debug('Ignoring Customer Bank Id');
205: l_customer_bank_account_id := NULL;
206: END IF;
207:
208: IF ( l_creation_method_code <> 'AUTOMATIC' and l_customer_bank_account_id is NOT NULL) THEN

Line 232: arp_standard.debug('Bank id is incorrect for provided customer details');

228: end;
229:
230: IF NVL(l_bank_chk,0) = 0 THEN
231:
232: arp_standard.debug('Bank id is incorrect for provided customer details');
233: x_return_status := FND_API.G_RET_STS_ERROR ;
234:
235: FND_MESSAGE.SET_NAME('AR','AR_RAPI_CUS_BK_AC_ID_INVALID');
236: FND_MSG_PUB.Add;

Line 244: arp_standard.debug('Unknown error occur for bank details');

240: p_data => x_msg_data
241: );
242: return;
243: ELSIF NVL(l_bank_chk,0) = -1 THEN
244: arp_standard.debug('Unknown error occur for bank details');
245: x_return_status := FND_API.G_RET_STS_ERROR ;
246:
247: FND_MESSAGE.SET_NAME ('AR','GENERIC_MESSAGE');
248: FND_MESSAGE.SET_TOKEN('GENERIC_TEXT','Unknown error occur for bank details');

Line 361: arp_standard.debug('ar_receipt_update_api_pub.update_receipt_unid_to_unapp()+');

357: FND_MSG_PUB.initialize;
358: END IF;
359:
360: IF PG_DEBUG in ('Y', 'C') THEN
361: arp_standard.debug('ar_receipt_update_api_pub.update_receipt_unid_to_unapp()+');
362: END IF;
363: /*-----------------------------------------+
364: | Initialize return status to SUCCESS |
365: +-----------------------------------------*/

Line 402: arp_standard.debug('Validation of input parametrs fails ' );

398:
399:
400:
401: IF l_valid_return_status <> FND_API.G_RET_STS_SUCCESS THEN
402: arp_standard.debug('Validation of input parametrs fails ' );
403: arp_standard.debug('Customer ID : '||l_customer_id);
404: arp_standard.debug('Cash Receipt ID : '||l_cash_receipt_id);
405: arp_standard.debug('Payment trxn extension id : '||l_payment_trxn_extension_id);
406: x_return_status := FND_API.G_RET_STS_ERROR ;

Line 403: arp_standard.debug('Customer ID : '||l_customer_id);

399:
400:
401: IF l_valid_return_status <> FND_API.G_RET_STS_SUCCESS THEN
402: arp_standard.debug('Validation of input parametrs fails ' );
403: arp_standard.debug('Customer ID : '||l_customer_id);
404: arp_standard.debug('Cash Receipt ID : '||l_cash_receipt_id);
405: arp_standard.debug('Payment trxn extension id : '||l_payment_trxn_extension_id);
406: x_return_status := FND_API.G_RET_STS_ERROR ;
407: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

Line 404: arp_standard.debug('Cash Receipt ID : '||l_cash_receipt_id);

400:
401: IF l_valid_return_status <> FND_API.G_RET_STS_SUCCESS THEN
402: arp_standard.debug('Validation of input parametrs fails ' );
403: arp_standard.debug('Customer ID : '||l_customer_id);
404: arp_standard.debug('Cash Receipt ID : '||l_cash_receipt_id);
405: arp_standard.debug('Payment trxn extension id : '||l_payment_trxn_extension_id);
406: x_return_status := FND_API.G_RET_STS_ERROR ;
407: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
408: p_count => x_msg_count,

Line 405: arp_standard.debug('Payment trxn extension id : '||l_payment_trxn_extension_id);

401: IF l_valid_return_status <> FND_API.G_RET_STS_SUCCESS THEN
402: arp_standard.debug('Validation of input parametrs fails ' );
403: arp_standard.debug('Customer ID : '||l_customer_id);
404: arp_standard.debug('Cash Receipt ID : '||l_cash_receipt_id);
405: arp_standard.debug('Payment trxn extension id : '||l_payment_trxn_extension_id);
406: x_return_status := FND_API.G_RET_STS_ERROR ;
407: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,
408: p_count => x_msg_count,
409: p_data => x_msg_data

Line 416: arp_standard.debug('calling CREATE Extension....');

412:
413: ELSE
414:
415: IF l_crv_rec.creation_method_code = 'AUTOMATIC' THEN
416: arp_standard.debug('calling CREATE Extension....');
417: AR_RECEIPT_API_PUB.Create_payment_extension (
418: p_payment_trxn_extension_id => l_payment_trxn_extension_id,
419: p_customer_id => l_customer_id,
420: p_receipt_method_id => l_crv_rec.receipt_method_id,

Line 432: arp_standard.debug('update_receipt_unid_to_unapp: Payment_trxn_extension_id creation fails ' );

428: o_payment_trxn_extension_id => l_create_pmt_trxn_extension_id
429: );
430:
431: IF l_create_return_status <> FND_API.G_RET_STS_SUCCESS THEN
432: arp_standard.debug('update_receipt_unid_to_unapp: Payment_trxn_extension_id creation fails ' );
433: FND_MESSAGE.set_name('AR', 'AR_CC_AUTH_FAILED');
434: FND_MSG_PUB.Add;
435: x_return_status := FND_API.G_RET_STS_ERROR ;
436: FND_MSG_PUB.Count_And_Get( p_encoded => FND_API.G_FALSE,

Line 589: arp_standard.debug('update_receipt_unid_to_unapp: ' || 'New Status : ' || to_char(X_NEW_STATUS));

585: P_PAYMENT_TRXN_EXTENSION_ID => l_payment_trxn_extension_id
586: );
587:
588: IF PG_DEBUG in ('Y', 'C') THEN
589: arp_standard.debug('update_receipt_unid_to_unapp: ' || 'New Status : ' || to_char(X_NEW_STATUS));
590: arp_standard.debug('update_receipt_unid_to_unapp: ' || 'New Status Displayed : ' || to_char(X_NEW_STATUS_DSP));
591: END IF;
592:
593: -- Updating Return Status for Receipt ----

Line 590: arp_standard.debug('update_receipt_unid_to_unapp: ' || 'New Status Displayed : ' || to_char(X_NEW_STATUS_DSP));

586: );
587:
588: IF PG_DEBUG in ('Y', 'C') THEN
589: arp_standard.debug('update_receipt_unid_to_unapp: ' || 'New Status : ' || to_char(X_NEW_STATUS));
590: arp_standard.debug('update_receipt_unid_to_unapp: ' || 'New Status Displayed : ' || to_char(X_NEW_STATUS_DSP));
591: END IF;
592:
593: -- Updating Return Status for Receipt ----
594:

Line 613: arp_standard.debug('ar_receipt_update_api_pub.update_receipt_unid_to_unapp()-');

609: END IF;
610:
611:
612: IF PG_DEBUG in ('Y', 'C') THEN
613: arp_standard.debug('ar_receipt_update_api_pub.update_receipt_unid_to_unapp()-');
614: END IF;
615:
616: EXCEPTION
617: WHEN OTHERS THEN