Announcements
No record found.
I am trying to get a % margin calculation on each opportunity line item.
I have added a new field in the opportunity line entity as a calculated field but can't figure out how to pull in the current cost from the products list in order to do the calculation.
Is there a way of doing without custom code?
Hello, I would recommend making a business rule, I attach the link to review the information: docs.microsoft.com/.../create-business-rules-recommendations-apply-logic-form
The other option would be to do it from JavaScript.
Thanks!
Community Support Team - Esteban
If this Post helps, then please consider Accept as solution to help the other members find it more quickly.
Thanks for reply, but I am struggling with this. I am creating the business rule in the opportunity line entity and need to access current cost information in the Products list. I can't seem to find how I do this within a business rule.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Muhammad Shahzad Sh... 69 Most Valuable Professional
ManoVerse 55 Super User 2026 Season 1
11manish 37