Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Open other form on OK button click of first form using X++

$
0
0

if zlg_LaborActivityHeader is your tablename, your code should look more like this....

FormRun fr;

   Args    args;

   args = new Args();

   args = element.args();

   args.name(formStr('FORMB'));

   args.record(zlg_LaborActivityHeader);

   fr = ClassFactory.formRunClass(args);

   fr.init();

   fr.run();

   fr.detach();

   super();


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>