web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Creating Dynamics GP Table in VST

(0) ShareShare
ReportReport
Posted on by

Hi All,

Is it possible to create Dexterity based tables in Visual Studio Tools for Dynamics GP?

If not, then what strategy should i follow to create new table in Dynamics GP. For storing, updating and deleting data I'll be using VST.

Should I create table in Dexterity and then write my code in VST or create table manually in VST?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Josh P Profile Picture
    2,895 on at

    Hi Max_V21,

    When you say "Dexterity based tables," I assume you mean SQL tables since this is what Dynamics uses now. Dexterity can write to other data storages, but I will assume the former.

    You can create tables in SQL, and use them in VST add-ins. The mechanism of how you access the data is up to you. The easiest solution is to write stored procedures, and use one of many ways to access the data in Visual Studio. This would require you to wrap your SQL objects around a "out of Dynamics" security layer though.

    If you wanted to create a fully integrated solution to Dynamics without using a database connection not provided by Dynamics, the option is still there, but it requires a lot more work. You would first create a table (with DEX_ROW_ID field) in SQL or in Dexterity first, and build your custom dictionary file. Then you would run it through the assembly generator to get the .dll for VST to interact with it. Once you reference the .dll, you would be able to use the Dynamics database connector to access the table without the need for something like SqlClient or other .Net ORM.

    I typically go for option 1 since it is easily the shortest route for building integrations.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans