Customize price field value on sc_request table

Himabindu4
Tera Contributor

Hello Community,

 

I have a catalog item, where once submitted, based on the selected variables price on the ritm form gets updated. Another catalog item is added to cart and submitted within the workflow, which creates another ritm and attached to the parent request again the price value is updated on this new ritm based on the variable value which is carried from the first created ritm.

 

The issue here is, price on the request form gets updated by summing the ritms price which is OOB functionality, however, I would like to customize the price on the request form without the sum of both ritms.

 

Tried customizing below business rules yet unable to achieve the requirement.

Reduce request price - approval change -> triggers on approval table
Reduce request price - item change -> triggers on ritm table

 

Inactivated both the BRs and still the price on the request form gets updated with summed up value.

 

Please share if I am missing anything on achieving this.

 

Thank you!

 

 

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

Hi @Himabindu4 , 

Please refer this link might be helpful.

https://www.servicenow.com/community/developer-articles/pass-custom-variable-price-in-to-cart-total/...

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution