Hi, i got this error when i tried to do an example about Table inheritance in AX 2012: Duplicate relation name Table.Name detected in table inheritance.
You might have defined the relation name , that already exists in the hierarchy.
The relation name should be defined uniquely across the hierarchy.
Hi Kranthi, what does relation name means, where it can be defined? there is a property named InstanceRelationType and it is defined as written in the Microsoft Table inheritance tutorial sheet.
Well, this is my scenario:
Created 5 Tables, the base table named Party, for more structure details see the attached image.
Did not create any fields in all tables,
Party (Base table) properties:
Abstract: Yes
Extends: (Blank)
SupportInheritance: Yes
Person properties:
Abstract: No
Extends: Party
SupportInheritance: Yes
Organization properties:
Abstract: No
Extends: Party
SupportInheritance: Yes
NonProfitOrganization properties:
Abstract: No
Extends: Organization
SupportInheritance: Yes
GovernmentOrganization properties:
Abstract: No
Extends: Organization
SupportInheritance: Yes
Now i added Int64 filed inside Party (Base table) and attached table property InstanceRelationType with the created field.
Hi Kranthi,
You are right, the self generated relations are named the same, maybe i should save the table after i had set the Extends property so when i go the second table it will generate the relation name differ than the previous one.
Thanks alot!