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 CRM (Archived)

Create new Company and Contact through direct Database query

(0) ShareShare
ReportReport
Posted on by 180

Hello,

I'm currently trying to create new contacts and companies through direct database calls. I found 3 major tables containing e.g. account information : dbo.AccountBase, dbo.AccountExtensionBase, dbo.CustomerAddressBase, dbo.Account. Is there anything else I have to keep in mind before trying to create a new company?

Thank you for your help!

*This post is locked for comments

I have the same question (0)
  • Feridun Kadir Profile Picture
    1,705 Most Valuable Professional on at

    Creating new records in this way is not supported and I recommend that you do not do this.

    The only supported ways to add records are via the interface, importing or using the SDK and the web api.

    If you add records to database tables directly you risk corruption and not receiving support from Microsoft.

  • Gustaf Westerlund Profile Picture
    on at

    I completely agree with Feridun. This is not only unsupported by also very dangerous and can jeopordize the stability of the application. This is more so than for more traditional applications as Dyn CRM is a meta data driven application, meaning that it contains the descirption of itself. So it actually asks itself what select statments it needs to ask itself. Imagine if you manage to create an inconsistency somewhere in this logic, it could result in select statments being generated that do not match the real database.

    If you want to used SSIS to integrate with CRM I stronly suggest looking at this product: www.kingswaysoft.com/.../ssis-integration-toolkit-for-microsoft-dynamics-crm

  • Community Member Profile Picture
    on at

    Don't do it, although you can update SQL you are not updating the filtered views.

    You are breaking the model, and breaking the security architecture.

    Anne

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans