on 05-22-2013 2:46 PM
Hola a todos abriendo nuevamente el post http://scn.sap.com/thread/2123597 sobre la eliminacion de oportunidades de ventas, debo bloquearlo por un TN excepto a un usuario.
tengo el siguiente codigo pero no me esta bloqueando, me deja eliminar
if @object_type in ('97') and @transaction_type in ('D') ------------------Oportunidades de Venta',
begin
if (select count(*)
FROM OOPR T0 INNER JOIN OUSR T2 ON T0.UserSign = T2.USERID
WHERE T0.UserSign <>'48'
AND @list_of_cols_val_tab_del = T0.DocEntry)>0
begin
set @error = 444
set @error_message = '***SP: No tiene permiso para eliminar este documento.'
end
end
saludos cordiales
hola, gracias por tu colaboración Aunque igualmente no esta restringiendo y deja eliminar de cualquier usuario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.