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_header_after_insert
DROP TRIGGER IF EXISTS `sakti_header_after_insert`;
SET @OLDTMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_ENGINE_SUBSTITUTION';
DELIMITER //
CREATE TRIGGER `sakti_header_after_insert` AFTER INSERT ON `sakti_header` FOR EACH ROW BEGIN
	CALL setDataCoa(NEW.ID, NEW.NO_SP);
END//
DELIMITER ;
