Tuesday, August 22, 2017

X++ code to Count Records in Query


Refer below link

http://learnax.blogspot.qa/2010/09/x-code-to-count-records-in-query.html

Dialog box in AX

Refer below link

https://axchaitu.wordpress.com/2013/07/26/get-dialog-box-of-yes-or-no-for-any-operation-by-user-in-ax/

unable to save method … Dynamics Ax 2012 R3

Refer Below Links

https://community.dynamics.com/ax/b/alirazatechblog/archive/2015/01/19/unable-to-save-method-dynamics-ax-2012-r3

https://www.tech.alirazazaidi.com/unable-to-save-method-dynamics-ax-2012-r3/

Tuesday, August 1, 2017

How to use .NET DLL in AX

Please refer the below blog com

You can create .net class library project.
Register the .dll into dynamic AX

Code:

static void PushNotification(Args _args)
{
   
   CodeAccessPermission permission;
   PushNotificationAPI.PushNotification push;
 ;
   

 permission = new InteropPermission(InteropKind::CLRInterop);
 permission.assert();
 push = new PushNotificationAPI.PushNotification();
 push.SendAndroidPushNotification("Great Ashraf", "dZzhpCacCMQ:APA91bEMAMorxr9hCGoSx5WCrR1eocjxPY30IDn9V0aWblp1lr6Bb2XQkS0glflLZt5x0LMXKKTbqydLoXxKgpBSYGy9SigEZBqyASxuRGSUBARTvFfx-WUmliBPV1cMAkDxSyJ4kTBM");
   
}
https://nasheet.wordpress.com/2012/05/21/how-can-we-use-dll-in-ax/