David B
06/14/2026, 10:47 PMIn NetSuite’s flavor of SQL, BUILTIN.DF fails to evaluate NULL values and NetSuite drops the row from the results entirely.
Apparently NetSuite evaluates all BUILTIN.DF function calls eagerly, before any CASE logicso you can't protect against this by wrapping in a NULL check, like
CASE WHEN {field} IS NOT NULL THEN BUILTIN.DF({field}) END
Slack Conversation