Calculations Field IF function

Comments

2 comments

  • Hamid

    Hi Tom,

    Try this in a calculation field


    var To_Order;

    @Stock on Hand <= @Par Level ? To_Order == @Minimum Order Amount : null

    To_Order;

    The calculation show @Minimum Order Amount if @Stock on Hand is less than @Par Level else it show nothing (null)

    You can not populate a text or a number field with podio calculation you should use globiflow for that.

    0
    Comment actions Permalink
  • Rainer Grabowski

    Hi Tom,

    for each IF you need an ELSE. I think this will work:

    @Stock on Hand <= @Par Level ? @Minimum Order Amount : 0;

    If @Stock on Hand > @Par Level it shows 0 (if you want the field blank replace 0 by '')

    Rainer

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk