Forum Discussion

andy_Bel's avatar
andy_Bel
Cover User
3 years ago

unable to edit invoice

Hi,

 

I upgraded to 2022.1 last week, after that, I can't able to edit invoice, everytime I try to record an edited invoice, it come up error massage :

 

Code:
System.InvalidOperationException


Message:
Sequence contains no elements

 

I searched on the forum and try every possible solution, as such Link Sales Account, but fail, MYOB support has upgrade me to level 2 support, but two day passed, still waiting on reply.

 

Any fellow members have the same problem?

  • Neil_M's avatar
    Neil_M
    Former Staff

    Hi andy_Bel 

     

    By chance, are you trying to edit an item invoice? If so do any of the items on the invoice have zero on hand quantity?

     

    Assuming this is the case, take a backup of your file. Once you’ve got a backup, do an inventory adjustment to increase the on hand quantity by 0.01 and the relevant item cost for the quantity

     

    This should allow you to now make the desired edits to the invoice. Once you’ve made the edits to the invoice, you can then either delete the inventory adjustment or record another one to reduce the items on hand quantity and value back to zero