on 05-27-2016 11:34 PM
Hola como puedo validar el campo de precio unitario no este vació al momento de crear o actualizar una lista de materiales.
Saludos.
Valida si te funciona esto porfa
IF @transaction_type in ('A') AND @object_type IN ('672')
begin
declare @precio as real
set @precio =(select count(*) from rdr1 where docentry=@list_of_cols_val_tab_del and $[$3.4.number]=0)
if @precio > 0
begin
SET @error = 66
SET @error_message ='No es posible crear documento con articulos sin precio'
end
end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Si perdón creo confundí tu requerimiento, lo que tu necesitas es un procedimiento de aprobacion a nivel detalle de los documentos. Te voy a compartir una liga para que veas como se realiza.
SBO_TIPS_Approval_Procedure_en_Filas - Google Docs
Saludos
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.