by Vjekoslav Babic on May 17, 2012
.NET Framework is full of programming conceptual gems, that are now at the fingertips of us poor C/AL folks. One of those is generics. However, the C/AL support for generics at the first glance seems rather limited, and the help file says that you can’t specify data types, and that all generics will be instantiated with System.Object as their type.
However, with Microsoft Dynamics NAV 2013, there is a very simple way which allows you to use generics with other data types, as well. So, if .NET Framework Interoperability interests you a slightest bit, here’s a solution.
The example below will be for the System.Collections.Generic.Dictionary<,>, and I will show how to use instances of the Dictionary<,> object with any desired data type, without having to pull in any external assemblies.
[click to continue reading…]
by Vjekoslav Babic on May 17, 2012
你好,世界!გამარჯობა, მსოფლიო! હેલો, વિશ્વ! مرحبا، العالم! שלום, עולם! नमस्ते, दुनिया! こんにちは世界 ಹಲೋ, ವಿಶ್ವದ! 안녕하세요, 세계! Γεια σου, κόσμε! Привет, мир! வணக்கம், உலக! హలో, ప్రపంచం! สวัสดีโลก!
No, no, I didn’t go fully crazy yet, but I’m surely closing in. Maybe it’s not at all such a big deal as I see it, but the new Unicode support in Microsoft Dynamics NAV 2013 is just blowing my socks off. After a quarter century of being tied to a single code page of choice, NAV has finally been freed of it’s single byte per character legacy.
[click to continue reading…]
by Vjekoslav Babic on May 14, 2012
I don’t know about you, but I think today is a great day: Microsoft Dynamics NAV 2013 Beta has been published on PartnerSource, and if you have access, you can download it from here.
I’ve been playing around with CTPs for more quite a while, and even though I can’t share any specifics, I can assure you: this is definitely the best release ever, technically, architecturally, functionally and from business value perspective. Whatever angle you take – this release is massive.
I believe I don’t exaggerate if I say that 2013 brings more news in comparison with 2009 R2, than 2009 brought in comparison with 5.0 SP1.
If you want to check more about what exactly is new, I suggest you read the white paper and accompanying documentation at the NAV 2013 launch portal, and I hope the MVPs soon get the clearance to blog about specific features. There are just so many fantastically exciting to-dos for this blog, about NAV 2013, that I’ll probably eat my fingernails – heck, the whole fingers! – in anticipation to be able to start.
by Vjekoslav Babic on March 3, 2012
It’s the fourth year of DynamicsWorld’s Microsoft Dynamics Most Influential People Top 100 list, and it’s the nomination time. Last year I’ve somehow found my way onto this list (and I certainly didn’t nominate myself), and it seems somebody has nominated me this year too (and again, it wasn’t me).
Now, I don’t want to influence you to put me on this list in 2012 again, but if you think I deserve it, I’d appreciate if you took time and voted for me. You can do it by sending an e-mail to top100@dynamicsworld.co.uk, tweeting my name with #dwtop100 hash-tag, commenting on Facebook, or posting on LinkedIn. Or you can do all of the above 
Even though there is a lot of criticism of this list, it is still an indicator of person’s standing in the Dynamics community. I’ve heard people say “I don’t have a clue who this or that" is” on the list, but that’s hardly a valid argument. The list doesn’t differentiate between CRM or ERP, let alone between different flavors of ERP, so of course not everybody will know everybody, and I also don’t have a clue who half of the list is, but still I bet they deserved to get there.
So, show me your support for my blog and my work in the Dynamics community by voting for me! Thanks in advance!
by Vjekoslav Babic on February 22, 2012
Passing strongly-typed data to NAV Web services can be trickier than it seems. If you are lucky, you can make your method accept strongly-typed parameters, and you are good to go. However, if you just can’t avoid sending text data, your text must be encoded in EN-US format, otherwise it will cause problems (see this).
What the heck, just encode the data as EN-US, right? Not quite. There are a myriad of reasons why data can come in non-EN-US encoding, one of which is this: it’s the Web services, for Pete’s sake – anyone or anything can call them.
[click to continue reading…]