/* tr-c-src.p - Create trigger for state-record */ TRIGGER PROCEDURE FOR CREATE OF state-record. /* Include commons */ {common.i} /* Assign ID, creation and update info */ ASSIGN state-record.state-record-id = NEXT-VALUE(record-id) state-record.cre-date = TODAY state-record.cre-time = STRING(TIME, "HH:MM:SS") state-record.cre-user-name = menu-user state-record.upd-date = state-record.cre-date state-record.upd-time = state-record.cre-time state-record.upd-user-name = state-record.cre-user-name. /* That's it */ RETURN.