Hi All
We have had a third party billing platform implemented that incorporates into the GP tables. Users access and maintain the contrat data by logging into GP and opening the relevant third party form.
We are trying to implement an audit trail of the contract data, by using a SQL trigger. The data is being correctly captured in regards to new and old values and date added. The problem is that the user being tagged is generic and does not change according to who ever makes the amendment.
This generic user is the one the developers use to run stored procedures etc, and must also be the one used to write the data to the contract tables.
My question, is how can I get the GP UserID instead of this generic user name so we can track who made the changes.
We currently use the SQL Server syntax "SYSTEM_USER" which does not work. I have also tried computer_name but this only brings in the CTX server we use.
Any help would be appreciated.
Take it Easy
Man with one chopstick go hungry
We have had a third party billing platform implemented that incorporates into the GP tables. Users access and maintain the contrat data by logging into GP and opening the relevant third party form.
We are trying to implement an audit trail of the contract data, by using a SQL trigger. The data is being correctly captured in regards to new and old values and date added. The problem is that the user being tagged is generic and does not change according to who ever makes the amendment.
This generic user is the one the developers use to run stored procedures etc, and must also be the one used to write the data to the contract tables.
My question, is how can I get the GP UserID instead of this generic user name so we can track who made the changes.
We currently use the SQL Server syntax "SYSTEM_USER" which does not work. I have also tried computer_name but this only brings in the CTX server we use.
Any help would be appreciated.
Take it Easy
Man with one chopstick go hungry