Linking Contact and Parent Accounts

Is there a way in CRM 4.0 to automatically populate the contact address, phone and fax details with the details from the parent account. I want to do this not just for future records, but also for exisiting contact records.
LVL 2
Tiva-ITAsked:
Who is Participating?
 
Biffster007Connect With a Mentor Commented:
Hi,

No worries.  A plugin is an DotNet assembly that either resides on the server or is inserted into the CRM database.  Either way will work.  The plugin is a piece of code that will fire when you specify i.e. after an account update, before a contact update, when a contact is assigned from one user to another, and many other scenarios.  In you case you wqould create a plugn that fires after an account is updated or created.  It would look at the address data in the account and check whether there is any contacts sitting under that account.  If it finds some contacts then it updates the addresses to match the account.

Thisis all done through the CRM web service.

Look at the CRM 4.0 SDK for more information.

http://www.microsoft.com/downloads/details.aspx?FamilyID=82E632A7-FAF9-41E0-8EC1-A2662AAE9DFB&displaylang=en

Che,
MH
0
 
Biffster007Commented:
Hi,

You can create a post-event plugin for the account that gets the data from the account record and populates either the primary contact that sits off the record or any or all of the contacts that sit under the account record.

As for the existing records you'll have to write an assembly to do this.  Note: Writing an assembly is the supported way of doing this.

MH
0
 
Tiva-ITAuthor Commented:
Thanks for your response, however, I am only a beginner - can this be explained in idiots terms?
0
 
Tiva-ITAuthor Commented:
Has anyone actually done this yet succesfully?
0
 
Biffster007Commented:
I've done very similiar things.

Are you struggling???

MH
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.