Scenario
User wants to hide the Fulfill button on the Sales Order when Credit Hold on the Customer is set to On.
Solution
- Navigate to Customization > Workflow > Workflows > New
- Basic Information:
- Name: Enter Remove Fulfill button
- Record Type: Select Transaction
- Sub Types: Select Sales Order
- Execute As Admin: Enter Checkmark
- Release Status: Select Released
- Keep Instance and History: Select Always
- Enable Logging: Enter Checkmark
- Event Definition:
- On View or Update: Enter Checkmark
- Click Save
- Click State 1
- Bottom right corner: Click New Action
- Click Remove Button
- Basic Information:
- Trigger On: Select Before Record Load
- Condition:
- Record: Select Customer
- Field: Select Credit Hold
- Compare Type: Select anyof
- Selection: Select On
- Parameters:
- Button Id: Select Fulfill
- Click Save