Loading

vlocity_ins__insOsSingleInstance Product Retrieval and Rate Calculation Using InsProductService

Veröffentlichungsdatum: Jun 17, 2026
Beschreibung

The vlocity_ins__insOsSingleInstance Lightning Web Component (LWC) retrieves and displays products along with their calculated prices within an OmniScript. Product retrieval and pricing calculations are performed using services provided by the InsProductService class.

     

    Lösung

    When the vlocity_ins__insOsSingleInstance LWC component is added to an OmniScript, it uses the services provided by the InsProductService class to retrieve products and calculate their prices.

    The following services are used:

    • getEligibleProducts: Determines and retrieves the eligible products. The retrieved products are then passed to getRatedProducts to calculate and retrieve the rates. 

    • getRatedProducts: Retrieves product details along with their calculated rates.

    • repriceProduct: Recalculates rates when a product is customized. This service is not applicable to insOsProductSelection.

    After these services are executed, the products and their corresponding calculated prices are displayed in the LWC component.

    Nummer des Knowledge-Artikels

    005387246

     
    Laden
    Salesforce Help | Article