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