Notifications
Announcements
No record found.
Hi guys,
I am trying to figure it out how link Account and Connection table in CRM Database.
Does anyone have any idea, please?
Thanks.
*This post is locked for comments
Hi Jose, On the Account record you will see the 'CONNECT' button on the toolbar, click this and the following window will open which will allow you to create a Connection with another record and allow you to define the Relationship / Role;
Hope that Helps :)
This link sent me to right track community.dynamics.com/.../sql-query-in-crm-2011-2013-2015-connection-entity
Thanks,
Hi Raz,
Could you please tell me scenario what time should choose connection? I have read many articles But i cant understand. Could you please tell me real time scenario should i choose connection?
Thanks, But I am focus in the database.
HI Jose
Please refer below link
missdynamicscrm.blogspot.in/.../sql-query-in-crm-connection.html
When you add a connection between tow records, it actually add tow records on ConnectionBase table, one as master record ("IsMaster" = 1) and each one has aslo:
The link between AccountBase table and ConnectionBase came on tow fields if you add a connection to an account, in master one :
Record1ObjectTypeCode = 1
IsMaster =1
Record1Id = AccountGUID
In the case that IsMaster = 0, where could I get the relationship betweenRecord1Id and AccountGUID?Thanks
Below is a sample of connection between Account (A) and Account (M), Im sure it will give you more information about how the connection store the data on ConnectioBase table :
You can try the query :
Select top 2 ismaster, record1id, record1objecttypecode As OTC,record1objecttypecodename As OTCName ,record1idname, record1roleid,record1roleidname, record2id ,record2idname
from filteredConnection
Excellent! I really appreciate your response, Thank you.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2