Search in sources :

Example 1 with IBPartnerBL

use of de.metas.bpartner.service.IBPartnerBL in project metasfresh-webui-api by metasfresh.

the class PickingV2TestHelper method createProductsToPickRowsDataFactory.

public ProductsToPickRowsDataFactory createProductsToPickRowsDataFactory() {
    final IBPartnerBL bpartnersService = createAndRegisterBPartnerBL();
    final HUReservationRepository huReservationRepository = new HUReservationRepository();
    final HUReservationService huReservationService = new HUReservationService(huReservationRepository);
    final PickingCandidateRepository pickingCandidateRepository = new PickingCandidateRepository();
    final HUTraceRepository huTraceRepository = new HUTraceRepository();
    final HuId2SourceHUsService sourceHUsRepository = new HuId2SourceHUsService(huTraceRepository);
    final PickingCandidateService pickingCandidateService = new PickingCandidateService(new PickingConfigRepository(), pickingCandidateRepository, sourceHUsRepository);
    return ProductsToPickRowsDataFactory.builder().bpartnersService(bpartnersService).huReservationService(huReservationService).pickingCandidateService(pickingCandidateService).locatorLookup(this::generateLocatorLookupById).build();
}
Also used : HUTraceRepository(de.metas.handlingunits.trace.HUTraceRepository) PickingCandidateRepository(de.metas.handlingunits.picking.PickingCandidateRepository) PickingConfigRepository(de.metas.picking.api.PickingConfigRepository) HuId2SourceHUsService(de.metas.handlingunits.sourcehu.HuId2SourceHUsService) PickingCandidateService(de.metas.handlingunits.picking.PickingCandidateService) IBPartnerBL(de.metas.bpartner.service.IBPartnerBL) HUReservationRepository(de.metas.handlingunits.reservation.HUReservationRepository) HUReservationService(de.metas.handlingunits.reservation.HUReservationService)

Aggregations

IBPartnerBL (de.metas.bpartner.service.IBPartnerBL)1 PickingCandidateRepository (de.metas.handlingunits.picking.PickingCandidateRepository)1 PickingCandidateService (de.metas.handlingunits.picking.PickingCandidateService)1 HUReservationRepository (de.metas.handlingunits.reservation.HUReservationRepository)1 HUReservationService (de.metas.handlingunits.reservation.HUReservationService)1 HuId2SourceHUsService (de.metas.handlingunits.sourcehu.HuId2SourceHUsService)1 HUTraceRepository (de.metas.handlingunits.trace.HUTraceRepository)1 PickingConfigRepository (de.metas.picking.api.PickingConfigRepository)1