My apologies.
I recently discovered that I have not been attending my mail box blog@fasor.dk. My sincerest apologies to everyone who have written to this mail box and gotten no answer. The mail box is now set up on...
View ArticleFinding the cause of an incremental CIL-build error
I learned something new from one of my colleagues today, which is always nice.I have often been irritated by the Dynamics AX 2012 CIL-builds ability to be uninformative.The incremental CIL-build does...
View ArticleFaster compilation for AX2012 - nice
http://blogs.msdn.com/b/axtools/archive/2013/11/04/parallel-x-compilation-for-microsoft-dynamics-ax2012-r2-in-cumulative-update-7.aspx...
View ArticleA little extension for diagnosing tax code combination errors
In Dynamics AX 2012 if General Ledger module is setup to validate Check sales tax by entering either "Warning" or "Error" in the "Check sales tax groups" field, then Dynamics AX will throw an error...
View ArticleShow elements in a model from the ABOUT Dynamics AX form
Being in a situation where I needed to determine if a certain AOT-element was included in an installed model, I wonder why Microsoft didn't link the form showing installed models (Help / About...
View ArticleDynamics AX 2012 ValidTimeState tables and form changing view from current to...
Valid Time State tables are new i AX 2012 a gives the developer the possibility to easily create tables that hold e.g. current setup data for various purposes, and at the same time keeping a "history"...
View ArticleDynamics ax 2012 traversing selected records in a form data source
A classical developer challenge in Dynamics AX is to enable a form button when multiple records have been selected in the form by the user.This usually involves writing some form of loop (for or while...
View ArticleDynamics AX 2012 R2 - Export to Excel command button
Today I had some trouble getting a normally simple thing to work in an AX form.The form consists of to synchronized grids, and the user wanted an "Export to Excel" command button, so the active grid...
View ArticleReturning a weeknumber from the standard calendar lookup form
A customer had a requirement for setting a week number for approximate delivery of purchased goods on shipment as an indication for the sales department of when the goods will be arriving.An integer...
View ArticleForcing the Name field of a salesline to be synchronized to the purchline...
Using non-stock items in the daily business can be handled in Dynamics AX 2012 by using Direct delivery.You can use the Button "Direct delivery" from a sales order you have created, to create a...
View ArticleCalculating easter sunday in different ways
Once a long time ago I found an interesting document on the inter web, describing different calendar systems. From that I made a php-class for my website that can calculate easter sunday in the...
View ArticleDynamics AX 2012 AOT add-in copying field list to clip board
Before Dynamics AX 2012 and the new editor which makes things a bit more Visual Studio like, we had some features in the AOT, that are gone now but I miss.I *might* have rambled and raved about this...
View ArticleDynamics AX and project quotations in in .docx format
Just finished an assignment making a tool for Dynamics AX 2012R2 for creating project quotations in word, using AX data.The customer is an ETO company manufacturing production lines for...
View ArticleToggling visibility of fields in a Grid in then preview Pane of a ListPage...
Tasked with hiding a specific field on the salesLine table in the sales order forms depending on the value of a field on SalesTable I searched for methods and came...
View ArticleDynamics AX 2009 Ressources grapchis
Here's how to get graphics stored in AOT as a ressource onto a report in Dynamics AX 2009.Do a display method with:display Bitmap companyLogo(){ return...
View ArticleQuickly setting up what the status bar will show for your user.
When documenting test or setup it is advantageous to show as many values in the status bar as possible (especially the AOS name and company accounts id and maybe date and time), to be able to show in...
View ArticleDynamics ax 2012 SSRS reports RDP Changing Query
I have used a bit of time this morning trying to figure out how to change the query in an RDP based SSRS report.I needed to change the report from using a query JmgPaySpecification to using the query...
View ArticleSSRS - D365 FO SAT-box annoyance
WHY oh WHY, does the developer-box not tell you, that you can not use custom code in an SSRS-report ?Working with a SSRS-report on Dynamics 365 FO, I came across the following annoyance, with...
View ArticleBe careful - only do extensions of a table, that actually contains augmentation.
Note to self.Be careful of creating extensions to a table, that contains no augmentation.I experience problems when opening the Released Products Forms on my developer box.I got a run-time error...
View ArticleSuppressing the infolog
Supressing the infolog is often useful in D365FO when augmenting code.When augmenting code using COC (Chain Of Command), you can have new code run either before or after the code you are...
View ArticleProcessGuide framework
I was tasked with developing a custom "process" for printing ad hoc labels in the Dynamics 365SCM WHS app.WHS process guide - development docsReading the great articles from 1clickfactory (starting...
View ArticlePlease upvote this idea for Visual Studio for Dynamics 365fo/scm
"When ISV solutions are installed as binary only, the current development tools does not support displaying delegate methods, and there are no interaction to copy the enventhandler method. Please add...
View ArticleThe troubles of extending/correcting a lookup doing a wrong filter when the...
Working in the WHS module a customer needed to be able to change the transport provider (carrier) and the provided service (carrier service) directly on the Shipment chosen in the pack form.This...
View Articlex++ great but sometimes weird and annoying ....
Preamble:This occurred running on Finance and Operations (Dynamics 365) - (Platform Update57) 7.0.6861.86 extension for Visual Studio.Historically the x++ langauge has not had great support for access...
View ArticleDebugging 365 using the info class
A good and often used trick to use when hunting down bugs is putting a break point in the info class in the method add() and examining the call stack when an error is thrown causing the add method in...
View Article