Hi,
the problem is the following: in the Glossary, we have some Business Rules defined. They are of type Validation or Constraint and shall be used to validate the data in the system. These Business Rules are used in Domains in a CDM model.
From that CDM model we are generating a PDM model (for HANA, but it's not working for any of the databases available for selection). Now: I would expect, as this has been defined in the CDM, the Business Rules replicated in the PDM model and used as constraints.
This is unfortunately working only for Business Functions, which are directly defined in the CDM model, not for those ones, defined in the Glossary and reused in the CDM model.
Working case:
- define Business Rule in CDM
- define Domain in CDM and assign Business Rule
- assign the domain to a attribute
- generate PDM from the CDM model
- the Business Rule is replicated in the PDM model, the check constraint for the table is generated correctly
NOT working case:
- define Business Rule in Glossary
- define Domain in CDM and assign the Business Rule from the Glossary
- assign the domain to a attribute
- generate PDM from the CDM model
- the Business Rule is NOT replicated in the PDM model, the check constraint for the table is MISSING
Do you think it's a bug, or am I doing something wrong?
P.S.
We are on 16.5 SP05
Thanks,
Rafal