Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 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!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: OLEDB or Triggers
Ron Buchanan
Posts: 72
 
OLEDB or TriggersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 May 07 2:10 PM
fiogf49gjkf0d
I have the need to update the activity table when a record is inserted into the table. I was using a trigger, but soon discovered that the trigger was not "sync aware". The trigger is obviously firing on an insert, and I assumed that this would be sync aware, but no. So should I create the trigger to write through the provider, or should I just run a DTS that parses the database for the records that need to be updated. Which method is going to give me greater performance? If I want the activity field to be sent with the next sync session, it should be through the trigger, correct?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: OLEDB or TriggersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 May 07 6:44 PM
fiogf49gjkf0d
If you can describe how you can get a trigger to run through the provider, please let me know, or direct me to the instructions, as I did not know that it was even possible.

A scheduled DTS job should work - though it will run only on the main server. So it may take a few sync cycles before data gets back out to your remotes and the time lag may be unacceptable.

[Reply][Quote]
Eric Hobbs
Posts: 28
 
Re: OLEDB or TriggersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 May 07 4:26 AM
fiogf49gjkf0d
You could configure your trigger to run the DTS package, though this requries that the sysdba account have SA access, and you would still have the sync cycle lag.
[Reply][Quote]
Ron Buchanan
Posts: 72
 
Re: OLEDB or TriggersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 May 07 3:04 PM
fiogf49gjkf0d
Update... it appears the sync records are written prior to the SQL insert to the Activity Table. As a result, the changes to the SECCODEID field were not being sync'd to the remotes. The fix was to create a DTS that utilizes the OLEDB provider to write the record. Yikes... I found dealing with the security for SSIS to be a royal PITA! but now it's working like a charm.. a gazillion hours later!
[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/26/2024 6:30:34 AM