Adding triggers for customer order number in ServiceAssignment dialog

  1. Select System configuration > Dialog design.
  2. Select Service Assignment dialog.
  3. Click Triggers tab.
  4. In the Triggers section, click New.
  5. Specify this information:
    Event
    Select onchanged.
    Operator
    Select and from the list.
  6. In Condition section, click New.
  7. For Condition, specify this information:
    Column
    Select ServiceOrderHead.AgreementHeaderID from list of columns.
    Operator
    Select isnotnull from the list of operators.
    Column
    Specify ServiceOrderHead.AccountID.
    Operator
    Select isnotnull from the list of operators.
  8. In Setter section, click New.
  9. For Setter, specify this information:
    Type
    Select column.
    Name
    Specify ServiceOrderHead.CustomerOrderNumber.
    True Action
    Select show.
    False Action
    Select hide.
  10. In the Triggers section, click New.
  11. Specify this information:
    Event
    Select onload.
    Operator
    Select and from the list.
  12. In Condition section, click New.
  13. For Condition, specify this information:
    Column
    Specify ServiceOrderHead.AgreementHeaderID.
    Operator
    Select isnotnull from the list of operators.
    Column
    Specify ServiceOrderHead.AccountID.
    Operator
    Select isnotnull from the list of operators.
  14. In Setter section, click New.
  15. For Setter, specify this information:
    Type
    Select column.
    Name
    Specify ServiceOrderHead.CustomerOrderNumber.
    True Action
    Select show.
    False Action
    Select hide.
  16. Proceed to Dialog tab.
  17. Click Yes to confirm saving of data.