720: -- new accounted amounts using the receipt amount and exch.rate.
721: --
722: v_amount := arp_util.functional_amount(
723: v_crh_amount,
724: ARP_GLOBAL.functional_currency,
725: nvl(v_ex_rate,nvl(v_ex_rate_old,1)),
726: NULL,NULL );
727: v_fac_disc_amount := arp_util.functional_amount(
728: nvl(v_crh_fac_disc_amt,0),
725: nvl(v_ex_rate,nvl(v_ex_rate_old,1)),
726: NULL,NULL );
727: v_fac_disc_amount := arp_util.functional_amount(
728: nvl(v_crh_fac_disc_amt,0),
729: ARP_GLOBAL.functional_currency,
730: nvl(v_ex_rate,1),
731: NULL,NULL );
732: END IF;
733:
1710: -- new accounted amounts using the receipt amount and exch.rate.
1711: --
1712: v_amount := arp_util.functional_amount(
1713: v_crh_amount,
1714: ARP_GLOBAL.functional_currency,
1715: nvl(v_ex_rate,nvl(v_ex_rate_old,1)),
1716: NULL,NULL );
1717: v_fac_disc_amount := arp_util.functional_amount(
1718: nvl(v_crh_fac_disc_amt,0),
1715: nvl(v_ex_rate,nvl(v_ex_rate_old,1)),
1716: NULL,NULL );
1717: v_fac_disc_amount := arp_util.functional_amount(
1718: nvl(v_crh_fac_disc_amt,0),
1719: ARP_GLOBAL.functional_currency,
1720: nvl(v_ex_rate,1),
1721: NULL,NULL );
1722: END IF;
1723: arp_standard.debug('Before calling arp_cashbook.clear');