ILSGateway product stock migration and first reports

@czue PR contains migration of some small part of stock data from ILSGateway. Some logic is directly moved from ILS.
F401 'group' imported but unused