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
8 Views Asked by Eric Patrick At
1
The
Process/Search
panels (includingDeal/Search
) render the + options with the following method signature:You can limit the results of this method signature by defining a
Filter
to be triggered by theSiblingObject
parameter, like this:Initial
ProcessTemplate.ProcessTemplateType = 'Initial'
SiblingObject
This will trigger calls to
ProcessTemplate/Seach?SiblingObject=Deal
to inject the following into theWHERE
clause: