There is no other way. Only closing inventory like above is used in profit statement. I'm just wondering myself why is there no dispatch account as an offbalance sheet account. That way
Dispatch a/c
To inventory a/c can be recorded. Sometimes these inventory causes problems and main in auditing cause it's hectic and prone to errors.