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: Deleting an account/opportunity
Rekha
Posts: 72
 
Deleting an account/opportunityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 07 3:23 AM
Hi,

I have a requirement to Merge 2 accounts and their dependencies such as account table, c_account table, opportunity table, c_opportunity table, activity table etc in case if there is same customer number provided for 2 accounts. it will ask "Same customer number found in another record, do you want to merge both accounts"

while doing so, after updating one account, I need to delete another account... The problem that I face is, after deleting, the pagination does not get refreshed.. also it says "Invalid record" when the deleted record is accessed through pagination. i have tried
Application.BasicFunctions.CascadeDelete "Account" , strAccountId,
Application.MainViews.ActiveView.Refresh

Nothing seems to refresh the pagination.. any ideas? has anybody tried deleting an account programmatically? looks like SLX has encapsulated deleting account and opportunity from being accessed by developers.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Deleting an account/opportunityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Sep 07 9:31 AM
Are you trying to keep the current group? What is the content of your current group? Is it a lookup result containing the records to be merged?

Why not make the Merged Account the selected record? Application.BasicFunction.SetCurrentAccountID strID

[Reply][Quote]
Kannan Srinivasan
Posts: 49
 
Re: Deleting an account/opportunityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Sep 07 3:54 AM
You could use the Duplicate Wizard from the manage menu and do the duplicate checks. The joins you specify for your custom table can have a cascade delete based on which you could achieve the expected behavior.

Regards
Kannan
[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 2:57:11 PM