We can set a specific Custom Form for Invoices that are created via the Invoice Sales Order page using Workflow.
- Navigate to Customization > Workflow > Workflows > New
- Basic Information:
- Name: Enter Name
- Record Type: Select Transaction
- Sub-Type: Select Invoice
- Execute As Admin: Enter Checkmark
- Release Status: Select Released
- Keep Instance and History: Select Always
- Enable Logging: Enter Checkmark
- Event Definition:
- On Create: Enter Checkmark
- Trigger Type: Select -All-
- Click Save
- Click State 1
- Bottom right corner: Click New Action
- Click Set Field Value
- Basic Information:
- Trigger On: Select Before Record Load
- Context: Select User Event Script
9. Parameters:
- Field: Select Custom Form
- Value: Select Static Value
- Selection: Select the Desired Custom Form
- Click Save