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

Calling Form with specific record by X++ code

$
0
0

Hi All,

I am trying to open a form by giving a specific record but the form opened with all the records.

I debugged the process .The record getting selected, but form not opening with the specified record.

Please guide me on this.

Thanks.

IITProbationEvaluationHeader _iitProbationEvaluationHeader;
MenuFunction mf;
Args args1 = new Args();
Formrun formrun;



_iitProbationEvaluationHeader =IITProbationEvaluationHeader::find("STF-0698");
args1.name(formStr(iiTPerformanceEvaluationAssignToListPage));
args1.record(_iitProbationEvaluationHeader);
formrun = ClassFactory.formRunClass(args1);
formrun.init();
formrun.run();
formrun.wait();

Viewing all articles
Browse latest Browse all 175888

Trending Articles



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