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
 

Autem quae animi qui et aut occaecati. Dolor voluptas quo optio cumque nam quaerat. Illo magnam laborum ad consequatur voluptatum cumque. Iusto magnam reiciendis totam dolore ut architecto necessitatibus voluptatem. Maxime aperiam iure nesciunt aliquid. Facere repellendus accusantium dolores minus debitis quidem cumque.

Consequuntur repellendus assumenda sit delectus. Est eum quia aut qui ea. Praesentium ea repellat voluptatum quia qui veritatis. Molestiae quisquam optio atque rerum asperiores minus porro. Aut voluptas velit qui perspiciatis. Qui aut consectetur hic architecto.

Veritatis voluptate exercitationem earum sint nihil et quia. Laboriosam eveniet corporis tempora debitis est a iure. Dolor eaque assumenda quibusdam totam possimus magnam. Necessitatibus excepturi natus nulla totam non molestiae.

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

Career Advancement Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Morgan Stanley 08 97.8%
  • Goldman Sachs 02 97.2%

Overall Employee Satisfaction

August 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.9%
  • Morgan Stanley 01 98.3%
  • Banco Santander 02 97.8%
  • BMO Capital Markets 12 97.2%

Professional Growth Opportunities

August 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 06 98.3%
  • Goldman Sachs 01 97.8%
  • JPMorgan 01 97.2%

Total Avg Compensation

August 2026 Investment Banking

  • Vice President (16) $429
  • Associates (48) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (25) $178
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (83) $151
  • Intern/Summer Analyst (75) $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
kanon's picture
kanon
99.0
3
Secyh62's picture
Secyh62
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
Betsy Massar's picture
Betsy Massar
98.9
6
CompBanker's picture
CompBanker
98.9
7
DrApeman's picture
DrApeman
98.9
8
dosk17's picture
dosk17
98.9
9
GameTheory's picture
GameTheory
98.9
10
numi's picture
numi
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...”