Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

(0) ShareShare
ReportReport
Posted on by 288

Hi Everyone, 

I have created custom table 'ProdTestTable' with ProdId and Prodname fields. and created custom entity and processing groups as per the standard process in Dixf with CSV formats .  After that try to insert new records, for the first time the process was working fine E.g (Prodid = 1 and prodname = One) the records inserting the target entity and custom table (ProdTestTable). 

After that i created the template for the next insert process Eg. ProdId =2 and prodName = Two. Here i getting a update for the existing records will overridden ProdID =1 and prodname = one this will update as ProdId - 2 and prodname = two. 

Why this things happen? actual the second process will create a new record right . And assigned the prodId as index, no duplicate 

And I missed any setup, i followed the below link for the creation of custom entity here i attached FYI and screenshots

https://www.axpulse.com/2017/04/19/developing-a-dixf-entity/ 

Process -1

pastedimage1597849476381v1.png                      pastedimage1597849561012v2.png       pastedimage1597849608559v3.png

Process -2

pastedimage1597849694303v4.png      pastedimage1597849786435v5.png

pastedimage1597849823995v6.png

Table Structures 

pastedimage1597849911621v7.png

Please suggest further process.

Thanks in advance

  • Peter John Profile Picture
    288 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    I dnot know what to say, Its working....:) After the relation creations the process working expected thanks Gunjan...

    pastedimage1597858798169v1.png

  • Peter John Profile Picture
    288 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    Yes I saw the target relations are missing, will create and will share update,

    pastedimage1597858286584v2.png

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    Do you have the rigtht relation set between the staging and the target as well?

    Please check this thread - community.dynamics.com/.../data-not-written-to-target-table-but-instead-only-updating-records-dixf-dmf

  • Peter John Profile Picture
    288 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    Target mapping,

    pastedimage1597856497299v1.png

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    Could you please share the target mapping as well?

  • Peter John Profile Picture
    288 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    Hi Gunjan Bhattacharyya ,

    Please refer the below screenshot, 

    pastedimage1597852854991v1.png

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Custom Dixf Entity process Errors while inserting new records, but its overridden existing records

    Hi,

    Could you please share a screenshot of the DMFXX table index created?

    Field ProdId should be a part of that index along with "DefinitionGroup" and "ExecutionId".

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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... 293,311 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,183 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans