Bojensen Blogs

Dynamics AX 2012 Data Import using Excel Add-in: Dynamics AX 2012 Excel Add-in – Customer transactions import

  Purpose: The purpose of this document is to illustrate how to use Microsoft Dynamics AX 2012 Excel Add-in for import of customer transactions with required level of detail. Challenge: Data model changes in Microsoft Dynamics related to high normalization and introduction of surrogate keys made some imports more complex. In fact the data model…

Dynamics AX 2012 Data Import using Excel Add-in: Dynamics AX 2012 Excel Add-in – Storage Dimensions

  Purpose: The purpose of this document is to illustrate how to work with Storage Dimensions in Dynamics AX 2012 Excel Add-in. Challenge: Data model changes in Dynamics AX related to high normalization and introduction of surrogate keys made import of data more complex. Additionally there are number of differences between Excel and AX Rich…

Create/Delete Customer using AIF Service Class in Dynamics AX | Santosh Ramamurthy AX Blog

  The Application Integration Framework allows us to create/update/delete or read data. Now in AX2009 we have a facility of creating/deleting records using AIF Service classes. There is “NO ADDITIONAL AIF SETUP”(Like Enabling Endpoints etc.) required to execute the code via service class. The services can be used to read/write data in AX.

Compile and CIL Generation errors when reporting extensions is not installed

Under certain circumstances, you may receive the followingcompile or CIL generation errors when installing Microsoft Dynamics AX 2012. SysStartupCmdGenerateSsasProject (object) has no validrunable code in method ‘buildProject’. BIGenerator (object) has no valid runable code in method‘classDeclaration’. BIAnalysisServicesProjectController (object) has no validrunable code in method ‘buildProject’.

How to Assert multiple file IO permission

  server static void CAP_copyFile(FilenameOpen _attachmentFilename, str _attachmentsFolder){Set permissionSet; ; // Revert permissionsCodeAccessPermission::revertAssert();permissionSet = new Set(Types::Class);permissionSet.add(new FileIoPermission(_attachmentFilename,’r’));permissionSet.add(new FileIoPermission(_attachmentsFolder,’w’));CodeAccessPermission::assertMultiple(permissionSet);// Move to processed folder// BP Deviation Documented winAPI::copyFile(_attachmentFilename,_attachmentsFolder,true);CodeAccessPermission::revertAssert();} H K Srikanth Dynamics Axapta Blog: How to Assert multiple file IO permission