Unit cost in inventory write-offs

In the write off when selecting quantity does not calculate unit cost.

I am also finding the same problem. This used to be automatic and is necessary for “Inventory on Hand” total I presume.