Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
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!
 Data & Imports Forums - SalesLogix Imports
Forum to discuss general SalesLogix import and data migration topics. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Imports | New ThreadView:  Search:  
 Author  Thread: Scribe Insight assistance
Adam Conde
Posts: 13
 
Scribe Insight assistanceYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Sep 06 8:30 PM
fiogf49gjkf0d
I perform quarterly imports (update/insert) of contacts and accounts into SalesLogix from a 3rd-party database that my company subscribes to.

This database contains 120,000+ contacts and 88,000 accounts.

The accounts stays basically the same, but there is high turn-over with contacts.
What I would like to do is remove all contacts from the SAlesLogix database who do not have any records associated with them (i.e. contacts, opportunities, notes, activities, history, etc...) PRIOR to import of the updated database. Basically all contacts who have never been touched since they were initially imported should be removed.

Can this be done through scribe insight 5.2? If not is there another way to do this?
[Reply][Quote]
Steve Meyers
Posts: 11
 
Re: Scribe Insight assistanceYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Sep 06 10:55 AM
fiogf49gjkf0d
Adam,

It is possible to do this. Create a Source connection to the SalesLogix database without using the the SLX OLEDB Provider. Create a query to collect the ContactID's of the records you want to remove. Make sure you execute that query with [With No Lock]. Then connect to the Target with the SLX Adapater. Add Delete steps for each of the tables you want to remove records from. Then specify in the DTS Properties, to Chain to the Import DTS you want to run.

Hope this helps,
Steve Meyers
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Scribe Insight assistanceYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Sep 06 10:34 AM
fiogf49gjkf0d
I would probably create a SQL statement to collect all the NON-qualifying ContactIDs. That is all ContactIDs that have had a history or activity record created since X date. You could take this one step further and create it as a view in SQL. This makes it easier to enter in the next step...

Once you have the SQL/view written, create a new contact group tab called 'No Activity' or whatever name you choose. Add a condition for

NOT contactId IN [your SQL statement or SELECT contactid FROM v_ViewName]

This will return a contact group tab of all contacts that are NOT in your SQL/view. Its actually easier to get a list of all contact IDs that have not had any activity or history since X date. So its very important to add NOT to the condition.

Once you have that contact group, make usre you're logged in as Admin to the Client and select Purge Records from the Tools / Maintenance menu and go through the process of selecting your 'No Activity' contact group as the group to purge.

Hope this helps.
John G.
[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 © 2024 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): 11/22/2024 10:01:11 AM