Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9024

Re: Help with Stored procedure

$
0
0

Hi,

 

Try:

 

IF @transaction_type = 'U' AND @object_type = '97'

and exists(select t0.SlpCode from OOPR T0 where T0.SlpCode != "-Main Sales Employee-"

and T0.UserSign != 6)

BEGIN

SET @error = 1

SET @error_message = N'Authorisation required'

END

 

Thanks,

Gordon


Viewing all articles
Browse latest Browse all 9024

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>