Entity Formula Subtraction - Not working - even on Demo site. Bug?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khopper
    Senior Member
    • Sep 2017
    • 329

    Entity Formula Subtraction - Not working - even on Demo site. Bug?

    Entity Formula Subtraction - Not working - even on Demo site. Bug?
    Code:
    // Enter '0' if vaule NULL
    ifThen(profit == null,profit == '0');
    ifThen(financeamt == null,financeamt == '0');
    ifThen(phonesystemcommission == null,phonesystemcommission == '0');
    
    // Calulate Profit
    ifThenElse(profit == '0', profit == (financeamt - phonesystemcommission),'20000');
    Last edited by khopper; 04-05-2020, 04:42 PM.
  • item
    Active Community Member
    • Mar 2017
    • 1498

    #2
    Hello,
    typo error i think : assignment is "=" => one =
    double = (==) is for comparaison.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...