On Change Quote Pricing Relevant

Purpose

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

Attribute type

Attribute

Quote or agreement business data attributes

  • Schema.quoteRequestedDate

  • Schema.quotePricingDate

  • Schema.salesDocumentDateOfExpiry

  • Schema.quoteEffectiveDate

  • Schema.documentHeaderDiscount

Quote or agreement 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 name

Class

Description

salesItemsTree

SalesItemsTree

Represents the quote or the Quote object associated with the agreement under negotiation. It contains the functions that you can use to query and modify the quote or agreement and its line item data.

Expected output

Not applicable.

Script execution

The script that you upload for this extension point runs automatically when a user updates business attributes related to the quote or agreement pricing.