protected override void HookSetDefaultValues(PolicyHeaderEntity entity) { if (this.DefaultValues != null) { // Store the dynamic default values via the entity object entity.DatePaidTo = Defaults.DatePaidTo; entity.PremiumDue = Defaults.PremiumDue; }But these fields are set to accept null values and I also cleared out the defaults for these fields in the generator. Of course this code causes an error: