This topic contains 2 replies, has 0 voices, and was last updated by Dew 6 years, 9 months ago.

  • Author
    Posts
  • #22564

    SererraMike

    Working on a sales order saved search. It doesn't look like I can return the "Billing Status" value that's available in the criteria tab. So I wanted to use a formula to return a 1 or 0 depending on if there is a billing transaction.

    The formula I'm using is:

    Code:
    CASE WHEN ({billingtransaction} is Null) then 1 else 0 end
    I've tried changing "is" to "=", tried wrapping "null" in '', and every combo I can think of. I just can't get it to return a 1 no matter what. Can anyone help?

    Thanks in advance,

    Mike
    This is a cached copy. Click here to see the original post.

  • #22565

    carl.billings

    What about the Amount Unbilled?

  • #22566

    Dew

    Oh, the inconsistencies of NetSuite… Try

    Code:
    CASE WHEN ({billingtransaction}=' ') then 1 else 0 end
    That's 2 single quotes wrapping a space.

    By the way, that works for the line level, not Main Line.

You must be logged in to reply to this topic.