Tuesday, April 26, 2011

Table inheritance

AX 2012 supports table inheritance.


Table inheritance is controlled by the following properties:


  1. SupportInheritance – specifies if a table is a part of a hierarchy.
  2. InstanceRelationType – specifies the field that is used as a type discriminator. TableIds of concrete types are used as values of the InstanceRelationType field.
  3. Abstact – specifies if a table is abstract. Tables without derived tables cannot be abstract.
  4. Extends – specifies table’s parent.

Polymorphism is supported for table methods. All tables instance methods are virtual.

There is also client support for table hierarchies. Whenever a table that has derived tables is added on a form as a datasource, all its children are added under the derived datasources node. Fields from derived datasources can be bound to form controls and derived datasources can be used in form query construction, e.g. other datasources can be joined to derived ones.


Whenever a “New record” action is invoked on a form control that is bound to an abstract table, the following dialog will be presented to user where it is possible to select the concrete type of the record being created.

6 comments:

  1. I every time spent my half an hour to read this web site's posts everyday along with a cup of coffee.
    My webpage - sand

    ReplyDelete
  2. I'm no longer positive the place you are getting your info, however great topic. I needs to spend a while learning more or figuring out more. Thanks for great info I was looking for this information for my mission.

    my website; bed frame sales in singapore

    ReplyDelete
  3. Hello! I just wanted to ask if you ever have any problems with hackers?
    My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to
    no back up. Do you have any methods to protect against hackers?


    Here is my homepage :: allendale small console table

    ReplyDelete