RE: In Business central make a Power Automate Flow to a custom Filed
To create a Power Automate flow that triggers when the custom field in your sales invoice is toggled, you can follow these steps:
1. Create a new flow: In Power Automate, click on "Create" and select "Instant Cloud Flow".
2. Select a trigger: In the "Choose your flow's trigger" window, select the "When a record is updated" trigger.
3. Connect to Business Central: In the "Connect to Business Central" window, select your Business Central environment and enter your credentials to connect.
4. Choose the sales invoice entity: In the "Choose your action" window, select "Sales Invoices" as the entity you want to monitor for changes.
5. Define the trigger condition: In the "Trigger Conditions" section, define the condition that should trigger the flow when the custom field is toggled. For example, you could set the trigger to fire when the "Tax Liable" field is changed and its value is set to "true".
6. Add an action: In the "New step" window, select "Update a record" as the action you want to take when the trigger condition is met.
7. Choose the sales invoice entity again: In the "Choose your action" window, select "Sales Invoices" as the entity you want to update.
8. Define the fields to update: In the "Set the values" section, select the field you want to update when the trigger condition is met. In this case, it would be the field that should save automatically.
9. Save and test the flow: Save the flow and test it by toggling the custom field in a sales invoice record to see if the field you selected is updated automatically.
Note that you may need to adjust these steps based on your specific needs and the structure of your sales invoice entity in Business Central.