Wondering if anyone has run into this sort of issue before? Some of our invoices are getting caught in the Report Warnings step due to variance, but the message says the variance is 0.00! I print out the _totalHdrMiscAmt that the workflow compares to the InvoiceAmt field and it gives me the sum with an extra “1” in the decimal. Thinking this occurs when there are lots of lines, but also have not run into an issue like this until yesterday. Has this happened to anyone else? I tried a little bit yesterday to round to 2 decimal places, but will continue to try today. Just wanted to see if anyone else was having this problem?
The “99.7500000000001” is the value being compared to InvoiceAmt
Nice Matthew, it’s usually the timing of the rounding that bites people, but you got it and thank you @vleveris as always. You’ve been an incredible contributor to this group.
Much appreciated, @utaylor; however, all credit for this solution has to go to my colleague @swilliasc111!
It really is a quick and elegant method for rounding values. To your point, though, it definitely comes down to timing of things, like many other aspects of ECM workflow development.