on 03-15-2013 5:17 AM
Buenas noches, me encuentro con el problema de que en SAP Business One 8.82 PL 09 utilizando el método de gestión FIFO me permite liberar productos con precio debajo del costo (todas mis capas tienen el mismo costo de entrada), no encuentro como bloquear esto y el cliente no desea se realice un procedimiento de autorización.
Espero alguien pueda ayudarme, saludos.
Y si haces con TN, que si el precio de venta es superior al costo te bloquee el documento.
Algo asi:
If @object_type = '13' AND @transaction_type in ('A')
BEGIN
If exists
(Select b.ItemCode
From OINV a
inner join INV1 b on a.DocEntry=b.DocEntry
Where a.DocEntry = @list_of_cols_val_tab_del
and b.StockPrice > b.Price)
Begin
set @error =1
set @error_message = 'Precio de Venta Inferior a Costo'
End
END
Saludos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
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.