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