The current user or worker could be retrieved through following code since AX 2012DirPersonUser::currentWorker()However, In Dynamics 365 for operation this has refactored to;HcmWorkerLookup::currentWorker()
Visual Studio is essential to create/edit SSRS reports with MS Dynamics AX 2012 and later releases. Here are steps to configure visual studio with correct AOS (in my case it is development AOS).Connect with computer where visual studio is installe...
You may find few more posts over this topic to send emails from AX using live (Hotmail) or gmail exchange server. This is really helpful when we don’t have exchange is in place sometimes due to high cost or you just want to send emails for testing...
Few settings to configure in Microsoft Visual Studio to make the development experience with AX a little smoother. Go to Dynamics 365 Options Set Projects Options - organize project by element type ...
AX 2009if(!UnitConvert::canConvert(this.inventTableModuleInvent().UnitId, this.SAB_ProdPickingUOM, this.ItemId))AX 2012unitConvFound = UnitOfMeasureConverter::canBeConverted(UnitOfMeasure::findBySymbol(this.inventTableModuleInvent().UnitId).RecId,...
Scenario:There are times when you want to delete an entity from target entity list and when you do so, you face an error message which does not tell you where exactly the entity has been used. "Entity cannot be deleted while dependent En...
This post describes how to create model with correct selection of package which leads to correct development approach either Extension or Overlayering (Customization)Go to Dynamics 365 or AX7 | Deploy | Create modelEnter required information ...
Copying security roles, groups, user options and associating worker against userThe role based security works very well in AX 2012 and security development tool has also made the life of AX system administrator very charming. It was a nightmare to...
Find which data entity is obsolete after every new update. Here are the steps. For example; Customers V2 data entity is obsolete with version 8.0For developers: Type the below in the metadata search in VSTS:type:dataentityview property:isobsolete=yes