/* tr-c-ehs.p - Create trigger for emp-history */ TRIGGER PROCEDURE FOR CREATE OF emp-history. /* Include Commons */ {common.i} /* Assign an ID, creation info and any initial defaults */ ASSIGN emp-history.primary-key = NEXT-VALUE(primary-hr) emp-history.cre-date = TODAY emp-history.cre-user-name = menu-user emp-history.upd-date = TODAY emp-history.upd-user-name = menu-user. /* Go back */ RETURN.