I have a requirement to maintain the fuel inventory for vehicles and consumption of fuel will be on FIFO basis the vehicle fuels will be loaded in different filling stations and different price @ each filling station.
If vehicles complete the round trip then fuel consumption and fuel price need to calculate based on location price for each destination (means Fuel inventory will be FIFO based)
Example: V1 and V2, V3………Vehicles
Vehicles fuel tank capacity will be 30 liters
If V1 vehicle will move from --X -- location to-- Y - fuel consumption will be 20 liters and price 10$ fuel uploaded port is X
If V1 will be when return back from Y to X --location then consumption will be 20 liters 10 liters price is 10$ and another 10 liters price will be 10 pounds which is uploaded fuel in Y location then total cost of fuel will be 10$ +10 pounds
Please advice for fuel inventory managing by FIFO logic.
Thanks
vara