Components
Manage products
Tag: <we-crm-opportunity-products>
Standard module: we_crm_opportunity_products
Modal for adding, editing, and removing Opportunity or Quote line items using active Products or Pricebook Entries.
Features
- Loads existing line items and available catalog selections.
- Validates positive quantity and nonnegative unit price before saving additions, edits, and removals.
Public parameters
| JavaScript property | HTML attribute | Type | Initial value | Purpose |
|---|---|---|---|---|
recordId |
record-id |
String | '' |
ID of the record in context. |
objectName |
object-name |
String | '' |
Object API name in context. |
Public methods
No @apiFunction methods are declared.
Events
No directly constructed CustomEvent was found in this component source. Standard DOM events can still occur.
This is a modal component. Application code opens it through the modal class’s static open({ props }) method; see the component authoring guide.
Source: working/environment_modules/standard/we_crm_opportunity_products/WebComponent/WeCrmOpportunityProducts.js.