I noticed recently that when I did a filtered list of invoices and started copying them one by one to individual credit note while using the navigation to scroll down the list that the list kept changing underneath my filtered view.
Example 1: Original filtered
Invoice | Balance Due |
---|---|
1 | 50 |
2 | 100 |
3 | 150 |
What happens when I copy Invoice 1 to a Credit Note is that the order becomes this.
Example 2: Filtered list after invoice 1 was copied to Credit Note
Invoice | Balance Due |
---|---|
2 | 100 |
3 | 150 |
1 | 0 |
Now when I press next this brings me to Invoice 3 skipping invoice number 2.
At the surface this seems benign until you realize that for longer lists, you are bound to go over the same invoice twice while skipping half of the list, but I am too lazy to provide a longer example. However, anyone can test this for themselves.
In my case, this resulted in some invoices getting credited twice while some other invoices were not credited. Also I was doing the list for a single customer so the application is screwed up but statement balance was correct, but if the list contains invoices of multiple customers then the customer balances will be wrong because of this.
This is very similar to another post I made regarding scrolling through a filtered list. See Erratic behavior of Next and Previous buttons
I think that this should be a bug because it only produces unexpected result which would only baffle users.