DBA Data[Home] [Help]

APPS.ARP_DEDUCTION_COVER dependencies on ARPCURR

Line 892: l_applied_amt_from_old:= arpcurr.currround(l_amount * nvl(l_trans_to_receipt_rate,1),l_currency_code) ; /* Bug fix 5291088 */

888: FETCH applied_amount INTO l_amount, l_discount_earned, l_discount_unearned;
889: CLOSE applied_amount;
890:
891: l_applied_amount_from := p_amount * l_trans_to_receipt_rate;
892: l_applied_amt_from_old:= arpcurr.currround(l_amount * nvl(l_trans_to_receipt_rate,1),l_currency_code) ; /* Bug fix 5291088 */
893: l_discount := nvl(l_discount_earned,0) + nvl(l_discount_unearned,0); -- Bug 2535663
894:
895: IF PG_DEBUG in ('Y', 'C') THEN
896: arp_standard.debug('l_applied_amount_from: ' || l_applied_amount_from);

Line 907: p_new_amount_applied => nvl(arpcurr.currround(l_applied_amount_from,l_currency_code),p_amount),

903: | 2b) Check that the receipt will not go negative
904: +---------------------------------------------------------------------*/
905: /* Bug fix 5291088 : The amounts that should be compared to be passed in receipt currency */
906: validate_amount_applied( p_amount_applied => l_applied_amt_from_old,
907: p_new_amount_applied => nvl(arpcurr.currround(l_applied_amount_from,l_currency_code),p_amount),
908: p_cash_receipt_id => p_cash_receipt_id,
909: x_return_status => l_amount_status);
910: IF l_amount_status <> FND_API.G_RET_STS_SUCCESS THEN
911: l_error_count := l_error_count + 1;