Enter Quote Details

Capture the mandatory quote details for creating or updating a quote. Your quote can include details such as name, price book, and optional address.

Input Fields

These parameters configure different components during the Quote Creation process.

Field Name Description
Enable Loader Indicates whether the component ‌should show spinners during fetching of data.
Launch Record ID Specifies the ID that triggers or launches the LWC or the related flow.
Launch Action Type Indicates the value for ConfigureQuote when launched from a quote context for async quote edit operations, otherwise pass an empty value.
Quote ID Specifies the Quote ID for work source addition.
Event Co-Relation ID Specifies the ID to track produced or consumed events through LMS.

Output Fields

These parameters are used to describe the components for the Quote Creation process.

Field Name Description
Quote ID Specifies the Quote ID that is created in the flow during the work estimation process.
Record ID in Context Indicates the flow record ID for the work estimation process. If the ID is unavailable, retrieve it from the URL. Otherwise, use the ID that was used to create the quote for the flow.
Launch Action Type Specifies the action type that was entered or retrieved from the URL.

Published LMS Events and Triggers

These are the events and their trigger condition during quote creation process.

Event Name Trigger Condition
quotedata This event triggers when there are changes to the values of the quote input fields, such as the name, price book, and address. It also includes any data that is pre-loaded from the launch record.
navigation This event triggers when the quotecreated LMS event is received and sets the Quote ID output variable.
showtoast(Operation Type: graphql error, Operation Status: false)

This event triggers when there's an error fetching these data from the launch records:

  • Asset
  • Account
  • Work Order
  • Order
  • Quote

This event also triggers when there's an error fetching an existing quote during the work estimation process.

LMS Events Monitored

When the system receives the quotecreated event, it performs these actions.

Event Name Trigger Monitored
quotecreated This event sets the LWC's output Quote ID variable using the quote ID from the payload, and then fires the navigation event with the action set to Next.