Skip to main content

Posts

dll reference missing or XML namespace error–when using TFS

I don’t have a proper title for this blog post. But hopefully it helps someone when they google it. When you use TFS for your development you may get weird compile errors where c# code can not be referenced. Namespace error. Or visual studio projects won’t open because of XML namespace issue. below is the error you get if you are trying to Edit a visual studio analysis project from the AOT. The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns=" http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  C:\Users\munib\Documents\TFSAXDaxeam\Andromeda\Trunk\AX\EAM\Visual Studio Projects\Analysis Services Projects\Daxeam\Daxeam.dwproj I did some digging around and found that the ProjectTypeGUID is blank. A GUID is not assigned to it. Each of th...

Data import export framework–Import sales order

You will notice if you try to import sales lines using the DIEF you will notice that the inventory transactions are not created. With some minor configuration changes you can get it working. Go to the Target entities and click on the Mapping details. Then on the SalesQty fields change the sequence to 100. So, it is the last field updated and also tick the “Call modifiedField method” flag. See the the result. This is based on AX 2012 R2 CU6. I haven’t tested this with the latest.

AX and Scrum: Story

I have posted previously on AX and Scrum this is just a continuation of my series. This post shall cover what a story is. A user story is a short description of what is needed. The main purpose of this is to be able to estimate the piece of work. Below is an actual story i have worked on. We could (should) have written this different. In scrum they teach you to write it in the perspective of the actor. For example: “As a work order user, I would like to create a work order and submit it to workflow. I would like to get alerts and notifications.” One thing we like to do in our team is set up Acceptance criteria's (those AC1 2 AC5 that you see in the screenshot). At the end of the day we use it to tell us a story is done. The next step for use once we have given it sized the story and accepted it into a sprint. We start putting some finer details. We break down the task. Our comment tasks that we use and to use to indicate a story is done are: Functional design – Doesn’t ha...

My first Dynamics AX 2012 Windows 8 App

I have recently created my first Windows 8 App and I thought I would write about my experience. My first starting point is to download this Starter Kit. Dynamics AX 2012 Windows 8 App Developer Starter Kit http://startwindaxapp.codeplex.com/ Then before you do this I would suggested you have a look at Martin’s blog. He has made some fixes. http://dev.goshoom.net/en/2013/03/ax2012-win-8-starter-kit/ Create a custom web service First task was to create a web service. I didn’t want to use a Document service. So, I created a custom service. I wont go through the details of creating a contract or anything but I will show what the method I need is. Create a windows 8 app With visual studio 2012 (latest update 3 installed) I created a new project of type Windows Store. This Grid view will create 3 *.xmal pages. See the screenshot below there is a preview on the right hand side. It shows a Grid view, a Group view, and a Item detailed view. This is where we call the web service to...

AX and Scrum: Automated testing

Scrum highly encourages you to do automated testing. A common thing I hear is “any (some) automated testing is better than none”. So, my advice is start somewhere. I am not going to go through all the detail of automated testing that we do but what I will cover is the Unit test framework . The unit test framework is in the MorphX IDE that allows you test your code. A click of a button you could run a whole bunch of automated tests. Below is a screen shot of an area we test heavily, our forecasting engine. The forecasting engine similar to master planning in standard AX. It recommends what work order should be done and when. eg. Every 100KM a service is required for your car. Or Every 6Month you do an oil change. Or on the 1st of of every month you do an inspection. All sorts of combinations. . Below is a simple test for testing calendar days. We document our test cases in a spreadsheet first. Writing what the input is and what the out come is. Then a developer writes a test suite o...

Bug: “The parameter pageUrl is missing or invalid” when importing web URL in AOT [AX2012 R2 CU6]

If you try and import a web URL in AX 2012 R2 CU6, you will get this error. Try it on any standard URLs and the bug is still there. For a work around put a backslash in front of the URL and it should work now. You could make a code fix but I think its best Microsoft fixes it. If you want to make the fix yourself then have a look at this method \Classes\sysEPWebPageDefinition\getPageUrl. It looks like it was introduced in CU6. You can even see the Microsoft bug number and what they tried to fix. They were trying to cater for leading backslash but ended up breaking it. I have logged it with Microsoft. I will update once I receive a response. Update 2013-10-03 - Hotfix was provided from Microsoft. KB Article Number (s) : 2894068   

AX and Scrum: Task board

I am going to talk about the task board today. A task board is used to keep track of our progress. On a daily basis we update how many hours we have remaining. Each swim lane shows the status of the task. Below is an example of my task board. This sprint below I was working on work order workflow. Each day on our daily scrum meeting we update the board on how many hours remaining for each task. On this board it is clear who has accepted the work. How many hours they have left and if the task is done. Multiple people can work on the same task.