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