Summit Nashville /3/2019 1:48 AM

Slides:



Advertisements
Similar presentations
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Advertisements

GPUG ® Summit 2011 November 8-11 Caesars Palace – Las Vegas, NV The Accidental GP Administrator John Lowther.
GPUG ® Summit 2011 November 8-11 Caesars Palace – Las Vegas, NV Microsoft Dynamics GP Development Tools Ask The Experts: Presenter: Mariano Gomez MIS,
GPUG ® Summit 2011 November 8-11 Caesars Palace – Las Vegas, NV Going Beyond Dynamics GP Business Alerts John Lowther.
GPUG ® Summit 2011 November 8-11 Caesars Palace – Las Vegas, NV The Worst Mistakes You Can Make With Dynamics GP Mark Polino - I.B.I.S., Inc. John Lowther.
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
Master Data Management & Microsoft Master Data Services Presented By: Jeff Prom Data Architect MCTS - Business Intelligence (2008), Admin (2008), Developer.
Implementing Multicurrency in an Existing Dynamics GP Environment Rod O’Connor 20-NOV-2014.
Month & Year-End Closing At Its Best Presented By: Zubin Gidwani, Founder, Dynamic Budgets Prepared By: Bob McAdam, Vice President of Finance Dynamic.
Database Fundamentals – Part 1
BEST PRACTICES FOR DYNAMICS NAV ADMINISTRATION AND SECURITY Per Mogensen.
Using abstract data layers in Microsoft SQL Server Speaker:Uwe Ricken (db Berater GmbH)
Reporting in Microsoft Dynamics GP
Using credit cards in Dynamics GP
Presented by Tami Tyner
GP Double JEOPARDY! Click Once to Begin
Dynamics GP – You Own It … Why Not Use It? Financial November 8, 2016
Planning your dynamics gp year end for 2016
Welcome! Microsoft Dynamics gp user Group (Gpug)
Preparing for a successful upgrade
Stop the madness - How to balance to the GL
Dynamics GP – You Own It … Why Not Use It
Reporting solutions examined: Jet Express
Database Fundamentals – Part 2
Presented by Sheri Carney – The Resource Group
Welcome! Microsoft Dynamics GP User Group (GPUG)
Best Practices for Dynamics NAV Administration and Security
Cleveland SQL Saturday Catch-All or Sometimes Queries
Welcome! Microsoft Dynamics GP User Group (GPUG)
Deploying ArcGIS for Water
Dynamics GP – You Own It … Why Not Use It? Reporting December 13, 2016
GPUG Summit 2017 Nashville, TN
PSTL Toolset A Dynamics GP Admin's Dream
Interview Tips Chris Shaw
Welcome! Microsoft Dynamics GP User Group (GPUG)
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
When It's Time To Purge Data
Solving the Hard Problems
Welcome! Microsoft Dynamics gp user Group (Gpug)
SQL Saturday Pittsburgh
GPUG All Star; Dynamic Communities
22-INTEGRATION HUB
HTML5 Web Client What Works (and What DOESN’T) Chris Dobkins, Njevity
Summit Nashville /28/2018 8:42 PM
2017 Year End Best Practices
Welcome! Microsoft Dynamics gp user Group (Gpug)
WELCOME! Microsoft Dynamics CRM User Group
Implementation Specialists Presents
Summit Nashville /16/ :21 PM
Principles of report writing
SAP R/3 Data Archiving with PBS as Retrieval Method
Making PowerShell Useful
Kelly Kane, Microsoft Business Applications MVP
Please thank our sponsors!
Welcome! Microsoft Dynamics gp user Group (Gpug)
PowerShell & PowerBi Reducing DBAs Context Switching
Making PowerShell Useful
DAT381 Team Development with SQL Server 2005
Your code is not just…your code
SQL Server Management Studio Tips and Tricks
Excel-Based Information Management
McGraw-Hill Technology Education
Summit Nashville /26/2019 4:32 AM
2018 Year End Best Practices
New York-Rochester CHAPTER MEETING
Shawn Dorward – InterDyn Artis
Professional Services Tools Library (PSTL)
How to Use the Participant Directory
Posting Settings in DYNAMICS GP
Your code is not just…your code
Presentation transcript:

Summit Nashville 2017 4/3/2019 1:48 AM © 2017 Dynamic Communities. All rights reserved.

Integration using only SQL Code Summit Nashville 2017 4/3/2019 1:48 AM Integration using only SQL Code John Lowther Cloud Applications Administrator © 2017 Dynamic Communities. All rights reserved.

General layout for this session. Summit Nashville 2017 4/3/2019 1:48 AM General layout for this session. A little information about me. A little information about you. Information about this session. Agenda Q&A © 2017 Dynamic Communities. All rights reserved.

John Lowther Summit Nashville 2017 4/3/2019 1:48 AM © 2017 Dynamic Communities. All rights reserved.

John Lowther Cloud Applications Administrator – Njevity, Inc. Summit Nashville 2017 4/3/2019 1:48 AM John Lowther Cloud Applications Administrator – Njevity, Inc. Microsoft Business Solutions MVP & GPUG All Star Member of the Association of Dynamics Professionals Chairman on the GP Installation and Configuration Exam Committee GPUG Member – Serving on the Planning and Programming Committees Member of the Professional Association for SQL Server (PASS) Dynamics Credentialed Professional Blogs: Microsoft Dynamics GP DBA | Microsoft Dynamics GP Administrator Working with Dynamics GP over 10 years, Database Administrator (DBA) over 15, Developer over 20 © 2017 Dynamic Communities. All rights reserved.

