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!
 Administration Forums - Database Administration
Forum to discuss SQL Server or Oracle database administration related to SalesLogix databases. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Database Administration | New ThreadView:  Search:  
 Author  Thread: CREATE TRIGGER on sysdba.CONTACT
Giancarlo Villanueva
Posts: 8
 
CREATE TRIGGER on sysdba.CONTACTYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Nov 10 4:17 PM
fiogf49gjkf0d

I've been trying to create an Audit Log for when records are deleted from sysdba.CONTACT.  I can create the trigger using SQL in SSMS, and everything works fine as long as I delete within SQL in SSMS.  In SalesLogix, hoever, now when I try to delete a record from sysdba.CONTACT nothing happens.


Is there a special way that I need to create a trigger in order for SalesLogix to work?

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: CREATE TRIGGER on sysdba.CONTACTYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Nov 10 6:06 AM
fiogf49gjkf0d

Make sure you set NOCOUNT ON at the beginning of your trigger, and set it OFF at the end.


Otherwise SLX may rollback the transaction.

[Reply][Quote]
Giancarlo Villanueva
Posts: 8
 
Re: CREATE TRIGGER on sysdba.CONTACTYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Nov 10 10:44 AM

Thanks Raul, that was part of my problem.  The other half I overlooked was granting sysdba INSERT, SELECT and REFERENCES permissions on my new logging table.

[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 3:55:16 AM