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

Lookup for a Dialog field in Dialog

$
0
0

Good Morning,

I am trying to write Dialog in one of the Customized Button -->clicked()

Ex - void clicked()

{


Dialog dialog = new Dialog("Email");


DialogField custaccount,cust,vend;

custaccount = dialog.addField(extendedTypeStr(CustAccount ), 'Cust Account :' );

cust = dialog.addField(extendedTypeStr(NoYesId ), 'Customer :' );
vend = dialog.addField(extendedTypeStr(NoYesId ), 'Vend :' );

if(dialog.run())
{
info("Working");

}

}

I have created one job for trial

If i click Customer.get the lookup of CustAccount.

if i click Vend .get the lookup of VendAccount.

Is it possible.

can i write in clicked Method(Above Clicked()).

Please guide me.

Regards.

Any help would be greatly appreciated.

Thanks.

Have a great day.


Viewing all articles
Browse latest Browse all 46681

Trending Articles



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