Who are all you people anyway? Summit Nashville 2017 4/3/2019 1:48 AM Who are all you people anyway? How many GP users are here? How many partners are here? Any none GP people here? How many IT people are here? Any none IT people here? © 2017 Dynamic Communities. All rights reserved.

Description Learn the tips & tricks to integrate information in and out of Microsoft Dynamics GP using just T-SQL code.

Objectives Learn the rules and requirements to use SQL Code to get data into and out of GP. Discover a method to find out what tables to write to and which tables you should never write to. Learn how to know that your integration is actually right.

Disclaimers If there is another way to integrate data into GP USE IT! If you are not willing to have a Development Environment, a Test Environment, in addition to your Production Environment. Do not do this!

Disclaimers You must be willing to use Profiler. You must be willing to use Check Links. Realize Check Links is your friend!

Disclaimers If you are expecting me to give you code NOT GOING TO HAPPEN! If you just have to see a Profiler running. If you just have to see a GL Transaction.

Knowledge of Microsoft T-SQL, Prerequisites Knowledge of Microsoft T-SQL, Stored Procedures, Triggers, Setting up SQL Jobs, SQL Server Profiler, Data Warehousing

Agenda Other “Things” ? Method to determine which tables and fields Why just T-SQL? How to approach the concept Things you need before you get started Method to determine which tables and fields Resources When all else fails

Agenda Getting Data out of GP Getting Data into GP Questions & Answers Types of Data Entry “The" Process Questions & Answers

Other “Things” ? Why just T-SQL? There is not an Add-On Product for what you want to do. Maybe there is BUT your company does not have it. Maybe you just dream T_SQL and want to  It is faster execution time because it is straight to the database there is no abstraction layer to go through like all the other solutions.

Other “Things” ? Why NOT? It is the fastest way to DESTROY Microsoft Dynamics GP that I can think off including deleting the databases with no backups.

Other “Things” ? How to approach the concept Rephrased: Know when to say NO! Consider everything you are doing as automating a manual process. Therefore, if you do not have a manual process you cannot automate it. If you cannot do something via the Interface – DO NOT DO IT IN SQL! Examples: Delete Master Pay codes that have been assigned to Employees Change an entry in any of the modules after they have been posted

Other “Things” ? Time! Take lots of Notes: TEST SYSTEM! Things you need before you get started Time! Take lots of Notes: Lots of Paper, Colored Pens, White Board, Dry Erase Markers TEST SYSTEM! LOTS OF TESTING! Know how to do what ever it is you are going to automate MANUALLY

Which tables and fields Method to determine which tables and fields Resources Information flow and posting and other books Various Blogs SDK (The last time I checked) When all else fails MICROSOFT SQL SERVER PROFILER NOTE: Never write to a WORK TABLE! Never write to a Summary Table!

Getting Data out of GP Smart List Views Connection Strings of Excel Refreshable Reorts Connection Strings of SQL Reporting Services Reports Write to Warehouse Tables Write to CSV Files

Getting Data into GP Realize there are two types of data entry! Single record entry/change only. Example Employee Last Name Batch Record entry. In Batch Record entry you are creating a batch/group of records that Microsoft Dynamics GP will later process in some manor. Write only to the Batch entry tables just like the interface! NOTE: Never write to a WORK TABLE! NOTE: Never write to a Summary Table!

Getting Data into GP The Process Setup SQL Profiler Setup your Dynamics GP Starting Point Start SQL Profiler Run your manual process Stop Profiler STUDY THE RESULTS!

Getting Data into GP Check out all the Stored Procedures in the Results If you can use a GP Stored Procedure then do so. If not get ready for maintenance as new versions come out. But keep in mind that you are looking for SPEED! Sometimes you may just want to do things backwards Example: Code Time  Then TEST, TEST, TEST, TEST, TEST

SQL CODE AHEAD Time to take a sneak peak at some code!

When are you Done? When are you really done, until the next update, SP? When you can manually create some records and import some records, then go into the database and can not tell which records came from where.

John Lowther Cloud Applications Administrator – Njevity, Inc. Summit Nashville 2017 4/3/2019 1:48 AM John Lowther Cloud Applications Administrator – Njevity, Inc. Contact Information: Twitter: @jlowther JohnLowther@Hotmail.com Jlowther@Njevity.com Cell: (601) 842-5462 © 2017 Dynamic Communities. All rights reserved.

Last Reminders Complete Session Survey Summit Nashville 2017 4/3/2019 1:48 AM Last Reminders Complete Session Survey What did you think of this session? We value your feedback in our efforts to continuously improve, please complete the session survey in the app or online at: www.gpugsummit.com/surveys Session Materials The session materials can be found in the app or online in the event community library at: www.gpugsummit.com/materials Thanks and Have a Great Conference! © 2017 Dynamic Communities. All rights reserved.

Summit Nashville 2017 4/3/2019 1:48 AM © 2017 Dynamic Communities. All rights reserved.