I have a QBO3 installation with multiple ProcessTemplates defined. The standard Deal/Search UI renders a + button with dropdown list of available templates to add. I want to limit the available templates to only those templates which are marked with ProcessTemplateType=Initial. How do I modify the UI to limit these options?
QBO3: Limit Process Templates when adding a Process
18 Views Asked by Eric Patrick At
1
The
Process/Searchpanels (includingDeal/Search) render the + options with the following method signature:You can limit the results of this method signature by defining a
Filterto be triggered by theSiblingObjectparameter, like this:InitialProcessTemplate.ProcessTemplateType = 'Initial'SiblingObjectThis will trigger calls to
ProcessTemplate/Seach?SiblingObject=Dealto inject the following into theWHEREclause: