Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

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

Posted on by 286

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
    Peter John 286 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
    Peter John 286 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
    Gunjan Bhattachayya 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
    Peter John 286 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
    Gunjan Bhattachayya 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
    Peter John 286 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
    Gunjan Bhattachayya 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans