public void SetUpContext() { this.OverdueOrderRepository = Substitute.For <IQueryRepository <OverdueOrderLine> >(); this.AccountingCompaniesRepository = Substitute.For <IRepository <AccountingCompany, string> >(); this.ReportingHelper = new ReportingHelper(); this.Sut = new OverdueOrdersReportService(this.OverdueOrderRepository, this.ReportingHelper, this.AccountingCompaniesRepository); }
public SmtReports( IRepository <WorksOrder, int> worksOrdersRepository, IRepository <BomDetailExplodedPhantomPartView, int> bomDetailRepository, IReportingHelper reportingHelper) { this.worksOrdersRepository = worksOrdersRepository; this.bomDetailRepository = bomDetailRepository; this.reportingHelper = reportingHelper; }
public ProductionMeasuresReportService( IQueryRepository <FailedParts> failedPartsRepository, IQueryRepository <ProductionDaysRequired> productionDaysRequiredRepository, IReportingHelper reportingHelper) { this.failedPartsRepository = failedPartsRepository; this.productionDaysRequiredRepository = productionDaysRequiredRepository; this.reportingHelper = reportingHelper; }
public OverdueOrdersReportService( IQueryRepository <OverdueOrderLine> overdueOrderLineQueryRepository, IReportingHelper reportingHelper, IRepository <AccountingCompany, string> accountingCompaniesRepository) { this.overdueOrderLineQueryRepository = overdueOrderLineQueryRepository; this.reportingHelper = reportingHelper; this.accountingCompaniesRepository = accountingCompaniesRepository; }
public AllocationReportsService( IQueryRepository <DespatchPickingSummary> despatchPickingSummaryRepository, IQueryRepository <DespatchPalletQueueDetail> despatchPalletQueueRepository, IReportingHelper reportingHelper) { this.despatchPickingSummaryRepository = despatchPickingSummaryRepository; this.despatchPalletQueueRepository = despatchPalletQueueRepository; this.reportingHelper = reportingHelper; }
public BuildPlansReportService( IQueryRepository <BuildPlanDetailsReportLine> buildPlanDetailsLineRepository, ILinnWeekService linnWeekService, IReportingHelper reportingHelper) { this.buildPlanDetailsLineRepository = buildPlanDetailsLineRepository; this.linnWeekService = linnWeekService; this.reportingHelper = reportingHelper; }
public SalesArticleReports( IRepository <SalesArticle, string> salesArticleRepository, IProductionTriggerLevelsService productionTriggerLevelsService, IReportingHelper reportingHelper) { this.salesArticleRepository = salesArticleRepository; this.productionTriggerLevelsService = productionTriggerLevelsService; this.reportingHelper = reportingHelper; }
public void SetUpContext() { this.DespatchPickingSummaryRepository = Substitute.For <IQueryRepository <DespatchPickingSummary> >(); this.DespatchPalletQueueDetailRepository = Substitute.For <IQueryRepository <DespatchPalletQueueDetail> >(); this.ReportingHelper = new ReportingHelper(); this.Sut = new AllocationReportsService( this.DespatchPickingSummaryRepository, this.DespatchPalletQueueDetailRepository, this.ReportingHelper); }
public TqmsReportsService( IReportingHelper reportingHelper, IQueryRepository <TqmsSummaryByCategory> tqmsSummaryByCategoryQueryRepository, IQueryRepository <TqmsOutstandingLoansByCategory> tqmsOutstandingLoansByCategoryRepository, IRepository <TqmsJobRef, string> tqmsJobRefsRepository) { this.reportingHelper = reportingHelper; this.tqmsSummaryByCategoryQueryRepository = tqmsSummaryByCategoryQueryRepository; this.tqmsOutstandingLoansByCategoryRepository = tqmsOutstandingLoansByCategoryRepository; this.tqmsJobRefsRepository = tqmsJobRefsRepository; }
public AteReportsService( IRepository <AteTest, int> ateTestRepository, IReportingHelper reportingHelper, ILinnWeekService linnWeekService, IRepository <Employee, int> employeeRepository) { this.ateTestRepository = ateTestRepository; this.reportingHelper = reportingHelper; this.linnWeekService = linnWeekService; this.employeeRepository = employeeRepository; }
public ProductionBackOrdersReportService( IQueryRepository <ProductionBackOrdersView> productionBackOrdersViewRepository, IRepository <AccountingCompany, string> accountingCompaniesRepository, IRepository <Cit, string> citRepository, IReportingHelper reportingHelper) { this.productionBackOrdersViewRepository = productionBackOrdersViewRepository; this.accountingCompaniesRepository = accountingCompaniesRepository; this.citRepository = citRepository; this.reportingHelper = reportingHelper; }
public WEEEReports( IQueryRepository <SalesAnalysis> salesAnalysisRepository, IReportingHelper reportingHelper, ISalesPartRepository salesPartRepository, IRepository <SalesArticle, string> salesArticleRepository) { this.salesAnalysisRepository = salesAnalysisRepository; this.reportingHelper = reportingHelper; this.salesPartRepository = salesPartRepository; this.salesArticleRepository = salesArticleRepository; }
public AssemblyFailsReportService( ILinnWeekPack weekPack, IRepository <AssemblyFail, int> assemblyFailRepository, ILinnWeekService linnWeekService, IReportingHelper reportingHelper) { this.assemblyFailsRepository = assemblyFailRepository; this.linnWeekService = linnWeekService; this.reportingHelper = reportingHelper; this.weekPack = weekPack; }
public PartsReportService( IQueryRepository <PartFailLog> partFailLogRepository, IQueryRepository <EmployeeDepartmentView> employeeDepartmentViewRepository, IRepository <Part, string> partRepository, IReportingHelper reportingHelper, ILinnWeekPack linnWeekPack) { this.reportingHelper = reportingHelper; this.linnWeekPack = linnWeekPack; this.partFailLogRepository = partFailLogRepository; this.employeeDepartmentViewRepository = employeeDepartmentViewRepository; this.partRepository = partRepository; }
public StoragePlaceAuditReportService( IReportingHelper reportingHelper, IRepository <Part, int> partsRepository, IRepository <StockLocator, int> stockLocatorRepository, IQueryRepository <StoragePlace> storagePlaceRepository, IQueryRepository <StoresBudget> storesBudgetsRepository) { this.reportingHelper = reportingHelper; this.partsRepository = partsRepository; this.stockLocatorRepository = stockLocatorRepository; this.storagePlaceRepository = storagePlaceRepository; this.storesBudgetsRepository = storesBudgetsRepository; }
public WhatWillDecrementReportService( IProductionTriggerLevelsService productionTriggerLevelsService, IWwdPack wwdPack, IQueryRepository <WwdWork> wwdWorkRepository, IQueryRepository <WwdWorkDetail> wwdWorkDetailsRepository, IQueryRepository <ChangeRequest> changeRequestRepository, IReportingHelper reportingHelper) { this.productionTriggerLevelsService = productionTriggerLevelsService; this.wwdPack = wwdPack; this.wwdWorkRepository = wwdWorkRepository; this.wwdWorkDetailsRepository = wwdWorkDetailsRepository; this.changeRequestRepository = changeRequestRepository; this.reportingHelper = reportingHelper; }
public PartsReportService( IRepository <PartFail, int> partFailLogRepository, IQueryRepository <EmployeeDepartmentView> employeeDepartmentViewRepository, IReportingHelper reportingHelper, ILinnWeekPack linnWeekPack, IRepository <Supplier, int> supplierRepository, IRepository <PurchaseOrder, int> purchaseOrderRepository) { this.partFailLogRepository = partFailLogRepository; this.reportingHelper = reportingHelper; this.linnWeekPack = linnWeekPack; this.supplierRepository = supplierRepository; this.purchaseOrderRepository = purchaseOrderRepository; this.employeeDepartmentViewRepository = employeeDepartmentViewRepository; }
public void SetUpContext() { this.ProductionTriggerLevelsService = Substitute.For <IProductionTriggerLevelsService>(); this.WwdPack = Substitute.For <IWwdPack>(); this.WwdWorkRepository = Substitute.For <IQueryRepository <WwdWork> >(); this.WwdWorkDetailsRepository = Substitute.For <IQueryRepository <WwdWorkDetail> >(); this.ChangeRequestRepository = Substitute.For <IQueryRepository <ChangeRequest> >(); this.ReportingHelper = new ReportingHelper(); this.Sut = new WhatWillDecrementReportService( this.ProductionTriggerLevelsService, this.WwdPack, this.WwdWorkRepository, this.WwdWorkDetailsRepository, this.ChangeRequestRepository, this.ReportingHelper); }
public ValuesByWeekLayout( IReportingHelper reportingHelper, string reportTitle, IEnumerable <string> rowIds = null, bool zeroPad = true) { this.reportingHelper = reportingHelper; this.zeroPad = zeroPad; this.rowIds = rowIds; this.ReportTitle = reportTitle; this.weeksComponent = this.AddComponent <AxisDetailsModel>( "Weeks", "Weeks displayed and total column", false, DataComponentType.Column); this.dataComponent = this.AddComponent <CalculationValueModel>( "Data", "Quantities by week", false, DataComponentType.Grid); }
public WhoBuiltWhatReport(IRepository <WhoBuiltWhat, string> repository, IReportingHelper helper) { this.repository = repository; this.helper = helper; }
public ImportBookReportService(IRepository <ImportBook, int> impbookRepository, IReportingHelper reportingHelper) { this.impbookRepository = impbookRepository; this.reportingHelper = reportingHelper; }
public void SetUpContext() { this.WhoBuiltWhatRepository = Substitute.For <IRepository <WhoBuiltWhat, string> >(); this.ReportingHelper = new ReportingHelper(); this.Sut = new WhoBuiltWhatReport(this.WhoBuiltWhatRepository, this.ReportingHelper); }
public void SetUpContext() { this.ProductionBackOrdersViewRepository = Substitute.For <IQueryRepository <ProductionBackOrdersView> >(); this.AccountingCompaniesRepository = Substitute.For <IRepository <AccountingCompany, string> >(); this.CitsRepository = Substitute.For <IRepository <Cit, string> >(); this.ReportingHelper = new ReportingHelper(); this.AccountingCompaniesRepository.FindById("LINN") .Returns(new AccountingCompany { LatestSosJobId = 1234, Name = "LINN" }); this.CitsRepository.FindById("S") .Returns(new Cit { Name = "Production", SortOrder = 10 }); this.CitsRepository.FindById("T") .Returns(new Cit { Name = "Turning", SortOrder = 20 }); this.ProductionBackOrdersViewRepository .FilterBy(Arg.Any <Expression <Func <ProductionBackOrdersView, bool> > >()).Returns( new List <ProductionBackOrdersView> { new ProductionBackOrdersView { ArticleNumber = "A", OrderQuantity = 3, OrderValue = 400.34m, InvoiceDescription = "A Desc", CanBuildQuantity = 3, CanBuildValue = 400.34m, OldestDate = 1.July(2020), JobId = 1234, CitCode = "S" }, new ProductionBackOrdersView { ArticleNumber = "B", OrderQuantity = 4, OrderValue = 2252.92m, InvoiceDescription = "B Desc", CanBuildQuantity = 2, CanBuildValue = 1126.46m, OldestDate = 1.December(2020), JobId = 1234, CitCode = "S" }, new ProductionBackOrdersView { ArticleNumber = "C", OrderQuantity = 1, OrderValue = 100m, InvoiceDescription = "C Desc", CanBuildQuantity = 1, CanBuildValue = 100m, OldestDate = 1.August(2020), JobId = 1234, CitCode = "T" } }.AsQueryable()); this.Sut = new ProductionBackOrdersReportService( this.ProductionBackOrdersViewRepository, this.AccountingCompaniesRepository, this.CitsRepository, this.ReportingHelper); }
public BuildsSummaryReportService( IBuildsSummaryReportDatabaseService databaseService, IReportingHelper reportingHelper) { this.databaseService = databaseService; this.reportingHelper = reportingHelper; }
public void SetUpContext() { this.BoardTestRepository = Substitute.For <IRepository <BoardTest, BoardTestKey> >(); this.ReportingHelper = new ReportingHelper(); this.Sut = new BoardTestReports(this.BoardTestRepository, this.ReportingHelper); }
public ManufacturingCommitDateReport(IQueryRepository <MCDLine> mcdRepository, IReportingHelper reportingHelper) { this.mcdRepository = mcdRepository; this.reportingHelper = reportingHelper; }
public BoardTestReports(IRepository <BoardTest, BoardTestKey> repository, IReportingHelper reportingHelper) { this.repository = repository; this.reportingHelper = reportingHelper; }
public void SetUpContext() { this.MCDLinesRepository = Substitute.For <IQueryRepository <MCDLine> >(); this.ReportingHelper = new ReportingHelper(); this.Sut = new ManufacturingCommitDateReport(this.MCDLinesRepository, this.ReportingHelper); }