FIFO Don’t work

In case of sales or inventory write off manager uses average weighted method to costing of goods sold not FIFO and I choose item method valuation FIFO