Notifications
Announcements
No record found.
How to find SalesQuotationForm -> Sales quotation total section "Order Balance, Order Contribution Ratio, Order Margin"
*This post is locked for comments
Hello Lana,
Can you describe what you want to find exactly and especially where? Do you plan to make some modifications to the sales quotation form and try to identify the underlying data sources in Visual Studio or what is it exactly that you are trying to do?
Would be great if you could provide some additional information here. Just one short sentence is a big meager to provide you some clear and straightforward answer.
Many thanks and best regards,
Ludwig
Thanks Dr. Ludwig Reinhard,
I have add post subscription method, it's trigger when the SalesQuotation table "update". I getting SalesQuotation instance for newly updated record. Thorugh this instance how can I calculate "Order Balance, Order Contribution Ratio, Order Margin"?
Hi Lana,
To calculate those values you must use the SalesQuotationTotals class.
Sample code:
SalesQuotationTotals totals = SalesQuotationTotals::construct(salesQuotationTable);
Amount balance = totals.totalBalance();
Amount contributionRatio = totals.totalContributionRatio();
Amount margin = totals.totalContributionMargin();
Thanks lot Pedro Tornich, I am new to MS Dynamics, have stuck in last one day. Your answer very helpful to me. Once again "Merci à toi".
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2