Update all XML element nodes in an XML field of a SQL table
I wrote an electronic invoicing solution for Dynamics GP a long time ago. The XML invoices of various formats are stored against the invoice number in the database. The column was upgraded to XML type...
View ArticleException.ToString() and capturing inner exceptions
It is often worth going back to basics, it turns out quite a few people don’t realise that calling “.ToString” on an exception object in .NET, will provide a nicely formatted output suitable for...
View ArticleWord Template reports format messed up when rendered to PDF
Dynamics GP2015 Word PDF Alignment wrongAfter upgrade to GP2015 it was found the modified reports using Word Templates screwed up when sent to email as PDF.After a week of investigation and following...
View ArticleHow to check if MS SQL Server, Linked Server object is in use
Linked server objects allow one SQL server to connect to another at the database engine level. A connection is defined when creating the linked server, with credentials that should be used for that...
View ArticleList of Warehouse Management System (WMS) like software for Microsoft...
Generally I think of a warehouse management software as being 3D space aware, so it will have a geographical map of the warehouses and the spaces inside those warehouses. This allows for automation of...
View ArticleAdding items to list boxes in native Dynamics GP forms using visual studio...
List boxes, Drop down lists, Combo Boxes can be added using modifier to Dynamics GP forms, but they are not supported for .NET access from visual studio addins. For example, adding list items to list...
View ArticleDynamics GP Conferences–which should I attend?
No matter how you interact with Dynamics GP, as a consultant, end user or software vendor, attending conferences is a vital element to keeping engaged with the product, alerting you to chances, what is...
View ArticlePrevent “Service has been marked for deletion” while installing windows services
A reminder, if the above message is encountered when installing a windows service after removing a previous version, then Close all instances of Event Log viewerClose all instances of Services MMC...
View ArticleRunning SumatraPDF from windows service
I can use Sumatra to print PDF from a windows service but the printer must be installed for the user the service is running as. If the user running the service does not have access to the printer,...
View ArticleReconcile Dynamics GP inventory -at the speed of light*
*well almostReconcile routines in Dynamics GP check that related data in the system is kept in sync. They total up summary and related information and check all the numbers are correct over all the...
View ArticleDetermining when inventory reconcile is running in Dynamics GP
If like me you find yourself writing a lot of integrations with Dynamics GP, then you will know that you really should not be messing with data related to inventory whilst the inventory reconcile is...
View ArticlePrefix “B:” in Dynamics GP script logs
When logging operations to script log in GP, sometimes I see “B:” prefixing sections of the script log. Out of curiosity I asked the community what the B: represents. David Musgrave kindly let me know....
View ArticleGet the System Database name for Dynamics GP
To get the system database name (used to be known as the DYNAMICS database) from any GP company, use the following SQL:SELECTTOP 1 DBNAME FROM SY00100 (NOLOCK)When issued in the context of a company...
View ArticleIs eConnect Integration Service Multi-threaded?
Personally I have not experienced performance issues with eConnect, so the question to as if the integration service is multi-threaded or now had not crossed my mind before, so here are my thoughts so...
View ArticleAlternative way to “open command prompt here”–windows hint
I was shown this at an MSDN event and use it regularly since. You can open a CMD prompt at the current location from windows explorer, simply by typing in the folder address bar, then hit...
View ArticleSQL bucket filling example permalink
I’m frightened that one day this sample disappears, its from a SQL Server Central.com thread, Filling Bucketsoriginally posted by “ChrisM@work.”-- Originally from: --...
View ArticleWinDirStat
Reminder to self: WinDirStat is a great way to visualise your storage use on a drivehttp://windirstat.sourceforge.net/
View ArticleIIS Information Manager Microsoft.Web.Configuration.AppHostFileProvider could...
If you have this error when clicking on a site or app pool in IIS manager, ensure you are launching the correct version! Using Start menu search and clicking 7 by habit or not paying attention, rather...
View ArticleUsing Excel to dynamically generate flexible SQL script, fast
Sometimes there is a need to quickly “hack” some SQL for updating many records. Using Excel as a tool to do this allows the power of Excel formulas and filtering to achieve quick generation of SQL....
View ArticleGP2016 new feature - Visual Studio SDK Project Template support for VS2015
I blogged about Visual Studio 2015 & Dynamics GP Addin Project Templates “install” in a previous post, but thankfully GP2016 Visual Studio SDK brings the installer of the Dynamic GP Add-In project...
View Article