#ifdef  KPI
/*  $Revision$
 *  $Id$
 */

CREATE_TRIGGER(kpi_t_kpi_definitie_b_i)
BEFORE INSERT ON kpi_definitie
FOR EACH ROW
BEGIN
   UPDATE_PRIMARY_KEY(kpi_definitie_key, kpi_s_kpi_definitie_key);
END;
/

CREATE_TRIGGER(kpi_t_kpi_score_b_i)
BEFORE INSERT ON kpi_score
FOR EACH ROW
BEGIN
   UPDATE_PRIMARY_KEY(kpi_score_key, kpi_s_kpi_score_key);
END;
/


REGISTERRUN('$Id$')

#endif  // KPI
