Sales invoices: Ledger account disappeared or empty

Just noticed that ledger account is empty in a sales invoice which had already been made. At that time the ledger account was filled in.

Does it have something to do with the fact that at that time [Qty] was not relevant, so null?

Just one specific invoice, all invoices or only invoices where this specific account was used?

I noticed that there was an amount in the [Suspense] by looking at the [Summary].
Clicking on the amount brought me to:

After opening the relevant sales invoices, I saw that the Ledger Accounts were empty, as stated in my previous post.

So in this case it concerns two invoices, from different clients, with the same Ledger Account, [Verkopen 21% NL]. I use this ledger account on almost all invoices. So there are other invoices which are not concerned.

Bug replicable in: Manager v21.4.24 both Server (Ubuntu 20.04) and Desktop (macOS Catalina)

I have the same problem and noticed that it appears when the control account in Customers is not specifically assigned. When none assigned such as trade receivables it automatically assigns “accounts receivable”. This in turn when clicking edit of an affected Sales Invoice and also on the same in Summary → Accounts Receivable one can see that item and account field remain blanc while in all others they work as previously and expected.

Screenshot from Summary → Accounts Receivable → Edit item

Please @Lubos resolve, thanks!

@eko, I’m not able to reproduce the issue and don’t really understand what you did to reproduce it.

@lubos Sorry, digging further it seems more related to the absence of an inventory item which surely must have been human error and not caused by the application. Looking for the culprit :relaxed: