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 788: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

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

Line 817: OZF_AR_Payment_PVT.Apply_on_Receipt(

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

Line 870: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

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

Line 1070: OZF_AR_Payment_PVT.Unapply_Claim_Investigation(

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

Line 1087: OZF_AR_Payment_PVT.Apply_on_Receipt(

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

Line 1106: OZF_AR_Payment_PVT.Unapply_from_Receipt(

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

Line 1122: OZF_AR_Payment_PVT.Apply_on_Receipt(

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

Line 1259: OZF_AR_Payment_PVT.Create_AR_Chargeback(

1255: ELSIF p_deduction_type = 'RECEIPT_DED'THEN
1256: l_chargeback_amount := p_chargeback_amount * -1;
1257: END IF;
1258:
1259: OZF_AR_Payment_PVT.Create_AR_Chargeback(
1260: p_claim_rec => p_claim_rec
1261: ,p_chargeback_amount => l_chargeback_amount
1262: ,p_gl_date => p_gl_date
1263: ,x_cb_customer_trx_id => l_cb_customer_trx_id

Line 1377: OZF_AR_PAYMENT_PVT.Process_Settlement_WF(

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

Line 1430: OZF_AR_Payment_PVT.Create_AR_Write_Off(

1426: RAISE FND_API.g_exc_unexpected_error;
1427: END IF;
1428: */
1429:
1430: OZF_AR_Payment_PVT.Create_AR_Write_Off(
1431: p_claim_rec => p_claim_rec
1432: ,p_deduction_type => p_deduction_type
1433: ,p_write_off_amount => p_write_off_amount
1434: ,p_gl_date => p_gl_date

Line 1547: OZF_AR_PAYMENT_PVT.Unapply_Claim_Investigation(

1543: CLOSE csr_old_claim_investigation;
1544:
1545: l_reapply_claim_amount := l_old_applied_claim_amount - (p_credit_amount * -1);
1546:
1547: OZF_AR_PAYMENT_PVT.Unapply_Claim_Investigation(
1548: p_claim_rec => p_claim_rec
1549: ,p_reapply_amount => l_reapply_claim_amount --0
1550: ,x_return_status => l_return_status
1551: ,x_msg_data => x_msg_data

Line 1564: OZF_AR_PAYMENT_PVT.Apply_On_Account_Credit(

1560: IF OZF_DEBUG_HIGH_ON THEN
1561: OZF_Utility_PVT.debug_message('Overpayment -> 2. Apply On Account Credit.');
1562: END IF;
1563: --2. Apply On Account Credit
1564: OZF_AR_PAYMENT_PVT.Apply_On_Account_Credit(
1565: p_claim_rec => p_claim_rec
1566: ,p_credit_amount => p_credit_amount
1567: ,x_return_status => l_return_status
1568: ,x_msg_data => x_msg_data

Line 2745: OZF_AR_Payment_PVT.Query_Claim(

2741:
2742: i := l_claim_id_tbl.FIRST;
2743: IF i IS NOT NULL THEN
2744: LOOP
2745: OZF_AR_Payment_PVT.Query_Claim(
2746: p_claim_id => l_claim_id_tbl(i)
2747: ,x_claim_rec => l_claim_rec
2748: ,x_return_status => l_return_status
2749: );