Announcements
Table: TableA
First set property Table Inheritance = YES
Then create a Int64 type field : InstanceRelationType setThen set property InstanceRelationType = InstanceRelationType
Then added new fields : StudentID, Name
Table A properties:
Table : Table A
Then create records
*** Here InstanceRelationType hold the TableID of Table A = 103696
Table: Table B
Then set properties:
Note : I noticed that if i set Abstract = YES then its not allow me to create a New Record.
So, i put Abstract = No
Then add new fields in Table B
It will automatically create relation with Table A with RecID.
Then create a new record in Table B
Then I browse Table A
It’s showing last 2 records from Table B which I am creating in Table B.
103697 is table id of Table B.
**** Kindly Validate above process are correct ?
I have queries :
1. What is tthe use of Table A records ?
2. Why Table A records are not showing in Table B ? Because i extend Table A in to Table B.
3. What is the advantage of here Table Inheritance ?
Please give me more shed on this.
Thanks!
Arpan
*This post is locked for comments
Thanks Sukrut and Chaitanya
Hi,
I don't think its possible. On the base table after setting its inheritance properties, tableType property is greyed out(pointed to Regular) and on the derived table on setting the property TableType to TempBD property Extends is greyed out and on setting the property SupportInheritance to Yes, a warning is popping out stating "Can't set the Support Inheritance to yes for temporary table).
Hi Chaitanya,
I am just asking is't possible?
Please give me more shed on this.
Thanks!
Arpan
Hi,
Could you provide more details about you business requirement and the reason being choosing a temporary table("TempDB") instead of regular table.
Hi Sukrut,
I did practically Table inheritance process and well understood the process.
As I know table type "InMemory" we can't use in Table inheritance.
Shall I use Table type "TempDB" in Table inheritance?
Means with combination like Table type "TempDB" is Base Table and "Regular Table" is Derived Table OR
Opposite.
Please give me more shed on this.
Thanks!
Arpan
Thanks Sukrut
Nice one
Hi,
You need to create record in TableA and TableB after completing your table inheritence setup with base and derived table. In your case TableA, acts as base table to your derived tables. Inorder to have advantage from table inheritence, please check below link which explains when to use table inheritance:
(When to Use Table Inheritance [AX 2012])
Dear All,
Can you please any one validate.
Thanks!
Arpan
André Arnaud de Cal...
293,331
Super User 2025 Season 1
Martin Dráb
232,251
Most Valuable Professional
nmaenpaa
101,158
Moderator