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.
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:
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
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492