After installing the package, we find that as soon as the user accesses the order, it gets marked as "dirty" (the asterix appears in the order tab as though changes were made). This happens even when no changes have been made, therefore users are confused when they are prompted to save changes when they try to close the window.
I've gone through the code in my package and through the process of elimination have found the problem happens when I do this:
Code: Select all
foreach (var ln in order.Loan)
Why would reading through the Loan collection be interpreted as a change to the order?