SelectEntity component
This article provides a summary of the Selectentity component.
When the Enable Multi-Entity setting is enabled, the SelectEntity component is inserted as the first step of the Quote Wizard. If you need to use the customized logic to assign an entity to quotes, use the plugin interface on the SelectEntity component to implement and register the custom plugin.
The SelectEntity component consists of:
-
SelectEntity.component
-
SelectEntityComponentOptions.class
-
SelectEntityComponentOptions.ISelectEntityPlugin
ISelectEntityPlugin
Use the ISelectEntityPlugin on the SelectEntity component to customize the entity selection logic in your quoting process.
The ISelectEntityPlugin is executed when user clicks New Quote in a multi-entity org.
Interface class signature of the plugin is:
zqu.SelectEntityComponentOptions.SelectEntityPluginResponse
selectEntityForNewQuote
( ID accountId, ID opportunityId)
ISelectEntityPlugin returns the SelectEntityPluginResponse class. The class includes the following properties.
|
Name |
Type |
Description |
|---|---|---|
|
selectedId |
ID |
Salesforce ID of the Billing Entity to be used for the quote |
|
autoSubmit |
Boolean |
If true, the entity will be selected, and users cannot change it. If false, the entity will be selected in the menu, but the user can change it. |