SendKeys doesn’t work in BSL customizations in Dynamics SL 2015

An upgraded BSL (Basic Script Language) customization that used SendKeys displayed System Message 10058 “Basic Script Language execution error 5 – Illegal function call” when the code reached the line with SendKeys in Dynamics SL 2015. SendKeys was used correctly and the customization worked fine in the previous version. It still appears in the BSL documentation for Dynamics SL 2015, but the interpreter calls it an “illegal function” now. The resolution, in this case, was to “upgrade” the customization to... Continue reading →

Solomon Object Model Error 7579

This isn’t documented anywhere that I could find, so I thought I’d do that here. When running an application that used the Solomon Object Model (SOM) to automate a screen in Dynamics SL, I received Dynamics SL error 7579 when calling StartAppAndAutomate(). The function did not return a reference to the application. The problem was that the Microsoft.Dynamics.SL.ObjectModel.dll was not in the expected location, which is C:\Program Files (x86)\Common Files\Microsoft Shared\DynamicsSL. I copied it from the \SL\Applications\WRKSTN\Common folder to the... Continue reading →

Accessing Data with F# Type Providers

That’s the title of a Pluralsight course by Tomas Petricek that I happened to see under “Newest” this evening. It was published today! I started watching it and am really enjoying it. As the course begins, Tomas articulately makes a business case for using F#, drawn from his book F# Deep Dives. When I Googled it to double-check the title, the hyperlink was to the book on Jet.com, a new competitor to Amazon built with F#. I’d highly recommend the... Continue reading →