on 11-11-2014 7:01 AM
Hi,
Please assist on how to block users from closing documents like PO's which they did not create.
Thanks,
Isaac.
Hi
Try this Stored Procedure
if @object_type ='22' and @transaction_type in ('L')
begin
If Exists (select r.DocEntry from OPOR r
where r.DocStatus='C' and r.UserSign2 <> 4 and r.DocEntry = @list_of_cols_val_tab_del )
Begin
select @error = 1
select @error_message = 'You are not authourized to close the document '
end
end
With Regards
Balaji Sampath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.