Skip to main content
Solved

How to calculate and sum service order profit percentage.

  • June 9, 2023
  • 1 reply
  • 144 views

I have a GI with the results grid shown below. 

Everything works, except the GP% calculation. I started with trying to sum the cost and price on the service order details by service order number. I relate back to the service order to use the “OrderDate” as a filter against “fromdate” and “todate” parameters.

I get the below result from the query.

The difference calculation works. How can I calculate the “Difference/Ext.Price”  as the %Profit in the last column?

 

Regards

Wayne

Best answer by aaghaei

It is ONE of the known limitations of GI. It doesn’t take calculated result to perform math on it. It performs the math on each record before aggregation. What you need is achievable by customization only and creating a projection DAC. 

View original
Did this topic help you find an answer to your question?

1 reply

aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • 1204 replies
  • Answer
  • June 10, 2023

It is ONE of the known limitations of GI. It doesn’t take calculated result to perform math on it. It performs the math on each record before aggregation. What you need is achievable by customization only and creating a projection DAC. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings