web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

DIXF new entity wizard: "Generate from method" and "Is composite entity" options

(1) ShareShare
ReportReport
Posted on by

Hi guys,

When going through the DIXF wizard for creating a new entity, there are two options:

"Generate from method" (vs. "Generate from query")

and "Is composite entity". See below.

Do you know what they effectively do? I have some suspicions, but didn't actually analyze the code. There seems to be no documentation online too.

Thanks,

Waldemar

*This post is locked for comments

I have the same question (0)
  • Tommy Skaue Profile Picture
    Microsoft Employee on at

    I saw that one too, and I didn't have time to investigate it further. Curious to learn the answer. 

    According to the documentation:

    "Select whether to use a method or a query to generate data for any foreign keys in the table. Depending on your selection, either a generate method is added to the class, or the source tables for the foreign keys are added to the query for the entity."

    http://technet.microsoft.com/EN-US/library/jj933277.aspx

  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,155 Super User 2026 Season 1 on at

    Hi Waldemar,

    I have noticed the difference in behavior between the Auto generate options. It is just like the description provided by Tommy. If there is a reference field for e.g. Default dimension, InventDim ID, Party (GAB record) or another field with a surrogate key reference, it will either create a Generate method on the DMF helper class or it will add tables as datasource on the DMF Target query to manage the values of those fields.

    The composite entity option will create an additional fixed field called "RowId" which is used for composite entities. It will also add this special field to the ExclusionList field group to separate it from the other staging fields.

    I have not used the composite entities myself. More information about composite entities can be found on this page: technet.microsoft.com/.../jj225596.aspx

  • Community Member Profile Picture
    on at

    Cool, thanks André. Sounds reasonable! Will try with my next entity.

  • Community Member Profile Picture
    on at

    Hi,

    I have a requirement of importing images for a product using DIXF. I have searched for a OOTB entity, but there is nothing like that. So planned to create a custom entity using DIXF. Since product images involves a lot of tables, i need a clear idea of how to create a composite entity. In my case, i need to create a custom entity, that includes multiple tables like EcoResProductImage, DocuRef, DocuValue and Inventtable.  I have tried creating entity using DIXF. Can you please guide me down the line to create a composite entity.

    Thanks in advance.

  • André Arnaud de Calavon Profile Picture
    305,155 Super User 2026 Season 1 on at

    Hi Akshaya,

    Please create a new question om the forum as this would change the topic and this question was already verified. If you search within the existing questions first, you will find some similar questions. They might help you as well. I have seen the same question recently.

  • fatihgork Profile Picture
    3,817 on at

    This is such a great question thank you Waldemar.

    I have another one, does anyone know what these two checkboxes in processing group form do? 

    I could not figure them out also.

    8875.Untitled.png

  • fatihgork Profile Picture
    3,817 on at

    @Andre,

    I will create another thread also, I have just seen your message, sorry.

  • Pranav Gupta Profile Picture
    145 on at

    Hi Fatih,

    As per the name suggest the first checkbox will help you to run your business logic if you have write in insert-update method and the second check box will help you out in validating the business logic.

    Best Regards

    Pranav

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans