Hi,
I came across this code in the Sales-Post codeunit in NAV 2017
Couldn't believe what I see so checked the Purch.-Post codeunit and it was exactly the same, FINDFIRST accompanied by REPEAT loop.
I checked the documentation (NAV 2016) and it still explicitly says FINDFIRST should never be used in combination with REPEAT UNTIL.
Has something changed in NAV 2017 regarding this?
Thanks
Answers
In my mind there's no valid reason that this shouldn't be a FINDSET.