Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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: Merge Records
mark
Posts: 70
 
Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 08 8:54 AM
Hi all

Can we customize merge account/contact form. because i need to update a flag in custom table under account table.Is that possible to customize this so that i can write my own query over there before merging or is there any function is firing in slx before merge so that i can write this code over there(just like before delete function global system script)
Can any bosy pls help me in this issue

Thanks in advance


mark
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 08 9:39 AM
I actually responded to a similar question on this a few days ago, in your case however this is really a work around and you can't, to the best of my knowledge, alter the merge wizard.

Here is the response:

To do this, you would need to change the argument of the mainview's groupspanel's (right panel's) pop up menu's item for 'merge records' to an active script, then have that active script perform your custom code. (open the account details mainview, click on the groups panel, open the popupmenu property, select 'Merge Records' and look at the Action and Argument

Finally in the custom code when you were ready to call the merge screen you would need to add the following line:
Application.Basicfunctions.DoInvoke "Function","MainView:DupMerge"
[Reply][Quote]
Andrew Arens
Posts: 2
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 08 2:26 PM
I am going to be doing the same sort of thing but was going to use a function hook event instead.
[Reply][Quote]
mark
Posts: 70
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 08 6:57 PM
Can u explain me about function hook event
[Reply][Quote]
mark
Posts: 70
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 08 6:57 PM
Can u explain me about function hook event how to use it
[Reply][Quote]
mark
Posts: 70
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 08 6:58 PM
Quote:
Originally posted by Andrew Arens

I am going to be doing the same sort of thing but was going to use a function hook event instead.
[Reply][Quote]
Andrew Arens
Posts: 2
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Feb 08 7:42 AM
If you look in the help section of the architect under: "Secured Function Events" there is an explanation ou what the hook events are.

For an example ou them in use if you look in the GlobalScript (7.x) "System:Opportunity Management" the HookEvent is "OnBeforeFunctionExecute_InsertOpportunity(functionNumber, functionName)".
[Reply][Quote]
mark
Posts: 70
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Feb 08 4:17 AM
I did the same and it is working fine. But one issue i am facing is if i select only one record the merge option need to be disable(this is normal functionality) but it is still enabling so where i have to write the code for disable this option if i select only one record

Mark
[Reply][Quote]
Michael Fortier
Posts: 12
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 09 3:19 PM
I'm trying to do something similar and am running into some difficulties:

1. I can't get Application.Basicfunctions.DoInvoke "Function","MainView:DupMerge" to fire. No apparent way to pass parameters.

2. I get OnFunctionEnabled_MainViewDupMerge to fire, but not OnBeforeFunctionExecute_MainViewDupMerge.

Even if I got either to work, I'd only have the selected Accounts prior to the Merge Wizard starting. There's apparently no way to actually see which Accounts were selected as PRIMARY, DELETE, MERGE, or IGNORE...

Can anyone shed more light on work arounds to this functionality without rebuilding it?

Thanks.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Merge Records Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 May 09 11:46 PM
I tried this several years ago with no luck.

Basically, the function was designed so that it merges 2 records as selected on the list view, but there was no way to setup that selection.
After spending a long time trying to get it to work, I decided it was much faster to build the functionality I was looking for on my own.
[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): 8/29/2025 8:18:36 AM