OnEveryDt is generated