Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

DIEF - Error occurred while doing bulk copy from temp table to entity table..

Posted on by 165

Hello, people,
My question is - how to make DIEF work for you?
What I want to achieve is: import Quantities into InventItem/Purch/Sales/Invent/Setup and maybe DefaultOrderType (into InventItemSetupSupplyType) for an item. For many items.
I found standard entities for importing data into these three tables. Nothing happened (except for the ColumnMapping error). I tried to duplicate and modify DMFProductEntity Table, in order to combine all the data I have to import in one table. Created fields like InventItemInventSetup_LowestQty, InventItemPurchSetup_HighestQty .. and so on for each quantity field, also - InventDimId, InventDimIdDefault for each of these tables. Then I created new entity using this new table, mapped the fields, corrected the data types. I could preview the file(*CSV), everything looked ok. But when I try to run Staging data execution I get the error:
"Error occurred while doing bulk copy from temp table to entity table-The given ColumnMapping does not match up with any column in the source or destination."
But the validation is ok: "'InventItemSetup' entity is validated for data import/export". And I have validated the entity before using it. The fields from my template are exactly the same as the ones in the table. This is the first time I'm using DIEF and I'm really confused. I read about the case sensitivity, problematic fields like partition, recId, dataArea and so on, but I'm not even allowed to use them when I'm importing (which I think is normal). Probably I'm missing something essential or really basic, but the time is running out.
If someone has any clue what the problem might be, I'd be glad to hear it! :)

*This post is locked for comments

  • arindam dhar Profile Picture
    arindam dhar 25 on at
    RE: DIEF - Error occurred while doing bulk copy from temp table to entity table..

    Hello,

    You need to add 2 fields in your entity table:

    execution id and definition group

    Thanks,

    Arindam

  • arindam dhar Profile Picture
    arindam dhar 25 on at
    RE: DIEF - Error occurred while doing bulk copy from temp table to entity table..

    Hello E.Zgurova,
    I am also facing the same issue. Did you get any clue for this ?

    Thanks,

    Arindam

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans