Problem with the divisions function

Hello there!
so I’m using the cloud version and I’m facing the following problem:
I want to track sales made by sales representatives (because their compensation is partly fixed and part commission on sales), so I created two divisions (one for each sales representative), the problem is that in some sales invoices the divisions will appear and on some others it will not !
I noticed that the inventory items that don’t show divisions in their sales invoice creation show a strange reference in their custom income and expense accounts


(I have attached a Pic)

Those are UUID’s for accounts that have been deleted or modified. They need to be reassigned. Perhaps you assigned the accounts to divisions?

it is solved now, thank you