Hi All,
Please advise - seeing this with our customer - live database and ABC sample database throw the following exceptions while navigating through line items distribution:
MoveFirst: <Error: 0 in Method MOVEFIRST>
MoveNext: <Error: 0 in Method MOVENEXT>; <Error: 542 in Method MOVENEXT>
It is seen with invoices; sales orders are ok. We use an SO_Shipping_UI object's oLines.oDistribution. We cannot replicate it in our environment, so it must be something specific to their installation.
There is a corresponding record in the SO_InvoiceTierDistribution table but the first call of MoveFirst returns the above error.
What's worse is that we also have an EOF check as the loop condition which does not raise exception but always returns False, meaning we got an infinite loop.
Any advice would be very much appreciated,
thanks,
Alex