This topic contains 5 replies, has 0 voices, and was last updated by jmessersmith 8 years, 2 months ago.

  • Author
    Posts
  • #5139

    jmessersmith

    I have a field that starts out blank but gets data filled in after a while, I want to make a search where the empty field records appear at the top of the sort. Can that be done?
    This is a cached copy. Click here to see the original post.

  • #5140

    JCirocco

    Just a guess but how about including a formula field with a case statement replacing the empty field with the lowest possible ASCII printable character (! I think) and then do the sort on the formula field?

    CASE WHEN {fieldname} =” THEN ‘!” ELSE {fieldname}


    JCirocco replied on 09/06/2016, 02:59 PM: I had typo on then where after ! is a double quote

  • #5141

    jmessersmith

    empty quotes didnt work. It still shows up blank. even if I used LENGTH it shows up blank. Is there a null comparison? Is there documentation on all the formula functions?

  • #5142

    JCirocco

    Sorry, try

    CASE WHEN {yourfieldname} IS NULL THEN ‘!’ ELSE {yourfieldname} END

  • #5143

    michoel

    Originally posted by jmessersmith

    View Post

    Is there documentation on all the formula functions?

    Netsuite has some documentation here:

    https://system.netsuite.com/app/help…_N2833020.html

    Because Netsuite uses an Oracle database in the backend, referring to the Oracle documentation is helpful, as is putting the keyword “oracle” into your search queries..

    http://docs.oracle.com/cd/B19306_01/…b14200/toc.htm

  • #5144

    jmessersmith

    the IS NULL got it, Thanks guys. Thanks for the docs also.

You must be logged in to reply to this topic.