Posts

Showing posts from May, 2024

Lookup Event handler in d365

 [FormControlEventHandler(formControlStr(EcoResProductDetailsExtended, CST_MixNMatch_CST_MixMatchRevItemId), FormControlEventType::Lookup)]     public static void CST_MixNMatch_CST_MixMatchRevItemId_OnLookup(FormControl sender, FormControlEventArgs e)     {         SysTableLookup      sysTableLookup  = SysTableLookup::newParameters(tableNum(InventTable), sender);         InventTable inventTable;         Query query = new Query();         QueryBuildDataSource qbds;         QueryBuildRange queryBuildRange;         FormDataSource  formDataSource = sender.dataSourceObject();         InventParameters inventParameters = formDataSource.cursor();         qbds = query.addDataSource(tableNum(InventTable));         qbds.addRange(fieldNum(InventTable, CST_MixNMatch)).value...