Download presentation
Presentation is loading. Please wait.
Published byAmanda Hill Modified over 9 years ago
1
#GPUGSummit | #INreno15 #GPUGSummit USING GP POWER TOOLS TO WRITE CUSTOM WEB SERVICES FOR MICROSOFT DYNAMICS GP David Musgrave MVP Managing Director, Winthrop Development Consultants Mariano Gomez MVP Senior Software Engineer, Mekorma
2
#GPUGSummit | #INreno15 Introductions History of GP Power Tools Service Based Architecture GP Power Tools and its Services implementation Demonstration Q & A 2 AGENDA
3
#GPUGSummit | #INreno15 Managing Director of Winthrop Development Consultants Microsoft Dynamics GP Most Valuable Professional (MVP) Worked with Microsoft for 13 and a half years Lives in Winthrop, a suburb in the city of Perth Where is Perth, Western Australia? 3 DAVID MUSGRAVE
4
#GPUGSummit | #INreno15
6
Senior Software Engineer at Mekorma Microsoft Dynamics GP Most Valuable Professional (MVP) Lives in Atlanta, Georgia, USA Born on a small Colombian island off the coast of Nicaragua Where is San Andres Island? 6 MARIANO GOMEZ
7
#GPUGSummit | #INreno15
9
Introductions History of GP Power Tools Service Based Architecture GP Power Tools and its Services implementation Demonstration Q & A 9 AGENDA
10
#GPUGSummit | #INreno15 Support Debugging Tool (SDT) initially created in August 2006 Publically released in September 2008 Last release was Build 19 in September 2014 (Day before losing job) Discontinued when David Musgrave left Microsoft in October 2014 Negotiations with Microsoft for exclusive rights finalized in March 2015 Renamed to Winthrop Development Consultants’ GP Power Tools (GPPT) Release Build 20 for GP 2010, GP 2013 and GP 2015 in August 2015 Distributed and Supported worldwide by Mekorma 10 HISTORY
11
#GPUGSummit | #INreno15 Introduced with Microsoft Dynamics GP 2015 (Version 14.0) – Service Enabled Procedures and.Net Interop Service Enabled Procedures – Dexterity Global Procedures with Metadata to expose them externally as REST (Representational State Transfer) based web services – Allows external code to directly call Dexterity based business logic .Net Interop – Enables Dexterity sanScript code to re-use.Net objects with their methods and properties – Allows Dexterity code to directly call and use.Net objects 11 SERVICE BASED ARCHITECTURE
12
#GPUGSummit | #INreno15 GP Power Tools has five Service Enabled Procedures – ServiceCreateCustomCreatePOSTin – ServiceDeleteCustomDeleteDELETEin – ServiceGetCustomGetGETin & out – ServiceUpdateCustomUpdatePATCHin – ServicePostCustomCustom*POSTin & out – * Must include Custom action definition: GP-Custom-Action=Post 12 GP POWER TOOLS SERVICES
13
#GPUGSummit | #INreno15 One parameter is passed with URI – When calling the web service, there is a string parameter for Script ID The additional parameters as Payload – The input parameter is a collection of strings: List – The output parameter (for Get and Post) is also: List – The Status returned is a Short The data contained on each line of the collection must be defined – For Example: Line 1 = Customer Number – Line 2 = Customer Name 13 GP POWER TOOLS PARAMETERS
14
#GPUGSummit | #INreno15 The Script ID passed into the service specifies a Runtime Execute Script ID to be run when the service is called. – The Runtime Execute window populates with a template script when the Custom Script Purpose for one of the Services is selected The.Net collection of Strings: List are converted to Text fields – To make the script work with Runtime Execute, the payload in and out are converted to Text fields where each String in the collection is a line in the Text Field. – The template script handles the parsing of the Text field. 14 GP POWER TOOLS SERVICE IMPLEMENTATION
15
#GPUGSummit | #INreno15 While the template scripts for the five services provide example code, the actual functionality can be completely user defined. – The Runtime Execute scripts can perform any action possible within the system The scripts can use Helper Functions to run other scripts – You can run scripts created with Runtime Execute (Dexterity), SQL Execute (Transact-SQL) or.Net Execute (C# or Visual Basic.Net) The scripts can use the Helper Functions to pass parameters – The Helper Functions can be used to pass values or scripts can be modified after they are loaded and before they are executed 15 GP POWER TOOLS SERVICE SCRIPTS
16
#GPUGSummit | #INreno15 Going to use Services to create, update, get and delete a customer Tweet using #GPPT #MSDYNGP #GPUGSummit 16 GP POWER TOOLS DEMONSTRATION
17
#GPUGSummit | #INreno15 DEMONSTRATION
18
#GPUGSummit | #INreno15
19
GP Power Tools Portal http://WinthropDC.com/GPPT GP Power Tools Product Pages http://winthropdc.com/products_GPPT.htm http://www.mekorma.com/products/gp-power-tools.aspx 19 GP POWER TOOLS LINKS
20
#GPUGSummit | #INreno15 David Musgrave’s Winthrop Development Consultants Blog http://www.winthropdc.com/blog The Microsoft Dynamics GP Blogster blog (by Mariano Gomez) http://dynamicsgpblogster.blogspot.com/ Developing for Microsoft Dynamics GP Blog – retired (by David Musgrave & the Developer Support Team) http://blogs.msdn.com/DevelopingForDynamicsGP/http://blogs.msdn.com/DevelopingForDynamicsGP/ or http://aka.ms/Dev4DynGPhttp://aka.ms/Dev4DynGP 20 LINKS
21
#GPUGSummit | #INreno15
22
QUESTIONS? Contact: david@winthropdc.com & mariano@mekorma.comdavid@winthropdc.commariano@mekorma.com
23
#GPUGSummit | #INreno15 Main Topic 1: Size 22pt – Subtopic: Size 20 pt Main Topic 2: Size 22pt – Subtopic: Size 20 pt Main Topic 3: Size 22pt – Subtopic: Size 20 pt 23 HEADER TEXT: SIZE 30PT
24
SECTION TITLE
25
QUESTIONS? Contact: xxxx@xxxx.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.