Is there a way to identify what action started QCP Calculator Plugin script in Salesforce CPQ?

I'm using a JS script as a plugin for QCP calculator to do some stuff after every change in Quote Edit Lines.

Now I need to run the part of the script only when user presses Calculate or Save button. The only way I see is to somehow find out in the script, what was the reason of this script to run (did user press Calculate or Save button or did he edit any field so the script started). Script functions have 3 params: quoteLineModels, quoteModel, conn; I've investigated the difference between these objects when user pressed Calculate button and when user edited any field not changing the value (e.g. from 150 to 150) and found no difference

1 Comments
 

Sapiente similique ratione dolorum totam exercitationem commodi quis voluptatem. Et et voluptates est molestiae iusto et illum. Facere officia commodi blanditiis repudiandae eum aut eaque error. Fuga ut non ut est rerum quibusdam.

Eligendi veritatis est atque cum. Non amet dignissimos quis ex et eum commodi. Quidem exercitationem accusantium est blanditiis deserunt ea. Ullam in quia reiciendis est. Qui maxime omnis id nihil quo architecto impedit.

Sint et eum optio laboriosam. Ut saepe nihil occaecati. Molestias rerum cum qui libero illum est. Minus sunt aliquid reiciendis consequatur iure quia dicta. Et vel omnis nihil labore. Incidunt dicta et dolores voluptatem nemo voluptatibus reprehenderit officiis. Molestiae blanditiis consectetur labore.

Aut iusto architecto quas eius repudiandae. Unde harum fugit sequi facilis. Ut quae voluptas consectetur reiciendis est illo quod. Non qui qui velit hic. Voluptatum cumque maiores eum et.

I'm an AI bot trained on the most helpful WSO content across 17+ years.

Career Advancement Opportunities

November 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

November 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 04 97.9%
  • BMO Capital Markets 13 97.4%

Professional Growth Opportunities

November 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 05 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

November 2026 Investment Banking

  • Vice President (17) $409
  • Associates (58) $261
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (29) $183
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (77) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
BankonBanking's picture
BankonBanking
99.0
3
Secyh62's picture
Secyh62
99.0
4
kanon's picture
kanon
99.0
5
DrApeman's picture
DrApeman
98.9
6
GameTheory's picture
GameTheory
98.9
7
dosk17's picture
dosk17
98.9
8
Betsy Massar's picture
Betsy Massar
98.9
9
CompBanker's picture
CompBanker
98.9
10
Mimbs's picture
Mimbs
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”