I have been asked by a couple of customers to add a number indicator on the attachments button in AX 2012. The idea being when a user opens a form, like the sales order form, they can look at the number on the attachments button and tell right away if there are any attachments on…
Microsoft Dynamics Ax
Add data to Default Dimensions in AX2012
by Bo Jensen •
Given the AX 2009 statement: ledgerJournalTrans.Dimension = ledgerTable.Dimension; ledgerJournalTrans.Dimension[1] = “abc”; What is the equivalent way to that in AX 2012?
Microsoft Dynamics Ax
AX 2012 Financial dimension update
by Bo Jensen •
Here are 2 ways to update a financial dimension, while keeping the other dims. The result should be the same, just use whatever you prefer.
Microsoft SQL Server
How to Track Down Deadlocks Using SQL Server 2005 Profiler
by Bo Jensen •
A Quick Introduction to Deadlocks Deadlocking occurs when two or more SQL Server processes have locks on separate database objects and each process is trying to acquire a lock on an object that the other processes have previously locked. For example, process one has an exclusive lock on object one, process two has an…
Webdevelopment
HTML5: FileSystem API – Create Files and Store Them Locally Using JavaScript and Webkit – noupe
by Bo Jensen •
The FileSystem-API allows the creation of files and folders as well as their local storage using JavaScript. Files can be simple text files, but even more complex files such as images are possible. Modern Webkit browsers with HTML5 support are already able to handle the FileSystem-API. We show you how you can benefit from…
Microsoft Dynamics Ax
Dynamics AX: IL Compile and some things to understand for AX 2012
by Bo Jensen •
One thing I wanted to make sure and point out, with all this talk about Microsoft Dynamics AX 2012, Services, and Complex Data Contract concepts, is around the need for proper IL generation of Xpp / X++ code artifacts. The image above is not technically correct for AX 2012, but it’s a quick snag image,…
Microsoft Dynamics Ax
Dynamics AX 2012 Excel Add-in – Tracking Dimensions
by Bo Jensen •
Purpose: The purpose of this document is to illustrate how to work with Tracking 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 Client…
Microsoft Dynamics Ax
Dynamics AX 2012 Excel Add-in – Vendor transactions import
by Bo Jensen •
Purpose: The purpose of this document is to illustrate how to use Microsoft Dynamics AX 2012 Excel Add-in for import of vendor 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 forming…
Microsoft Dynamics Ax
Dynamics AX 2012 Data Import using Excel Add-in: Dynamics AX 2012 Excel Add-in – Customer transactions import
by Bo Jensen •
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…
Microsoft Dynamics Ax
Dynamics AX 2012 Data Import using Excel Add-in: Dynamics AX 2012 Excel Add-in – Storage Dimensions
by Bo Jensen •
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…
Microsoft Dynamics Ax
Create/Delete Customer using AIF Service Class in Dynamics AX | Santosh Ramamurthy AX Blog
by Bo Jensen •
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.
Microsoft Dynamics Ax
Compile and CIL Generation errors when reporting extensions is not installed
by Bo Jensen •
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’.
Microsoft Dynamics Ax
Microsoft Dynamics AX: Duplicate type with name in assembly
by Bo Jensen •
Duplicate type with name in assembly XX Sometimes we need to delete and recreate the service, we might face some issues with duplicate type error. Here is the solution:
Microsoft Dynamics Ax
Create batch job through X++ code ~ IT Pro Ramblings
by Bo Jensen •
If you need to execute code in batch, here is an example of how to add a batch job for the corresponding RunBaseBatch class.
Microsoft Dynamics Ax
Dynamics Ax Internals: Basic Address Book structure in Ax2012
by Bo Jensen •
This is a quick overview of the main tables involved in the address book functionality of Ax2012.In Ax2009, the integration between the address book and ‘entities’, like customers, suppliers, etc was a bit flaky. This has been tightened up in Ax2012 so that now the address book has a much more important role in maintaining…
Microsoft Dynamics Ax
How to Assert multiple file IO permission
by Bo Jensen •
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
Microsoft Dynamics Ax
Mukesh Hirwani – Dynamics Ax: Creating Vendors thru X++ in AX 2012
by Bo Jensen •
Here are come methods for all steps of creating new vendors in Ax2012 from dirparty to logistic and electronic addresses.
Microsoft Dynamics Ax
InventTrans Marking in Ax 3.0 via X++
by Bo Jensen •
How do you mark 1 line to another using AX 3.0 in X++? I’ve looked through the code using the inventMarking form but can’t quite get it to work via coding. Basically in all my coding examples, the findMovement function within the updateTmpMark doesn’t get called (since I somehow don’t have an _inventTrans). With the…
Microsoft Dynamics Ax, SQL Analysis Services, Business Intelligence
Setting up scheduled processing of cubes in AX2012
by Bo Jensen •
Here is a quick guide on how you can easily and quickly setup scheduled processing of the cubes for Microsoft Dynamics AX 2012. The same approach works for other Analysis Databases, but sometimes it helps to put things in context in order to make it easier for you AX geeks out there.
Microsoft Dynamics Ax
Simple Steps To Create Number Sequence In Ax2012
by Bo Jensen •
Today i want to describe about how to create number sequence in AX2012 It is same as like as we know in Ax2009 but small steps is added in AX2012.don’t worry just follow the below steps simply we will get number sequence in AX2012.