On Change Quote Pricing Relevant
  • 06 Sep 2024
  • 1 Minute to read
  • Dark
    Light

On Change Quote Pricing Relevant

  • Dark
    Light

Article summary

Purpose

Allows you to run a script when quote business attributes listed in the table below are changed.

Attribute typeAttribute
Quote business data attributes
  • Schema.quoteRequestedDate
  • Schema.quotePricingDate
  • Schema.salesDocumentDateOfExpiry
  • Schema.quoteEffectiveDate
  • Schema.documentHeaderDiscount
Quote business relation attributes
  • Schema.hasSalesDocumentType
  • Schema.hasSalesOrg
  • Schema.hasDistributionChannel
  • Schema.hasDivision
  • Schema.hasCurrency
  • Schema.hasPriceGroup
  • Schema.hasPriceList
  • Schema.hasShippingCondition

Setup

Upload the script for On Change Quote Pricing.

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. Contains functions you can use to query and modify the quote and its line items.

Expected output

Not applicable.

Script execution

The script uploaded for this extension point is run automatically when a user updates business attributes related to the quote pricing.


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.