DynDeveloper.com
Table Edits
Forum
Articles
0
0
0
Sign Up Now!
Log In
Home
Knowledge Base
The Dynamics GP Table Reference
Our list of the Dynamics GP Tables, their structures and relationships
eConnect
Our Tutorials, Code Examples
eConnect Schema Reference
Visual Studio Tools For Dynamics GP
How Tos
Tutorials
Most popular posts
Code Examples
Menus for VS Tools
SDK
Service Based Architecture
Tutorials, Code Examples
Kellerman Controls
Store, Examples, Support
APIs and Webhooks
Web Services
Help, code samples, resources
VBA/Dynamics Modifier VBA mods
Our VBA code library
Integration Manager
Tools for working with Integration Manager
SSRS
SQL (General)
SQL for GP
SQL for Beginners
.NET Development
Code libraries, How Tos, Tutorials
GitHub
Telerik Development
ASP.NET Menu
WinForms Menu
DevExpress
Dynamics GP
Dynamics 365
Extender
Tips and Tricks
SmartConnect
Mercury BI
Dynamics Report Writer
Management Reporter
And More
Microsoft Access
Our Favorite Posts
Sign Up
Ask A Question
More
Contact Us
Products We Recommend
Policies
Knowledgebase
Table Reference
eConnect Code
Telerik
ASP.NET
Winforms
SQL
General
For Dynamics
For Beginners
SSRS
Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP
can be found here
SOP Scripts
eConnect
taSopDeleteDocumentWrapper
taSopLineDeleteWrapper
taSOPLineIvcInsert Wrapper
taSopLineIvcInsertComponent
taSOPLotAuto - complete procedure
Functions
ddf_Address
ddf_AllHoldsOnASOPDoc
General
Getting Email addresses from Dynamics GP
Move a SOP transaction from open to history
Posting Sequences
SOP40200 'Allow' fields query
sopGetIDNumber
sopTrxDeleteWork
Unvoid a SOP document
Stored Procedures
dd_SOP10102_UPD
dd_SOPGetNextDocNumber/ sopGetIDNumber.
dd_SOPPayment_INS
dd_SOPRound - Round a SOP Multicurrency document to two decimal places
dd_SOPTotal
dd_SOPTotalTaxes
dd_taSopVoidDocumentWrapper
SQL Server General Index
About SQL Server
General
Automatically Run a Stored Procedure using a SQL job
My favorite SSMS Options
Optimization
Recovery Models
SQL Versions
Admin Tasks
General
Auditing - script to create an auditing table
Backing up SQL Express
Backup Database Tutorial (2008)
Backup Database Tutorial (2014)
Backup one database and restore to another in a script
Create a table on a linked server
Creating SSIS Packages from Visual Studio 2019
Decrypt a Stored Procedure
Grant permissions cursor
How to change the DB Collation for a Dynamics GP server
Logins - Drop multiple logins from all databases
Logins - Migrate from one SQL box to another
Orphaned users
Recovery Model for each Database on a Server (FULL or SIMPLE)
Renaming SQL Server
Restore Database Tutorial (2008)
Restore Database Tutorial (2014)
Run a script against all databases
Run a script against all Dynamics GP company databases
Set the Recovery Model for all Databases
Turn off SQL Compression
Monitoring SQL
Get the names and locations of SQL logs and database files
Monitor table space usage
Run DBCC CHECKTABLE against all the tables in a database
Space used for all tables
SQL Maintenance Queries
Truncate a SQL Log File
SQL 2005
SQL 2008 +
Truncate all Log Files in a Dataase
SQL 2005
SQL 2008 +
Beautifying T-SQL Code
DPRiver.com
Format-SQL.com
poorsql.com
tsqltidy.com
Configuring Email
Common errors when setting up email alerts
Setting up database mail on SQL 2008 R2
Setting up DB mail
sp_send_dbmail
Function Library
ddf_AddBusinessDays
ddf_Address
ddf_ClearNumericCharacters - Remove numeric characters from a string
ddf_FormatNumeric - formats a dollar value
ddf_FormattedQty - Formatted Quantities using DECPLQTY
ddf_GetLastDayOfMonth
ddf_PadRight
ddf_Phone
ddf_RegexReplace - Regex Replace function for SQL
Internal Helper Procedures
ddf_ColumnType
ddf_columnTypeVB
DDReservedWords
ddv_DALTableColumnMetaData
Script to create a Table from Stored Procedure parameters
Programming tasks
Calling a web service from SQL
Case sensitive SQL queries
Comma Separated Output
STRING_AGG SQL 2017 (14) or later
Definitive! Comma separated values in a query
Comma or Semicolon Separated Output
Comma separated detail from a sub table
ddf_PopPosOnAContract (comma separated list of children)
Parse a comma separated string into a SQL table 1
Parse a comma separated string into a SQL table 2
Connection String Example
Copy ANY TABLE from one database to another
Create (and restore a database to) a TEST server for app testing
Creating a date calendar table
Date Functions
Cast and Convert examples
FORMAT date examples (SQL 2012 and later)
Get the date of the first day of the month
Get the first day of the week from a week number
Find table and field a particular value reside
Find tables that contain a certain field
Find tables that have no permissions granted, and fix them
Get a person's age from their birthdate
Get the text of all the triggers in a database
Group by Grouping Sets example
How to format T-SQL
Insert an image into a SQL table from SQL
Log the user that changed a field
Loop through a string and show ASCII characters
Paging query contest
Remove unwanted characters from a field in SQL
sp_send_dbmail example
SQL code to resequence a grid
SQL Trigger Nest Level
Stored Procedure with Output Parameters
Strip leading zeros
Suppress the results of a stored procedure
Table Value Constructors
Temp Tables - how to tell if one exists
Templates
Cursor
Dynamic INSERT statement
Function - SCALAR
Function - table valued
Stored Procedure
Trigger
TRY/CATCH
View
Writing To A Text File
Write all DB contents to a text file
Write all DB contents to a text file SQL 2012
Writing to a text file
Puzzler
SQL Puzzler 2/13/2019
SQL Puzzler 3/8/2019
SQL XML
For XML Path
Read an XML Attribute
T-SQL
Calculate Business Days
CHARINDEX/PATINDEX
Copy ALL the data from one database to another
CROSS APPLY example
CTE Example
CTE Example showing multiple sources, ddv_401k
CTE Example showing Recursion
dd_FL
DELETE into an OUTPUT table
EXCEPT in SQL triggers for Dynamics GP
FORMAT - examples of date formatting
FORMAT - Format a number
FORMAT - Format a number as a percent
FORMATMESSAGE (SQL equivalent to String.Format)
Margin Calculations
RAISERROR - formatting the error string
ROW_NUMBER()
Return the first row in a child table with multiple rows
Sum fields that are in group rows - a custom RUNNING TOTAL excercise
Running Sum
SELECT Statement
Order by - dynamic
SQL Bulk Insert
SQL Pivot code
SQL Stuff
Unit Testing T-SQL Code
tSQL.t
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3