Skip to main content

Posts

Showing posts from March, 2012

Mental note to self: AIF changes -> Incremental CIL build.

After using a couple of hours trying to understand why my newly created AIF-service was not doing exactly was it was supposed to do, I found the solution. My AIF service uses a new table to accept some value from an external system. When a record is introduced into this table, a new ledger journal with a ledger journal line is created, and the voucher the line gets in the journal line, is updated onto my new table. This to allow for making it possible to use customized code in an AIF service, without having to make changes to the table methods of the Generel ledger journal tables and without risking custmized code made in the Service classes being overwritten by a service wizard update of the service. I had completed and activated my service, and was testing it. Then I discovered that I had forgotten to call the code to create the ledger journal, on my new table's insert-method, therefor I got records in my table, but no ledger journal. So I quickly inserted the call to t

Dynamics AX 2012 annoyances (for (old school) developers).

Dynamics AX 2012 annoyances (for (old school) developers). Sorry about the parathesis. Having worked with Dynamics AX 2012 way back when it was called Axapta, I remember the days where the IDE had not undergone the Microsoft transition of being more Visual Studio like. And I long for some of the features I had back then. Now don't get me wrong I am all for the new possibilities the new IDE and editor gives a developer, but I wish that not all of the nice features we had in the old IDE had been removed in the new one. Keeping in mind that I will be sounding some of my customers, when they get a brand new AX installation: "That was possible in our old system!". ;0) Inspired by http://www.annoyances.org/  I decided to blog a little about the annoyances I have found working with Dynamics AX 2012's new IDE. So the annoyances I have encountered until now are: No "New form from template" in code projects The new feature that I expect is there to he
Mental note to self: In Dynamics AX releases prior to 2012 to get the company currency you could do: CompanyInfo::find().CurrencyCode; In 2012 however you would do: Ledger::findByLegalEntity(CompanyInfo::find().RecId).AccountingCurrency