I Have a Trigger Before Insert or Update
...
elsif updating then
Temp := existencia + :OLD.CANTIDAD;
Temp := existencia - :New.CANTIDAD;
update IMS_INVENTARIO set
EXISTENCIA = Temp
WHERE ID_BODEGA = Bodega
AND ID_PRODUCTO = :NEW.ID_PRODUCTO
AND ID_CLASIFICACION =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.