DBA Data[Home] [Help]

APPS.OZF_AR_PAYMENT_PVT dependencies on FND_FILE

Line 4894: fnd_file.put_line(fnd_file.log, 'Apply DM to the Rceipt Line and Rceipt Balance Adjustment is not required');

4890:
4891: IF (l_source_obt_class IS NOT NULL AND l_source_obt_class = 'CM' AND l_receipt_amt = 0) THEN
4892:
4893: IF g_debug THEN
4894: fnd_file.put_line(fnd_file.log, 'Apply DM to the Rceipt Line and Rceipt Balance Adjustment is not required');
4895: END IF;
4896:
4897:
4898: l_cm_app_rec.cm_customer_trx_id := p_claim_rec.source_object_id;-- CM Trx number

Line 4919: fnd_file.put_line(fnd_file.log, 'l_return_status from AR_CM_API_PUB.apply_on_account '||l_return_status);

4915: x_acctd_amount_applied_to => l_acctd_amount_applied_to,
4916: p_org_id => p_claim_rec.org_id);
4917:
4918: IF g_debug THEN
4919: fnd_file.put_line(fnd_file.log, 'l_return_status from AR_CM_API_PUB.apply_on_account '||l_return_status);
4920: END IF;
4921:
4922: IF l_return_status = FND_API.g_ret_sts_error THEN
4923: RAISE FND_API.g_exc_error;

Line 4936: fnd_file.put_line(fnd_file.log, 'l_trx_amt : '||l_trx_amt);

4932: FETCH csr_trx_amt INTO l_trx_amt;
4933: CLOSE csr_trx_amt;
4934:
4935: IF g_debug THEN
4936: fnd_file.put_line(fnd_file.log, 'l_trx_amt : '||l_trx_amt);
4937: END IF;
4938:
4939: IF l_dm_applied_on_rec_amt IS NULL THEN
4940:

Line 4942: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 1. Unapply Invoice from Receipt');

4938:
4939: IF l_dm_applied_on_rec_amt IS NULL THEN
4940:
4941: IF g_debug THEN
4942: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 1. Unapply Invoice from Receipt');
4943: END IF;
4944:
4945: Unapply_from_Receipt(
4946: p_cash_receipt_id => p_claim_rec.receipt_id

Line 4959: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 2. Apply original amount - debit memo amount to receipt');

4955: RAISE FND_API.g_exc_unexpected_error;
4956: END IF;
4957:
4958: IF g_debug THEN
4959: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 2. Apply original amount - debit memo amount to receipt');
4960: END IF;
4961:
4962:
4963: IF l_receipt_currency = l_trx_currency THEN

Line 4994: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 3. Apply debit memo amount to receipt');

4990: END IF;
4991:
4992:
4993: IF g_debug THEN
4994: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 3. Apply debit memo amount to receipt');
4995: END IF;
4996:
4997:
4998: IF l_receipt_currency = l_trx_currency THEN

Line 5031: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Pay by Previous Open Debit Memo which already exists on the receipt');

5027:
5028: ELSE
5029:
5030: IF g_debug THEN
5031: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Pay by Previous Open Debit Memo which already exists on the receipt');
5032: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Unapply the Invoice from Receipt');
5033: END IF;
5034:
5035: Unapply_from_Receipt(

Line 5032: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Unapply the Invoice from Receipt');

5028: ELSE
5029:
5030: IF g_debug THEN
5031: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Pay by Previous Open Debit Memo which already exists on the receipt');
5032: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Unapply the Invoice from Receipt');
5033: END IF;
5034:
5035: Unapply_from_Receipt(
5036: p_cash_receipt_id => p_claim_rec.receipt_id

Line 5050: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Apply the invoice amount - (existing debit memo amount + new debit memo amount) on receipt');

5046: RAISE FND_API.g_exc_unexpected_error;
5047: END IF;
5048:
5049: IF g_debug THEN
5050: fnd_file.put_line(fnd_file.log, 'Overpayment: -> 1.1 Apply the invoice amount - (existing debit memo amount + new debit memo amount) on receipt');
5051: END IF;
5052:
5053: IF l_receipt_currency = l_trx_currency THEN
5054: l_p_new_applied_amount := l_trx_amt - (l_dm_applied_on_rec_amt + (p_debit_memo_amount * -1));

Line 5082: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 1.3. Apply (existing debit memo amount + new debit memo amount) on receipt');

5078: RAISE FND_API.g_exc_unexpected_error;
5079: END IF;
5080:
5081: IF g_debug THEN
5082: fnd_file.put_line(fnd_file.log, 'Invoice Overpayment -> 1.3. Apply (existing debit memo amount + new debit memo amount) on receipt');
5083: END IF;
5084:
5085: IF l_receipt_currency = l_trx_currency THEN
5086: l_p_new_applied_amount := NVL(l_dm_applied_on_rec_amt,0) + (p_debit_memo_amount * -1);