public DirectSalesGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialRepository materialRepository, IUnitRepository unitRepository, IDatabase database, ISaleEventRepository saleEventRepository) : base(batchFacade, invoiceFormsRepository, materialRepository) { m_materialRepository = materialRepository; m_unitRepository = unitRepository; m_database = database; m_saleEventRepository = saleEventRepository; }
public BatchReportingFacade(ISession session, IDatabase database, IMaterialBatchFacade batchFacade, IMaterialBatchRepository batchRepository, IMaterialRepository materialRepository, IProductionFacade productionFacade, AmountProcessor amountProcessor, IUnitRepository unitRepository, IOrdersFacade ordersFacade, IOrderStatusRepository orderStatusRepository, IPurchaseOrderRepository orderRepository, IUserRepository userRepository, IStockEventRepository stockEventRepository, ISaleEventRepository saleEventRepository) { m_session = session; m_database = database; m_batchFacade = batchFacade; m_batchRepository = batchRepository; m_materialRepository = materialRepository; m_productionFacade = productionFacade; m_amountProcessor = amountProcessor; m_unitRepository = unitRepository; m_ordersFacade = ordersFacade; m_orderStatusRepository = orderStatusRepository; m_orderRepository = orderRepository; m_userRepository = userRepository; m_stockEventRepository = stockEventRepository; m_saleEventRepository = saleEventRepository; }
public PremanufacturedMixturesInvFrmGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialRepository materialRepository) : base(batchFacade, invoiceFormsRepository) { m_materialRepository = materialRepository; }
public StockEventsFormsGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialRepository materialRepository, IStockEventRepository stockEventRepository, IDatabase database) : base(batchFacade, invoiceFormsRepository, materialRepository) { m_stockEventRepository = stockEventRepository; m_database = database; }
public SetComponents(IMaterialRepository materialRepository, IUnitRepository unitRepository, AmountProcessor amountProcessor, IMaterialBatchFacade batchFacade, IMaterialBatchRepository batchRepository) { m_materialRepository = materialRepository; m_unitRepository = unitRepository; m_amountProcessor = amountProcessor; m_batchFacade = batchFacade; m_batchRepository = batchRepository; }
public ReturnedOrdersFormGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialRepository materialRepository, IPurchaseOrderRepository orderRepository, IUnitRepository unitRepository, AmountProcessor amountProcessor, IStockEventRepository stockEventRepository) : base(batchFacade, invoiceFormsRepository, materialRepository) { m_materialRepository = materialRepository; m_orderRepository = orderRepository; m_unitRepository = unitRepository; m_amountProcessor = amountProcessor; m_stockEventRepository = stockEventRepository; }
public BatchCompositionReleaseFormsGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialBatchRepository batchRepository, IDatabase database, IMaterialRepository materialRepo) : base( batchFacade, invoiceFormsRepository, materialRepo) { m_batchRepository = batchRepository; m_database = database; }
public WarehouseActionsController(IWebSession webSession, ILog log, IMaterialRepository materialRepository, IUnitRepository unitRepository, IMaterialBatchRepository batchRepository, IMaterialBatchFacade batchFacade, ISupplierRepository supplierRepository) : base(webSession, log) { m_materialRepository = materialRepository; m_unitRepository = unitRepository; m_batchRepository = batchRepository; m_batchFacade = batchFacade; m_supplierRepository = supplierRepository; }
public EshopSalesGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IPurchaseOrderRepository orderRepository, IMaterialRepository materialRepository, IUnitRepository unitRepository, IDatabase database) : base(batchFacade, invoiceFormsRepository, materialRepository) { m_orderRepository = orderRepository; m_materialRepository = materialRepository; m_unitRepository = unitRepository; m_database = database; }
public StockEventsController(IWebSession webSession, ILog log, IStockEventRepository eventRepository, IMaterialBatchFacade batchFacade, IMaterialBatchRepository batchRepository, AmountProcessor amountProcessor) : base(webSession, log) { m_eventRepository = eventRepository; m_batchFacade = batchFacade; m_batchRepository = batchRepository; m_amountProcessor = amountProcessor; }
public BatchPriceBulkProvider(IDatabase database, ISession session, IMaterialBatchFacade batchFacade, DateTime from, DateTime to) { m_database = database; m_session = session; m_batchFacade = batchFacade; m_from = from; m_to = to; Preload(); }
public SaleEventRepository(IDatabase database, ICache cache, ISession session, IServiceLocator serviceLocator, IMaterialBatchFacade batchFacade, IMaterialRepository materialRepository, AmountProcessor amountProcessor) { m_database = database; m_cache = cache; m_session = session; m_serviceLocator = serviceLocator; m_batchFacade = batchFacade; m_materialRepository = materialRepository; m_amountProcessor = amountProcessor; }
public InvoiceFormRepository(IDatabase database, ISession session, ICache cache, ISysCountersManager countersManager, ILog log, IServiceLocator serviceLocator, IMaterialBatchFacade batchFacade) { m_database = database; m_session = session; m_cache = cache; m_countersManager = countersManager; m_log = log; m_serviceLocator = serviceLocator; m_batchFacade = batchFacade; }
public ApplySourceSegmentId(IMaterialBatchRepository batchRepository, IMaterialBatchFacade batchFacade, AmountProcessor amountProcessor, IRecipeRepository recipeRepository, IMaterialRepository materialRepository, IUnitRepository unitRepository) { m_batchRepository = batchRepository; m_batchFacade = batchFacade; m_amountProcessor = amountProcessor; m_recipeRepository = recipeRepository; m_materialRepository = materialRepository; m_unitRepository = unitRepository; }
protected override IEnumerable <IMaterialBatch> FindSourceBatches(IMaterialInventory forInventory, int year, int month, IMaterialBatchFacade facade, IInvoiceFormGenerationContext context) { var startDate = new DateTime(year, month, 1).Date; var endDate = startDate.AddMonths(1); context.Info($"Hledám šarže na skladu {forInventory.Name} od {startDate} do {endDate}"); return(facade.FindNotClosedBatches(forInventory.Id, startDate, endDate).ToList()); }
protected ReleaseFormsGeneratorBase(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialRepository materialRepository) { m_batchFacade = batchFacade; m_materialRepository = materialRepository; FormType = invoiceFormsRepository.GetInvoiceFormTypes().FirstOrDefault(t => t.GeneratorName.Equals("ReleasingForm", StringComparison.InvariantCultureIgnoreCase)); if (FormType == null) { throw new InvalidOperationException("No InvoiceFormType found by 'ReleasingForm'"); } }
public OrdersFacade( IPurchaseOrderRepository orderRepository, IDatabase database, IErpClientFactory clientFactory, ISession session, IPaymentRepository paymentRepository, ILog log, IMaterialBatchFacade batchFacade, IKitProductRepository kitProductRepository) { m_orderRepository = orderRepository; m_database = database; m_clientFactory = clientFactory; m_session = session; m_paymentRepository = paymentRepository; m_log = log; m_batchFacade = batchFacade; m_kitProductRepository = kitProductRepository; }
public ProductionFacade( IDatabase database, IMaterialBatchRepository batchRepository, IMaterialRepository materialRepository, IUnitConversionHelper unitConversion, AmountProcessor amountProcessor, ILog log, IMaterialBatchFacade batchFacade, IUnitRepository unitRepository, ISession session) { m_database = database; m_batchRepository = batchRepository; m_materialRepository = materialRepository; m_unitConversion = unitConversion; m_amountProcessor = amountProcessor; m_log = log; m_batchFacade = batchFacade; m_unitRepository = unitRepository; m_session = session; }
public PackingController( IWebSession webSession, ILog log, IPurchaseOrderRepository orderRepository, IShipmentProvider shipmentProvider, IOrdersFacade ordersFacade, IKitProductRepository kitProductRepository, IErpClientFactory erpClientFactory, IMaterialBatchFacade batchFacade, IDatabase database, IVirtualProductFacade virtualProductFacade, OrdersSystemConfig config) : base(webSession, log) { m_orderRepository = orderRepository; m_shipmentProvider = shipmentProvider; m_ordersFacade = ordersFacade; m_kitProductRepository = kitProductRepository; m_erpClientFactory = erpClientFactory; m_batchFacade = batchFacade; m_database = database; m_virtualProductFacade = virtualProductFacade; m_config = config; }
public PurchasedMaterialInvFrmGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository) : base(batchFacade, invoiceFormsRepository) { }
public FinalProductRecInvFormGenerator(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository, IMaterialRepository materialRepository) : base(batchFacade, invoiceFormsRepository, materialRepository) { }
protected abstract IEnumerable <IMaterialBatch> FindSourceBatches(IMaterialInventory forInventory, int year, int month, IMaterialBatchFacade facade, IInvoiceFormGenerationContext context);
public MaterialLevelController(IWebSession webSession, ILog log, IMaterialBatchFacade batchFacade) : base(webSession, log) { m_batchFacade = batchFacade; }
protected ReceivingInvoiceGeneratorBase(IMaterialBatchFacade batchFacade, IInvoiceFormsRepository invoiceFormsRepository) { m_batchFacade = batchFacade; m_invoiceFormsRepository = invoiceFormsRepository; }