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.
W391 blank line at end of file