purch_bd_before_delete.sql 221 B

1234567
  1. drop trigger if exists purch_bd_before_delete;
  2. DELIMITER //
  3. create trigger purch_bd_before_delete before delete on dbr_purch_bd
  4. for each row begin
  5. call stock_io_act('purch', old.id, -1);
  6. end//
  7. DELIMITER ;