Hi Anand,
Thanks for giving your suggestion but my requirement is different:
If the condition currency is different than the document currency (document currency = local currency)
then while creating invoice system should pick the exchnage rate as per system date automaticaly regardless of whatever the exchnage rate in sales order.
we are maintaining daily exchnage rate in the system.
Example:
Sales order date 21/12/2013 exchnage rate 1 USD = 57 INR
Billing date in Invoice 22/12/2013 exchnage rate 1 USD = 54 INR
right now the system is picking the exchnage rate as per the sales order but not as per the billing date in invoice.
I think we need to put logic in USEREXIT_PRICING_COPY or USEREXIT_PRICING_RULE in billing program.
Please let me know if you have any other thoughts.
Thanks
Amar