DBA Data[Home] [Help]

APPS.ARP_DEDUCTION_COVER dependencies on ARPCURR

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

922: FETCH applied_amount INTO l_amount, l_discount_earned, l_discount_unearned;
923: CLOSE applied_amount;
924:
925: l_applied_amount_from := p_amount * l_trans_to_receipt_rate;
926: l_applied_amt_from_old:= arpcurr.currround(l_amount * nvl(l_trans_to_receipt_rate,1),l_currency_code) ; /* Bug fix 5291088 */
927: l_discount := nvl(l_discount_earned,0) + nvl(l_discount_unearned,0); -- Bug 2535663
928:
929: IF PG_DEBUG in ('Y', 'C') THEN
930: arp_standard.debug('l_applied_amount_from: ' || l_applied_amount_from);

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

937: | 2b) Check that the receipt will not go negative
938: +---------------------------------------------------------------------*/
939: /* Bug fix 5291088 : The amounts that should be compared to be passed in receipt currency */
940: validate_amount_applied( p_amount_applied => l_applied_amt_from_old,
941: p_new_amount_applied => nvl(arpcurr.currround(l_applied_amount_from,l_currency_code),p_amount),
942: p_cash_receipt_id => p_cash_receipt_id,
943: x_return_status => l_amount_status);
944: IF l_amount_status <> FND_API.G_RET_STS_SUCCESS THEN
945: l_error_count := l_error_count + 1;