Post Quote Creation
  • 06 May 2024
  • 1 Minute to read
  • Dark
    Light

Post Quote Creation

  • Dark
    Light

Article summary

Purpose

Allows you to run a script when a new quote is created, to set default values for specified fields.

Setup

Upload the script for Post Quote Creation.

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 you can use to query and modify the quote and its line item data.
accountInfoAccountInfo Basic data about the account, including its address data.
userInfoListSet<UserInfo>List of all users in the system.
sourceQuotePFRecordsSet<PartnerFunctionRecord>List of partner function records in the quote. If the script is triggered due to the quote copy action, this variable is populated with information about the partner functions of the source quote.
accountPFRecordsList<PartnerFunctionRecord>List of partner function records for the account of the quote.

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.