Subtract fuel from stock when making a HR vehicle log refuel entry

Hi,

How do I automatically deduct diesel from my inventory (tank1, tank2) after making a refuel vehicle log entry?

You can create client script on the Vehicle log entry, which takes the fuel consumption details from the transaction and create Material issue transaction from that.

thanks!