SBX - Search With Button

SBX - Forum Post Title

DataEntity Extension for a TableInheritance structure SysDataEntityPersister error

Dynamics 365 for Finance and Operations Forum

Pete Alberts asked a question on 14 Jun 2019 3:43 AM
My Badges

Question Status

Verified

My other post is broken. It won't load. I guess I added too many screenshots. https://community.dynamics.com/365/financeandoperations/f/765/t/350421

If one adds a field to a DataEntity with a DS of a table that supports inheritance (using extension), SysDataEntityPersister will throw an error if any table type other than the type the extension field belongs to is posted.

This can easily be reproduced. I will not be posting screenshots........most probable reason the other post broke.

  1. Extend DirOrganization - add a simple string field.
  2. Extend DirPartyBaseEntity - add the field you just added on DirOrganization
  3. Try to use DirPartyBaseEntity and observe. A good example is to open CustCustomersV3 in excel. Post a customer of type organization - success. Then try to post a customer of type person - massive cataclysmic failure on a global scale.

Regards

Reply
Verified Answer

Your other post is loading properly so replied on the other thread.

Reply
Verified Answer

Your other post is loading properly so replied on the other thread.

Reply

SBX - Two Col Forum

SBX - Migrated JS