//Custom Code End //Custom Code Start | Replaced Code Block //Replaced Code Block Start //public ReceivingController(IReceivingService receivingService) //Replaced Code Block End public ReceivingController(IReceivingService receivingService, IInboundOrderLinesService inboundorderlinesService) //Custom Code End { _receivingService = receivingService; //Custom Code Start | Added Code Block _inboundorderlinesService = inboundorderlinesService; //Custom Code End }
//Custom Code End //Custom Code Start | Replaced Code Block //Replaced Code Block Start //public ReceivingService(IReceivingRepository receivingRepository) //Replaced Code Block End public ReceivingService(IReceivingRepository receivingRepository, IHandlingUnitsService handlingunitsService, IInventoryUnitsService inventoryunitsService, IInventoryUnitTransactionContextsService inventoryunittransactioncontextsService, IInboundOrdersService inboundordersService, IInboundOrderLinesService inboundorderlinesService, CommonLookUps commonLookUps) //Custom Code End { _receivingRepository = receivingRepository; //Custom Code Start | Added Code Block _handlingunitsService = handlingunitsService; _inventoryunitsService = inventoryunitsService; _inventoryunittransactioncontextsService = inventoryunittransactioncontextsService; _ixInventoryUnitTransactionContext = _inventoryunittransactioncontextsService.IndexDb().Where(x => x.sInventoryUnitTransactionContext == "Receiving").Select(x => x.ixInventoryUnitTransactionContext).FirstOrDefault(); _inboundordersService = inboundordersService; _inboundorderlinesService = inboundorderlinesService; _commonLookUps = commonLookUps; //Custom Code End }
public InboundOrderLinesController(IInboundOrderLinesService inboundorderlinesService) { _inboundorderlinesService = inboundorderlinesService; }
//Custom Code End //Custom Code Start | Replaced Code Block //Replaced Code Block Start //public InboundOrdersController(IInboundOrdersService inboundordersService) //Replaced Code Block End public InboundOrdersController(IInboundOrdersService inboundordersService, IInboundOrderLinesService inboundorderlinesService) //Custom Code End { _inboundordersService = inboundordersService; _inboundorderlinesService = inboundorderlinesService; }