I\'m having trouble with FIFO stock calculation. Here are the table and desired output result.
item date time in_qty out_qty in_Price out_Pric