#SBA: Debugging Dexterity Service Procedures in Service Mode


David Meego - Click for blog homepageLast week, I mentioned an issue with running code in Service Mode which was related to Visual Studio Tools code failing to run. I have also seen other issues where Dexterity code fails to run, both in my products and also with other developers that I am providing consulting services to.

If you ask Microsoft for help, they will probably tell you to test in Desktop mode by either creating a test window or by hi-jacking a button with a trigger script to call your service procedure. The big problem is when the code works perfectly every time in Desktop mode and fails every time in Service mode.

Continue reading

#SBA: Getting Visual Studio Tools Addins working in Service Mode


David Meego - Click for blog homepageI recently had issues with one of my products and need to share the cause of the issue and the solution with the Microsoft Dynamics GP development community.

I made changes to all my products late last year, introducing a new registration system. The code uses Visual Studio Tools for Microsoft Dynamics GP addin DLLs written in Visual C# to handle all the communication with the appropriate registration server.

Continue reading

Calling Service Enabled Procedures from Visual Studio Tools and Dexterity


David Meego - Click for blog homepageWith the addition of Service Based Architecture (SBA) into Microsoft Dynamics GP 2015 and later, Dexterity global procedures can be marked as Service Enabled.

This allows a Dexterity global procedure to be a Service procedure which is exposed as a REST based web service via Service Base Architecture.

Continue reading

#BPST Batch Posting Service Toolkit build 7 released


David Meego - Click for blog homepageI am pleased to announce that the next build of the Batch Posting Service Toolkit for Microsoft Dynamics GP (BSPT) is now available for download.

The Batch Posting Service Toolkit provides service procedures to retrieve a list of Batch Numbers for a specified Batch Source and to post the batch for a specified Batch Source and Batch Number.

Use the tool to post newly integrated transaction batches real time using calls from Dexterity, Visual Studio Tools or as a Service Based Architecture (SBA) Web Service (for v14.0 or later).

Continue reading

#BPST Batch Posting Service Toolkit build 6 released


David Meego - Click for blog homepageI am pleased to announce that the next build of the Batch Posting Service Toolkit for Microsoft Dynamics GP (BSPT) is now available for download.

The Batch Posting Service Toolkit provides service procedures to retrieve a list of Batch Numbers for a specified Batch Source and to post the batch for a specified Batch Source and Batch Number.

It is designed to be used to post newly integrated batches of transactions real time and can be called via Dexterity, Visual Studio Tools or as a Service Based Architecture (SBA) Web Service (for v14.0 or later).

Continue reading

SBA is not as Asynchronous as you might think


David Meego - Click for blog homepageService Based Architecture (SBA) was released with Microsoft Dynamics GP 2015, it covers technologies to make Dynamics GP more accessible to external applications by allowing Dexterity global procedures to be exposed as Web Services. It also allows Dexterity code to directly access and use .Net objects via the .Net Interop.

SBA opens up an entire new world of development opportunities.

Continue reading

SBA environment might not match Dynamics GP environment


David Meego - Click for blog homepageWhile testing Batch Posting Service Toolkit (BPST), a customer identified an issue with Inventory Posting.

When an inventory batch was posted from the Microsoft Dynamics GP client it would post to the General Ledger, however, a similar batch posted via Web Services and Service Based Architecture it would fail to post to GL.

Continue reading