Hi Community,
I’m working on automating a process in Business Central, and I need some guidance on how to set this up effectively. Here's the scenario:
When a user inserts the "Reference N" in a Sales Order line , I want a workflow to be triggered automatically.
This workflow should go to a Reference Table, find all items that match the same "Reference N", and identify the item with the highest Qty (We have already added this information to reference table) .
Once the item with the highest Qty is identified, it should be automatically added to the Sales Line of the same Sales Order.
The entire process should run automatically without needing any manual trigger.
I’m considering using Power Automate, but I’m not sure if it’s capable of handling this process entirely