Exemplo n.º 1
0
        public ReturnFromClientWaybillService(ISettingRepository settingRepository, IReturnFromClientWaybillRepository returnFromClientWaybillRepository,
                                              ITeamRepository teamRepository, IDealRepository dealRepository, IStorageRepository storageRepository, IUserRepository userRepository, IArticlePriceService articlePriceService,
                                              IAcceptedSaleIndicatorService saleIndicatorService,
                                              IReturnFromClientService returnFromClientService, IFactualFinancialArticleMovementService factualFinancialArticleMovementService,
                                              IArticleMovementOperationCountService articleMovementOperationCountService,
                                              IArticleMovementService articleMovementService, IDealPaymentDocumentDistributionService dealPaymentDocumentDistributionService,
                                              IDealIndicatorService dealIndicatorService, IArticleRevaluationService articleRevaluationService, IExpenditureWaybillIndicatorService expenditureWaybillIndicatorService,
                                              IArticleAvailabilityService articleAvailabilityService)
        {
            this.settingRepository = settingRepository;
            this.returnFromClientWaybillRepository = returnFromClientWaybillRepository;
            this.teamRepository          = teamRepository;
            this.articlePriceService     = articlePriceService;
            this.saleIndicatorService    = saleIndicatorService;
            this.returnFromClientService = returnFromClientService;
            this.factualFinancialArticleMovementService = factualFinancialArticleMovementService;
            this.articleMovementOperationCountService   = articleMovementOperationCountService;
            this.articleMovementService = articleMovementService;

            this.articleRevaluationService = articleRevaluationService;
            this.dealPaymentDocumentDistributionService = dealPaymentDocumentDistributionService;
            this.dealIndicatorService = dealIndicatorService;
            this.dealRepository       = dealRepository;
            this.storageRepository    = storageRepository;
            this.userRepository       = userRepository;
            this.expenditureWaybillIndicatorService = expenditureWaybillIndicatorService;

            this.articleAvailabilityService = articleAvailabilityService;
        }
Exemplo n.º 2
0
        public WriteoffWaybillService(ISettingRepository settingRepository, IWriteoffWaybillRepository writeoffWaybillRepository, IStorageRepository storageRepository, IUserRepository userRepository, IArticleMovementService articleMovementService, IArticlePriceService articlePriceService,
                                      IFactualFinancialArticleMovementService factualFinancialArticleMovementService, IArticleMovementOperationCountService articleMovementOperationCountService,
                                      IArticleAvailabilityService articleAvailabilityService, IReceiptWaybillService receiptWaybillService, IArticleRevaluationService articleRevaluationService)
            : base(articleAvailabilityService)
        {
            this.settingRepository         = settingRepository;
            this.writeoffWaybillRepository = writeoffWaybillRepository;
            this.storageRepository         = storageRepository;
            this.userRepository            = userRepository;

            this.articleMovementService = articleMovementService;
            this.articlePriceService    = articlePriceService;

            this.factualFinancialArticleMovementService = factualFinancialArticleMovementService;
            this.articleMovementOperationCountService   = articleMovementOperationCountService;
            this.receiptWaybillService = receiptWaybillService;

            this.articleRevaluationService = articleRevaluationService;
        }
        public ChangeOwnerWaybillService(ISettingRepository settingRepository, IChangeOwnerWaybillRepository changeOwnerWaybillRepository, IArticleRepository articleRepository,
                                         IStorageRepository storageRepository, IUserRepository userRepository,
                                         IArticlePriceService articlePriceService, IArticleAvailabilityService articleAvailabilityService, IArticleMovementService articleMovementService,
                                         IReceiptWaybillService receiptWaybillService, IArticleRevaluationService articleRevaluationService)
            : base(articleAvailabilityService)
        {
            this.settingRepository            = settingRepository;
            this.changeOwnerWaybillRepository = changeOwnerWaybillRepository;
            this.articleRepository            = articleRepository;
            this.storageRepository            = storageRepository;
            this.userRepository = userRepository;

            this.articlePriceService    = articlePriceService;
            this.articleMovementService = articleMovementService;

            this.receiptWaybillService     = receiptWaybillService;
            this.articleRevaluationService = articleRevaluationService;

            articleMovementService.ChangeOwnerWaybillReadyToChangedOwner += new ChangeOwnerWaybillEvent(ChangeOwner);
        }
        public AccountingPriceListService(IAccountingPriceListRepository accountingPriceListRepository, IReceiptWaybillRepository receiptWaybillRepository,
                                          IMovementWaybillRepository movementWaybillRepository, IChangeOwnerWaybillRepository changeOwnerWaybillRepository,
                                          IExpenditureWaybillRepository expenditureWaybillRepository, IWriteoffWaybillRepository writeoffWaybillRepository,
                                          IReturnFromClientWaybillRepository returnFromClientWaybillRepository, IArticleRevaluationService articleRevaluationService)
        {
            articleAvailabilityService             = IoCContainer.Resolve <IArticleAvailabilityService>();
            articlePriceService                    = IoCContainer.Resolve <IArticlePriceService>();
            storageService                         = IoCContainer.Resolve <IStorageService>();
            accountingPriceCalcRuleService         = IoCContainer.Resolve <IAccountingPriceCalcRuleService>();
            accountingPriceCalcService             = IoCContainer.Resolve <IAccountingPriceCalcService>();
            articleAccountingPriceIndicatorService = IoCContainer.Resolve <IArticleAccountingPriceIndicatorService>();

            this.accountingPriceListRepository = accountingPriceListRepository;

            this.receiptWaybillRepository          = receiptWaybillRepository;
            this.movementWaybillRepository         = movementWaybillRepository;
            this.changeOwnerWaybillRepository      = changeOwnerWaybillRepository;
            this.expenditureWaybillRepository      = expenditureWaybillRepository;
            this.writeoffWaybillRepository         = writeoffWaybillRepository;
            this.returnFromClientWaybillRepository = returnFromClientWaybillRepository;

            this.articleRevaluationService = articleRevaluationService;
        }