Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: One Contact to Multiple Accounts
Peter Savic
Posts: 16
 
One Contact to Multiple AccountsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Aug 07 3:16 AM
V 6.2
Is it possible to set one contact with relationship to multiple accounts?
At moment we enter the contact for each account but this creates duplicate errors when saving mail and makes look up difficult
Association does not work as we can only associate contact to contact and account to account
Any ideas?

Also when we move contact to another account the address does not update - is there any quick way to update the address details (and tel/fax) for the contact so they are the same as the account?
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: One Contact to Multiple AccountsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Aug 07 11:49 AM
Currently the database structure does not allow for multiple accounts per contact, as the database is very much account-centric. What you'll need to do is create your own association table that ties the contact to all the different accounts. As far as the contact information is concerned, if it is different for every account it is attached to, you'll need to track that in the new association table. Then, every time you associate a contact to another account, automatically (programmatically) grab the primary address, main phone, fax number, and maybe even email from the associated account record, and populate the association record with that information. The new association table could look like this: ContactAccount (ContactAccountID, CreateDate, CreateUser, ModifyDate, ModifyUser, ContactID, AccountID, Phone, Fax, Email, Address1, Address2, City, State, PostalCode, Country). If you wanted to follow the SalesLogix model a little more, you could use the Address table, store the addressID in the ContactAccount table, and store the ContactAccountID in the EntityID field in the address table.

Either way, the answer to your first question is "Yes, but you'll have some work to do."

Jeff
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: One Contact to Multiple AccountsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Aug 07 12:15 PM
We've done this a lot......we call it WorksFor or Involved With......use it to store what Boy Scout Troop, Church, Choir, 3 businesses a contact is Involved With. Title, role, employment status, email, etc. are all good fields to add to this 'associations' table. You have to develop your own Address population stuff, but we use the ADDRESS table, EntityID = contactID...and then add an ADDRESSID to the WorksFor table that points at this one address. If you need more addresses, we usually have them use Account Addresses.

Oh, we use SLX_AccountID instead of ACCOUNTID which is one of those magic SLX field names.......helps for the dual Sync rules you may have to establish.

As a rule, multiple rows merge and move over to Contacts and Accounts....unfortunately this has NEVEr been the case with Addresses...... so Sales Numbers, History moves over (isn't wiped out in a Merge.....). You'll have to come up with your own mover script......and get rid of the SLX Move Menu item.....

[Reply][Quote]
Peter Savic
Posts: 16
 
Re: One Contact to Multiple AccountsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Sep 07 2:13 PM
Thanks to both of you for the advice
Will wait until we upgrade to 7.2 before we have a go at doing this

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/20/2025 6:51:15 AM