I have created check box named " show line with scan serial id " in the item arrival forms " line's " overview header section , i my execute query i have written code so if i click my check box the item with serial no scan should appar in grid if i untik check box the grid should be as it is, my code is given below can any one help me out what is wrong with my code.
public void executeQuery() { QueryBuildDataSource Qbds; Qbds = this.query().dataSourceTable(tableNum(WMSJournalTrans)); Qbds.clearRanges(); Qbds.addRange(fieldNum(WMSJournalTrans, InventSerialId)).value(queryValue("Scan")); super(); }