When Customers are assigned to a specific Subsidiary, the Users can create a Custom Form to reflect the correct Subsidiary Address. With this concept in mind, Users can create a Workflow to set the desired form when creating a Sales Order or Cash Sale. In this Workflow, the creation of the Sales Order or Cash Sale is done from the Customer record under the Sales tab.
Solution
- Navigate to Customization > Workflow > Workflows > New
- Basic Information:
- Name: Enter Change Custom Form
- Record Type: Select Transaction
- Sub Types: Select Cash Sale, Sales Order
- Execute As Admin: Enter Checkmark
- Release Status: Select Released
- Initiation: Select Event Based
- Event Definition:
- On Create: Enter Checkmark
- On View or Update: Enter Checkmark
- Click Save
- Click State 1
- Bottom right corner: Click New Action
- Click Set Field Value
- Basic Information:
- Trigger On: Select Before User Edit
- Condition: Click Launcher icon
- Field:
- Select Custom Form
- Compare Type: Select any of
- Selection: Select preferred Custom Cash Sale Form
- Field:
- Select Subsidiary (Main)
- Compare Type: Select any of
- Selection: Select Subsidiary
- Select Subsidiary (Main)
- Click Save
- Repeat Step 5-6
- Basic Information:
- Trigger On: Select Before User Edit
- Condition: Click Launcher icon
- Field:
- Select Custom Form
- Compare Type: Select any of
- Selection: Select preferred Custom Sales Oder Form
- Select Custom Form
- Field:
- Select Subsidiary (Main)
- Compare Type: Select any of
- Selection: Select Subsidiary
- Select Subsidiary (Main)
- Click Save
- Create new State
- Create Transition from State 1 to State 2
- Basic Information:
- Condition: Click Launcher icon
- Field:
- Select Custom Form
- Compare Type: Select any of
- Selection: Select preferred Custom Cash Sale Form and Custom Sales Order Form
- Select Custom Form
- Click Save