Link a Custom Record to an Invoice and show the Invoice Number on a Custom Body Field in the Custom Record.
In order to be able to do this, we should create a workflow to Create a Record with the trigger type After Record Submit.
1. Navigate to Customization > Workflow > Workflows > New
2. Basic Information:
○ Name: Enter Link Invoice to Custom Record
○ Record Type: Select Transaction
○ Sub Types: Select Invoice
○ Execute As Admin: Enter Checkmark
○ Release Status: Select Released
○ Initiation: Select Event Based
3. Event Definition:
○ On Create: Enter Checkmark
○ Trigger Type: Select After Record Submit
4. Click Save
5. Click State 1
6. Bottom right corner: Click New Action
7. Click Create Record
8. Basic Information:
○ Trigger On: Select After Record Submit
○ Event Types: Select Create
9. Parameters:
○ Record Type: Select Custom Record that will be linked to the Invoice
○ Field: Select Custom Body Field where the Invoice Number should be displayed
○ Selection: Select Current Record
10. Click Save
To know more about the After Record submit trigger, we may check SuiteAnswers ID 40495.
Feel free to share us about your thoughts and tips 😊