Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Custom entity in DIXF does not assign values from staging to target for all records

(0) ShareShare
ReportReport
Posted on by 1,197

Hi,

I have a custom entity which does not assign all the column values from staging to the target table. Strangely, it only assigns all values only to the last records.

Any help is appreciated!

Regards,

Abhinay

*This post is locked for comments

  • Abhinay Tharwal Profile Picture
    1,197 on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    [quote user="Nikolaos Mäenpää"]Does your entity key correspond to the unique index of the target table?[/quote]

    The relation between the staging and target table was incorrect.

    Thank you for your suggestion.

  • Verified answer
    nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    - Do you have some custom code in your entity?

    - Does your entity key correspond to the unique index of the target table?

  • Abhinay Tharwal Profile Picture
    1,197 on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    One thing that I have noticed is that method setTargetBuffer receives the same record over and over again.

  • Abhinay Tharwal Profile Picture
    1,197 on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    [quote user="André Arnaud de Calavon"]Does this table already have records and you are trying to update them?[/quote]

    No.

    [quote user="André Arnaud de Calavon"]Or are all of them new records?[/quote]

    All the records are new.

    [quote user="André Arnaud de Calavon"]It would really help if you share details of your custom entity[/quote]

    Could you please specify which details are your expecting? I will try to share as much as possible.

    Regards,

    Abhinay

  • André Arnaud de Calavon Profile Picture
    292,869 Super User 2025 Season 1 on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    Hi Abhinary,

    Does this table already have records and you are trying to update them? Or are all of them new records? I do understand correctly that the staging table is filled correctly? It would really help if you share details of your custom entity, so we can try to see if there is an error in how you created the entity or not.

  • Abhinay Tharwal Profile Picture
    1,197 on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    It takes in data from an XML file and stores in a staging table. When I try to execute "Copy data to target" it creates records with blank fields except for the last record which retains all the values in all the fields.

  • André Arnaud de Calavon Profile Picture
    292,869 Super User 2025 Season 1 on at
    RE: Custom entity in DIXF does not assign values from staging to target for all records

    Hi Abhinay,

    Can you provide some more details about the custom entity and an example?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,869 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,733 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans