ExchangeAmtFCYToLCY function

ex1720ex1720 Member Posts: 23
Hi, Im using this function but I cant understand how works the first parameter of the function:

ExchangeAmtFCYToLCY(-->Date : Date<--; CurrencyCode : Code[10];Amount : Decimal;Factor : Decimal) : Decimal

What if I put the system date¿?

What does the function if I put another date?

Because this calls another function FindCurrency(Date,CurrencyCode,1); and I cant understand what it does.


Thanks.

Answers

  • geordiegeordie Member Posts: 655
    It finds the proper exchange rate based on the date provided.
    If blank, exchange rate at the current date is considered.
  • ex1720ex1720 Member Posts: 23
    edited 2017-04-27
    <DELETED>
  • ex1720ex1720 Member Posts: 23
    edited 2017-04-27
    geordie wrote: »
    It finds the proper exchange rate based on the date provided.
    If blank, exchange rate at the current date is considered.

    so, If I pass no data (data blank) It will return me the latest Exchange rate of the system for this currency code?

    What I have to pass?

    ExchangeAmtFCYToLCY(BLANK; The Currency Code ; Amount to apply; Factor?) : Decimal


    Wich currency factor is? The factor I would to apply(the new)? Or the old factor?
    (If its the old....why I need the old factor?)
Sign In or Register to comment.