/******************************************************************************/
/****               Generated by IBExpert 10.7.2005 15:57:08               ****/
/******************************************************************************/

SET SQL DIALECT 3;

SET NAMES NONE;

SET TERM ^ ;

CREATE TRIGGER ODUZMI_KOLICINU FOR STAVKE
ACTIVE AFTER INSERT POSITION 0
AS
begin
  /* Trigger text */
  UPDATE artikli
  SET STANJE = STANJE - STAVKE.KOLICINA;
end
^

SET TERM ; ^