USE `sakti`;
-- --------------------------------------------------------
-- Versi server:                 5.6.51-log - MySQL Community Server (GPL)
-- OS Server:                    Linux
-- HeidiSQL Versi:               9.2.0.4947
-- --------------------------------------------------------


-- Dumping structure for trigger sakti.sakti_coa_after_insert
DROP TRIGGER IF EXISTS `sakti_coa_after_insert`;
SET @OLDTMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_ENGINE_SUBSTITUTION';
DELIMITER //
CREATE TRIGGER `sakti_coa_after_insert` AFTER INSERT ON `sakti_coa` FOR EACH ROW BEGIN
	CALL setDetailBarang(NEW.ID, NEW.NO_SP);
END//
DELIMITER ;
