Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Attach a document using Power Automate with a Unique ID.

Posted on by 1,654

Hi Community,

I have used OOTB [Out of the box] API of /Document Attachment/ in which ID is the Autoincrement field. When I attach a document using Business Central, the ID field value is automatically assigned a unique key but when I attach a document using Power Automate, the ID field value is always the same. So I want to attach a document using Power Automate with a Unique ID.

While attaching a document using Power Automate It shows the following error:

error message: ErrorCode: Internal_EntityWithSameKeyExists  The record in table Document Attachment already exists. Identification fields and values: Table ID='38',No.='POSG11-11111-01',Document Type='Order',Line No.='0',ID='26900'  CorrelationId:  0b35486a-f86d-423c-8b14-193626ff055e.has context menu

 

If you have any solutions, Please Provide me that solution.

Thank You

Categories:

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans