Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

due date transection notification

$
0
0

Hi All,

 

we need to restrict few user to update due date field on production order.

 

thx in advance for same..

 

i have try below code but not working:

 

IF@TRANSACTION_TYPEIN('U')AND@OBJECT_TYPE='202'  --Production Order

BEGIN

ifexists(selectt1.duedatefromOUSRT0  INNERJOINOWORT1ONT0.USERID=T1.UserSign  where  T1.docentry=@list_of_cols_val_tab_deland(t1.duedate>t1.duedate)andt0.USERIDin(140,138,131,39))

--begin

SELECT@ERROR=1,@ERROR_MESSAGE='you are not allowed to change due date.'

end


Viewing all articles
Browse latest Browse all 3323

Latest Images

Trending Articles



Latest Images

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