Calculation using different currencies


1 comment

  • Victor Lavrentyev

    The Currency field must have a Relationship type and linked to a Currency App [currency name, currency rate]. You can use a currency rate by date, but it's not 3 lines of JS ))

    var rate = @Min of RateFieldName;
    var allReferencedCurrency = @All of CurrencyFieldName;
    var currency = allReferencedCurrency[0];

    If (currency == 'USD') {
    result = rate * @SumFieldName;

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk