Custom code needed to subtract line item

I am needing help with some custom code for Operations Hub.

I would like to subtract the net price of a line item with a SKU of PROFESSIONAL from the total deal amount and set a new property with this amount.

So the calculation would be:

Total deal amount - net price of PROFESSIONAL = The company property I would like to set which is called ‘Professional Packages Deal Amount’.

Hoping someone can help me as I have no knowledge of code. Thank you!

Hi @erica11 ,

Thank you for reaching out! I would like to tag our experts in on this @Drew_Cohen , @JenBergren , and @warrendavey . They would be able to give a bit more insight on this.

Best,

@JenWeiss