Various Business Rules are checked after a change is made to a Model Object. These checks ensure the integrity and consistency of the model.
Historization Type
This Business Rule checks the value of the Historization Type property for a Term in a Model Object.
This check has six parameters:
- ExcludeDefaultTerms: if true, the Default Term Historization Types are not checked
- ExcludeBusinessKeys: if true, the Business Key Term Historization Types are not checked
- ExcludeIdentities: if true, the Identity Term Historization Types are not checked
- ExcludeForeignKeys: if true, the Foreign Key Term Historization Types are not checked
- ExcludeUnmapped: if true, the Historization Types for unmapped Terms are not checked
- SupportedHistorizationTypes: list of Historization Type values possible (can be SC0, SCD1, and/or SCD2)
- TermName: Term name to consider for the Historization Type check
If the Business Rule validation fails, the following message will be displayed as a Warning Notification on the Model Object:
"Model object '{ModelObject.Name}' of type '{ModelObject.ModelObjectType.Name}' has unsupported historization type for terms defined. Supported historization types are: {string.Join(", ", supportedHistorizationTypes)}.
Example: