on 05-15-2015 12:38 AM
ESTIMADO FORO,
EN VERDAD NECESITO DE SU APOYO PARA BLOQUEAR A TODOS EXCEPTO A MANAGER PARA EL ACCESO A ESTA VENTANA.
CANTIDAD ATP.
MUCHAS GRACIAS
Buenas tardes
Puedes usar la utilidad "creacion de autorizacion adicional" para ese caso.
Vas a Gestión \ inicializacion sistema \ autorizaciones \ creación de autorización adicional
Creas una nueva autorización y en la seccion de formularios añades el numero 154 como está en esta imagen.
Al hacer eso, añades una nueva autorización dentro del árbol de autorizaciones generales, nos dirigimos ahí, seleccionas el usuario y le cambias el valor a "Falta de autorización".
Luego cuando el usuario quiera acceder a las cantidades ATP haciendo clic derecho en el producto, vera el mensaje de que no tiene autorización.
Saludos
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prueba lo siguiente
if @object_type='13' and @transaction_type='A'
begin
declare @Item nvarchar(20)
set @Item=(select top 1 T0.ItemCode from INV1 T0 where T0.DocEntry=@list_of_cols_val_tab_del and T0.Quantity>(select T1.OnHand-T1.IsCommited+T0.Quantity from OITW T1 where T1.ItemCode=T0.ItemCode and T1.WhsCode=T0.WhsCode))
if @Item is not null
begin
select @error=1710, @error_message='El Articulo '+@Item+' no tiene stock suficiente'
--goto EndTr
end
end
Atte.
User | Count |
---|---|
107 | |
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.