A
Aravind Hande
Hello,
I have the following entities, facts and constraints
Entity: LookupEntityX (Code)
--Code has possible values 'A', 'B', 'C', 'D', 'E'.
Fact: LookupEntityX has CodeDesc (character value type); Mandatory
Fact: ParentTableY (ID) has LookupEntityX (code) (at most one)
Fact: ParentTableY (ID) has Instructions (character value type) (at most
one)
Neither of the above ParentTableY roles are mandatory roles.
I have a subset constraint from the Instructions to the LookupEntityX role
above.
(because the Instructions is required only when LookupEntityX value is 'A'
or 'B')
Is there are any way I can explicitly state this requirement that the
Instructions
needs to be filled only when LookupEntityX is 'A' or 'B'? If so, how
should I go
about doing it?
Any help will be greatly appreciated.
Thanks,
Aravind Hande
I have the following entities, facts and constraints
Entity: LookupEntityX (Code)
--Code has possible values 'A', 'B', 'C', 'D', 'E'.
Fact: LookupEntityX has CodeDesc (character value type); Mandatory
Fact: ParentTableY (ID) has LookupEntityX (code) (at most one)
Fact: ParentTableY (ID) has Instructions (character value type) (at most
one)
Neither of the above ParentTableY roles are mandatory roles.
I have a subset constraint from the Instructions to the LookupEntityX role
above.
(because the Instructions is required only when LookupEntityX value is 'A'
or 'B')
Is there are any way I can explicitly state this requirement that the
Instructions
needs to be filled only when LookupEntityX is 'A' or 'B'? If so, how
should I go
about doing it?
Any help will be greatly appreciated.
Thanks,
Aravind Hande