Im using the Advancced Forms utilities plugin, and tried the code below, but it

Im using the Advancced Forms utilities plugin, and tried the code below, but it wont display any values on my second dropdown ("towarehouse"). I also downloaded sample app "dynamic dropdown - query rules and ds", I published DS, run the app but it wont show anything also on the second dropdown. There's no exception found, and i dont know how to get this work. Please help. Thanks!

var materialID = window.FormAPI.getValue("fromWarehouse").id.split(";")[window.FormDesigner.lastRowEvent];
FormAPI.evaluateServerSideExpression(function(val) {
debugger;
//Removing extra quotes from the text
for(var i = 0; i < val.length; i++){
          val[i] = val[i].replace(/"/g,"")
}
FormAPI.updateGridDropdownValues("toWarehouse", val, val)
},"=getAssetBalFilter(0,"+materialID+").warehouse");...

OriginalPostID-63086

OriginalPostID-63086

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data