Inventory quantity with tracking code

I really like the inventory quantity summary report, however, Can I somehow classify each writeoff to tracking code?

I’ve been experimenting to try to create a report which can display both transaction in inventory write-off with its tracking code, however, i found it difficult (if not impossible) to try to link inventory code and name into the write-off transaction in custom reports

How can I call inventory name in relation with inventory write-off because it’s seems to be in diffrent table