Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

D365 BC - Automatic Assembly Order creation - Problem with Document Type

(0) ShareShare
ReportReport
Posted on by

Hello,

my objective is automatically creating assembly orders in Microsoft Dynamics 365 Business Central when a new entry is added in a sharepoint list. The sharepoint list includes Item No., Quantity, Location Code (->all the information required for creating an assembly order)

I have created a custom BC API which includes (for now) all table fields of the assembly header.

Further, I have built the Power Automate Flow, where i also defined StartingDate, EndingDate, DueDate - since without this information I recieved an Error Message.

MarkusKaestle_0-1707209361856.png

The flow runs successfully, but unfortunatly creates an assembly quote instead of an assembly order.

This usually is defined by the field "DocumenType" - which I have included in the custom api, but for some reason I can not select this field in the flow and it automatically sets it to Quote.

Here's the output of the flow:

MarkusKaestle_1-1707209702563.png

After solving this issue, I still have to find a away to automatically load the bom components into the assembly order.

Thanks in advance!

Markus

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics