Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4469

RE: Detailed Sales Report Profit Margin giving me a divide by zero error encountered

$
0
0

Hi Dr.RYU.

Try changing FORMULA part with this next:

Formula = "CASE WHEN TransactionEntry.Price * TransactionEntry.Quantity <> 0 THEN ((TransactionEntry.Price - TransactionEntry.Cost) * TransactionEntry.Quantity)/(TransactionEntry.Price * TransactionEntry.Quantity) ELSE 0 END"

It works on my PC, have just test it.... Be careful, it have to be in whole line, otherwise RMS will not be able to read the report properly...

Regards, A.


Viewing all articles
Browse latest Browse all 4469

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>