Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, February 22, 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: Lead able advice needed............
Dave Cleary
Posts: 61
 
Lead able advice needed............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 7:35 AM

Hi


I'm planning some development which will involve creating a new table linking off the Lead table (one to many relationship). I want the contents of the table (per lead) to be accessible from the account if the lead is qualified as an account. Can this be done?


I'm think there could be 2 ways of achieving this, one would be to create a corresponding table hanging off the account table so the data would transfer straight over when t he lead is qualified, the other is to have a centralised table that both the lead and account have access possibly linked on leadid and/or accountid on qualification.


Could any of these methods actually work?


I have previously brought additional fields over from the lead table over to the account table on a one on one basis but this table would need to be a one to many relationship.


Has anybody any advice before I attempt to develop this.


Thanks in advance.


Dave

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Lead able advice needed............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 8:14 AM

I'd go with the former (much easier). Create an unlinked table - have the EntityID related to the LeadID. On post of conversion from qualified lead to account then just mod. the EntityID back to to the AccID. That way, no data copying to do and both grids would be bound to this ID and would just "work".

[Reply][Quote]
Dave Cleary
Posts: 61
 
Re: Lead able advice needed............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 9:23 AM

Thanks Mike


That sounds straight forward enough.


Would this method cope with multiple lines per account? - Would there be some other unique identifier other than Entityid?


Dave

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Lead able advice needed............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 9:28 AM

Yes, as there would a PrimaryID (making it 1:M) - then CreateDate, CreateUser etc. The next column would be the EntityID - which you would use to bind the grid against (either LeadID or AccountID).

[Reply][Quote]
Dave Cleary
Posts: 61
 
Re: Lead able advice needed............Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 13 9:33 AM

Thanks again Mike

[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): 2/22/2025 9:28:49 AM