...
Code Block |
---|
Billing_Run_Test_Flow. |
Creating a Custom Button for ADvendio Invoice Object
Here are the steps to create a custom button for the ADvendio Invoice object:
Step 1:
Go to Setup > Object Manager.
Select the ADvendio Invoice Object.
Step 2:
In the Object Manager for ADvendio Invoice, navigate to "Buttons, Links and Actions."
Click on "New Button or Link."
Step 3:
Fill in the following details for the custom button:
Label - Billing Run Test
Name - Billing_Run_Test
Display Type - Detail Page Button
Behavior - Display in new window
Content Source - URL
In the text area below, enter the following URL:
Code Block bashCopy code
/flow/ADvendio/Billing_Run_Test_Flow?recordId={!ADvendio__Invoice__c.Id}
/flow/ADvendio/Billing_Run_Test_Flow
is the URL of the flow, which can be found in the flow details. To find these details, go to the list of flows, open the action menu of the flow, and select "View Details and Versions."?recordId={!ADvendio__Invoice__c.Id}
is the ID of the pre-invoice that will be invoiced, used as a parameter of the flow.
This custom button will trigger the Billing Run Test Flow when clicked on an ADvendio Invoice record.