Hi,
If we want to set not empty condition at query then following code can be used in value
SysQuery::valueNotEmptyString()
Example:
this.query().dataSourceTable(tablenum(LedgerTrans)).addRange(fieldId2Ext(fieldnum(LedgerTrans, Dimension),5)).value(SysQuery::valueNotEmptyString());
If we want to set not empty condition at query then following code can be used in value
SysQuery::valueNotEmptyString()
Example:
this.query().dataSourceTable(tablenum(LedgerTrans)).addRange(fieldId2Ext(fieldnum(LedgerTrans, Dimension),5)).value(SysQuery::valueNotEmptyString());