DBA Data[Home] [Help]

APPS.OZF_MASS_SETTLEMENT_PVT dependencies on OZF_AR_PAYMENT_PVT

Line 139: OZF_AR_Payment_PVT.Query_Claim(

135: END IF;
136: x_return_status := FND_API.g_ret_sts_success;
137:
138: ------------------------ start -------------------------
139: OZF_AR_Payment_PVT.Query_Claim(
140: p_claim_id => p_payment_claim_id
141: ,x_claim_rec => l_payment_claim_rec
142: ,x_return_status => l_return_status
143: );

Line 173: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

169: OZF_Utility_PVT.debug_message('1. Unapply overpayment claim investigation');
170: OZF_Utility_PVT.debug_message('original overpayment amount = '||l_recpt_old_applied_amt);
171: END IF;
172:
173: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
174: p_claim_rec => l_payment_claim_rec
175: ,p_reapply_amount => l_recpt_new_applied_amt
176: ,x_return_status => l_return_status
177: ,x_msg_data => x_msg_data

Line 252: OZF_AR_Payment_PVT.Update_dispute_amount(

248: FETCH csr_old_applied_invoice INTO l_old_applied_invoice;
249: CLOSE csr_old_applied_invoice;
250:
251: -- 3.1. Update amount in dispute
252: OZF_AR_Payment_PVT.Update_dispute_amount(
253: p_claim_rec => p_claim_rec
254: ,p_dispute_amount => (p_amount_applied * -1)
255: ,x_return_status => l_return_status
256: ,x_msg_data => x_msg_data

Line 271: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

267: OZF_Utility_PVT.debug_message('original amount applied to invoice = '||l_old_applied_invoice.amount_applied);
268: END IF;
269:
270: -- 3. Reapply claim investigation
271: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
272: p_claim_rec => p_claim_rec
273: ,p_reapply_amount => l_old_applied_invoice.amount_applied +(p_amount_applied * -1)
274: ,x_return_status => l_return_status
275: ,x_msg_data => x_msg_data

Line 300: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

296: OZF_Utility_PVT.debug_message('original claim investigation amount = '||l_recpt_old_applied_amt);
297: END IF;
298:
299:
300: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
301: p_claim_rec => p_claim_rec
302: ,p_reapply_amount => l_recpt_new_applied_amt
303: ,x_return_status => l_return_status
304: ,x_msg_data => x_msg_data

Line 362: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

358: OZF_Utility_PVT.debug_message('1. Unapply overpayment claim investigation');
359: OZF_Utility_PVT.debug_message('original overpayment amount = '||l_recpt_old_applied_amt);
360: END IF;
361:
362: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
363: p_claim_rec => p_claim_rec
364: ,p_reapply_amount => l_recpt_new_applied_amt
365: ,x_return_status => l_return_status
366: ,x_msg_data => x_msg_data

Line 439: OZF_AR_Payment_PVT.Update_dispute_amount(

435: FETCH csr_old_applied_invoice INTO l_old_applied_invoice;
436: CLOSE csr_old_applied_invoice;
437:
438: -- 3.1. Update amount in dispute
439: OZF_AR_Payment_PVT.Update_dispute_amount(
440: p_claim_rec => l_payment_claim_rec
441: ,p_dispute_amount => (p_amount_applied * -1)
442: ,x_return_status => l_return_status
443: ,x_msg_data => x_msg_data

Line 458: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

454: OZF_Utility_PVT.debug_message('original amount applied to invoice = '||l_old_applied_invoice.amount_applied);
455: END IF;
456:
457: -- 3. Reapply claim investigation
458: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
459: p_claim_rec => l_payment_claim_rec
460: ,p_reapply_amount => l_old_applied_invoice.amount_applied -(p_amount_applied * -1)
461: ,x_return_status => l_return_status
462: ,x_msg_data => x_msg_data

Line 486: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

482: OZF_Utility_PVT.debug_message('3. Unapply Non Invoice Deduction');
483: OZF_Utility_PVT.debug_message('original claim investigation amount = '||l_recpt_old_applied_amt);
484: END IF;
485:
486: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
487: p_claim_rec => l_payment_claim_rec
488: ,p_reapply_amount => l_recpt_new_applied_amt
489: ,x_return_status => l_return_status
490: ,x_msg_data => x_msg_data

Line 726: OZF_AR_Payment_PVT.Update_dispute_amount(

722: IF OZF_DEBUG_HIGH_ON THEN
723: OZF_Utility_PVT.debug_message('Invoice Deduction -> 1. Update amount in dispute');
724: END IF;
725: -- 1. Update amount in dispute
726: OZF_AR_Payment_PVT.Update_dispute_amount(
727: p_claim_rec => p_claim_rec
728: ,p_dispute_amount => (p_credit_memo_amount * -1)
729: ,x_return_status => l_return_status
730: ,x_msg_data => x_msg_data

Line 744: OZF_AR_Payment_PVT.Apply_on_Receipt(

740: IF OZF_DEBUG_HIGH_ON THEN
741: OZF_Utility_PVT.debug_message('Invoice Deduction -> 2. Apply creit memo on receipt');
742: END IF;
743: -- 2. Apply creit memo on receipt
744: OZF_AR_Payment_PVT.Apply_on_Receipt(
745: p_cash_receipt_id => p_claim_rec.receipt_id
746: ,p_customer_trx_id => p_payment_reference_id
747: ,p_new_applied_amount => (p_credit_memo_amount * -1)
748: ,p_comments => p_claim_rec.comments

Line 789: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

785: OZF_Utility_PVT.debug_message('original invoice deduction amount = '||l_old_applied_invoice.amount_applied);
786: OZF_Utility_PVT.debug_message('reapply invoice deduction amount = '||(l_old_applied_invoice.amount_applied + p_credit_memo_amount));
787: END IF;
788: -- 3. Reapply claim investigation
789: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
790: p_claim_rec => p_claim_rec
791: ,p_reapply_amount => l_old_applied_invoice.amount_applied + p_credit_memo_amount
792: ,x_return_status => l_return_status
793: ,x_msg_data => x_msg_data

Line 818: OZF_AR_Payment_PVT.Apply_on_Receipt(

814: IF OZF_DEBUG_HIGH_ON THEN
815: OZF_Utility_PVT.debug_message('Receipt Deduction -> 1. Apply creit memo on receipt');
816: END IF;
817: -- 1. Apply creit memo on receipt
818: OZF_AR_Payment_PVT.Apply_on_Receipt(
819: p_cash_receipt_id => p_claim_rec.receipt_id
820: ,p_customer_trx_id => p_payment_reference_id
821: ,p_new_applied_amount => (p_credit_memo_amount * -1)
822: ,p_comments => p_claim_rec.comments

Line 872: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

868: IF OZF_DEBUG_HIGH_ON THEN
869: OZF_Utility_PVT.debug_message('original claim investigation amount = '||l_orig_dispute_amount);
870: OZF_Utility_PVT.debug_message('reapply claim investigation amount = '||(l_orig_dispute_amount + p_credit_memo_amount));
871: END IF;
872: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
873: p_claim_rec => p_claim_rec
874: ,p_reapply_amount => l_orig_dispute_amount + p_credit_memo_amount --(l_orig_reapply_amount - p_credit_memo_amount) * -1
875: ,x_return_status => l_return_status
876: ,x_msg_data => x_msg_data

Line 1072: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

1068:
1069: OZF_Utility_PVT.debug_message('original overpayment amount = '||l_orig_dispute_amount);
1070: OZF_Utility_PVT.debug_message('reapply overpayment amount = '||(l_orig_dispute_amount + p_debit_memo_amount));
1071:
1072: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(
1073: p_claim_rec => p_claim_rec
1074: ,p_reapply_amount => (l_orig_dispute_amount + p_debit_memo_amount)
1075: ,x_return_status => l_return_status
1076: ,x_msg_data => x_msg_data

Line 1089: OZF_AR_Payment_PVT.Apply_on_Receipt(

1085:
1086: IF l_dm_applied_on_rec_amt IS NULL THEN
1087: OZF_Utility_PVT.debug_message('Overpayment -> 2. Apply debit memo on receipt');
1088: -- 2. Apply debit memo on receipt
1089: OZF_AR_Payment_PVT.Apply_on_Receipt(
1090: p_cash_receipt_id => p_claim_rec.receipt_id
1091: ,p_customer_trx_id => p_payment_reference_id
1092: ,p_new_applied_amount => p_debit_memo_amount * -1
1093: ,p_comments => p_claim_rec.comments

Line 1109: OZF_AR_Payment_PVT.Unapply_from_Receipt(

1105: ELSE
1106: OZF_Utility_PVT.debug_message('Overpayment: Pay by Previous Open Debit Memo which already exists on the receipt');
1107: OZF_Utility_PVT.debug_message('Overpayment -> 1.5. Unapply debit memo on receipt');
1108: -- 1.5. Unapply creit memo on receipt
1109: OZF_AR_Payment_PVT.Unapply_from_Receipt(
1110: p_cash_receipt_id => p_claim_rec.receipt_id
1111: ,p_customer_trx_id => p_payment_reference_id
1112: ,x_return_status => l_return_status
1113: ,x_msg_data => x_msg_data

Line 1125: OZF_AR_Payment_PVT.Apply_on_Receipt(

1121:
1122: OZF_Utility_PVT.debug_message('Overpayment -> 2. Apply debit memo with increased amount on receipt');
1123: l_settlement_amount := (p_debit_memo_amount * -1); --Bug4308188
1124: -- 2. Apply creit memo on receipt
1125: OZF_AR_Payment_PVT.Apply_on_Receipt(
1126: p_cash_receipt_id => p_claim_rec.receipt_id
1127: ,p_customer_trx_id => p_payment_reference_id
1128: ,p_new_applied_amount => l_dm_applied_on_rec_amt + (p_debit_memo_amount * -1)
1129: ,p_comments => p_claim_rec.comments

Line 1263: OZF_AR_Payment_PVT.Create_AR_Chargeback(

1259: ELSIF p_deduction_type = 'RECEIPT_DED'THEN
1260: l_chargeback_amount := p_chargeback_amount * -1;
1261: END IF;
1262:
1263: OZF_AR_Payment_PVT.Create_AR_Chargeback(
1264: p_claim_rec => p_claim_rec
1265: ,p_chargeback_amount => l_chargeback_amount
1266: ,p_gl_date => p_gl_date
1267: ,x_cb_customer_trx_id => l_cb_customer_trx_id

Line 1381: OZF_AR_PAYMENT_PVT.Process_Settlement_WF(

1377: NOT ARP_DEDUCTION_COVER.negative_rct_writeoffs_allowed THEN
1378: /*------------------------------------------------------------
1379: | Receipt Deduction -> Invoke Settlement Workflow
1380: *-----------------------------------------------------------*/
1381: OZF_AR_PAYMENT_PVT.Process_Settlement_WF(
1382: p_claim_id => p_claim_rec.claim_id
1383: ,x_return_status => l_return_status
1384: ,x_msg_data => x_msg_data
1385: ,x_msg_count => x_msg_count

Line 1435: OZF_AR_Payment_PVT.Create_AR_Write_Off(

1431: RAISE FND_API.g_exc_unexpected_error;
1432: END IF;
1433: */
1434:
1435: OZF_AR_Payment_PVT.Create_AR_Write_Off(
1436: p_claim_rec => p_claim_rec
1437: ,p_deduction_type => p_deduction_type
1438: ,p_write_off_amount => p_write_off_amount
1439: ,p_gl_date => p_gl_date

Line 1553: OZF_AR_PAYMENT_PVT.Unapply_Claim_Investigation(

1549: CLOSE csr_old_claim_investigation;
1550:
1551: l_reapply_claim_amount := l_old_applied_claim_amount - (p_credit_amount * -1);
1552:
1553: OZF_AR_PAYMENT_PVT.Unapply_Claim_Investigation(
1554: p_claim_rec => p_claim_rec
1555: ,p_reapply_amount => l_reapply_claim_amount --0
1556: ,x_return_status => l_return_status
1557: ,x_msg_data => x_msg_data

Line 1570: OZF_AR_PAYMENT_PVT.Apply_On_Account_Credit(

1566: IF OZF_DEBUG_HIGH_ON THEN
1567: OZF_Utility_PVT.debug_message('Overpayment -> 2. Apply On Account Credit.');
1568: END IF;
1569: --2. Apply On Account Credit
1570: OZF_AR_PAYMENT_PVT.Apply_On_Account_Credit(
1571: p_claim_rec => p_claim_rec
1572: ,p_credit_amount => p_credit_amount
1573: ,x_return_status => l_return_status
1574: ,x_msg_data => x_msg_data

Line 2781: OZF_AR_Payment_PVT.Query_Claim(

2777:
2778: i := l_claim_id_tbl.FIRST;
2779: IF i IS NOT NULL THEN
2780: LOOP
2781: OZF_AR_Payment_PVT.Query_Claim(
2782: p_claim_id => l_claim_id_tbl(i)
2783: ,x_claim_rec => l_claim_rec
2784: ,x_return_status => l_return_status
2785: );