Determine G/L account when issuing stock item from warehouse


In the case of non-stock items, I can determine the G/L account
using item master’s default expense account.

But as for stock items, when I issue stock items from a warehouse
only stock adjustment account is determined by the system.

How can I determine the G/L account depending on the stock items?

for example

  1. repair cost / stock on hand
  2. consumables / stock on hand

you can use stock ledger to determine issuing stock item from warehouse