Skip to Content
0
Former Member
Jun 09, 2011 at 08:55 PM

Transaction Notification

39 Views

Hi All,

I'm trying to write an efficient peice of code for the TransactionNotify function to check a users status before allowing them to add a transaction under certain circumstances.

Basically I only want to allow users flagged as a superuser to be able to add ANY marketing document that doesn't have a field U_ClientRef populated.

I can write something that has seperate checks for every different ObjectType that uses the user on the transaction (yet to be written away) to cross check against the OUSR table, but what I really want is a single block of code that doesn't need to check the object type and just bases the pass or fail test on the superuser flag for the user processing the transaction.

I'm sure this must be acheivable, and hopefully one of you out there will be able to assist!!!

Cheers,

J