FnCheckItemLE;
LItemREC.SETCURRENTKEY(LItemREC.Make,LItemREC.Model,LItemREC.Category);
LItemREC.COPYFILTERS(Item);
FORM.RUN(FORM::"Inventory With Zero Movement",LItemREC);
FnCheckItemLE; // this function modifies a field on my item table
the whole of this code is on OnPreDataItem trigger of the item dataitem.
Comments
Take a record variable of table (sourcetable of form)
apply filter and pass the record while calling RUN/RUNMODAL command
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
FnCheckItemLE; // this function modifies a field on my item table
the whole of this code is on OnPreDataItem trigger of the item dataitem.