[IMP] sps_stock: Added the 'LIFO Costing' functionality.