filter zero values in lumira code example
Example: filter zero values in lumira
var RecNofil = "";
arrayRecNo.forEach(function(element, index) {
var val1 = DS_1.getData(KForiginal, {"City1": "Berlin", "RecordNo": element.internalKey}).Value;
var val2 = DS_1.getData(KForiginal, {"City2": "Berlin", "RecordNo": element.internalKey}).Value;
if(val1!=0 || val2!=0){
RecNofil=RecNofil+";"+element.internalkey;
}
}
RecNofil = Convert.SubString(RecNofil,1);
DS_1.SetFilter("RecordNo":RecNofil);