On Quote Routing
  • 06 May 2024
  • 1 Minute to read
  • Dark
    Light

On Quote Routing

  • Dark
    Light

Article summary

Purpose

Allows a script to be executed when the user attempts to route the Quote to other users. Use this script to perform validation checks to enforce that a quote has the minimum necessary information before the routing.

Setup

Upload the script for On Quote Routing.

For details about uploading and configuring Groovy scripts, read Upload a Groovy script.

Binding variables

In addition to the common binding variables, the following binding variables are available for this extension point.

Variable nameClassDescription
salesItemsTreeSalesItemsTree Represents the quote. It contains the functions that can be used to query and modify the quote and its line item data.

Script execution

The script uploaded for this extension point (if any) is executed automatically when the user selects Confirm on the Route Quote screen. If salesItemsTree has been used to modify the quote data in the script, the changes are applied to the quote.

This extension point is optional. If no script has been uploaded for this extension point, the quote is routed without the additional action.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.