Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Asset Service Lifecycle Management
Work Type Actions for Work Estimation

Work Type Actions for Work Estimation

Add or edit products and Quote Line Items (QLIs) of a specific work type within a work source.

Input Fields

These are the parameters for the ‌Work Source and Work Type Configuration.

Field Name Description
Quote ID (Mandatory) Specifies the Quote ID for work source addition.
Enable Loader Indicates whether the component shows the spinner when fetching data.
WorkSource ID (Mandatory) Specifies the work type ID that's to be added or edited.
Work Type Action (Mandatory) Specifies the addworktype or editworktype action on the work type for a work source.
Flow Launch Record ID Specifies the ID to indicate the origin of the LWC or the flow. Use this ID to get the work source and work type information if the flow is launched from a work order.
Valid Work Order Statuses Indicates the work order status such as New, Draft, or In Progress, separated by a comma without any space.
Event Co-Relation ID Specifies the ID to track the produced or consumed events through LMS.

Output Fields

None

Published LMS Events and Triggers

These are the events and their trigger condition for the ‌Work Source and Work Type Configuration.

Event Name Trigger Condition
showtoast (Operation Type: graphql error, Operation Status: false)

This event triggers if an error occurs when fetching this data:

  • Work type group member data for the work type group to filter the work types
  • Work type details, such as name or required products
  • Price Book entry for the price book ID and the required products for the work type
  • QLIs under the work source and quote
  • Child or sibling work orders for a particular work order from which the flow is launched
modalnavigation This event triggers when you select Cancel or Add in the navigation window pop-up.
worktypeoperation This event triggers when you save the work type operation.

LMS Events Monitored

None

 
Loading
Salesforce Help | Article