I have two entity types: Customer and Company. If I want to set it up so that selecting one of the two entities disables the other or prevents choosing a different entity type once one is selected, how can I do it?
There is not a way to disable an entity button natively…That I know of.
But you could use 2 different Ticket Types for the 2 entities. Map the Ticket Type Entity Type List to the respective entity. Use a Ticket Entity Changed event to select the corresponding ticket type. After the ticket is paid, change the Ticket Type back to your default Ticket Type.
- Using this method, one of entity buttons would disappear.
Or
Make a Ticket State and use the Entity Type (Customers/Company) as the state. Create 2 new automation buttons (one for Customers and another for Company). Use mapping to enable/disable the buttons based on the new Ticket State. The buttons would point to the customers/company search entity screen. You would have to remove the Entity Type List from the Ticket Type (essentially, you would be recreating these entity buttons).
- This method would keep both buttons, but one would could be disabled.
I know I briefly explained these methods. If you any questions, please let me/us know.
ok i will try that and let you know