Class QuantityCaptureRequestCapturer

java.lang.Object
org.openwms.wms.receiving.impl.AbstractCapturer
org.openwms.wms.receiving.impl.QuantityCaptureRequestCapturer
All Implemented Interfaces:
ReceivingOrderCapturer<QuantityCaptureRequestVO>, org.springframework.plugin.core.Plugin<CaptureRequestVO>

@TxService class QuantityCaptureRequestCapturer extends AbstractCapturer implements ReceivingOrderCapturer<QuantityCaptureRequestVO>
A QuantityCaptureRequestCapturer.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • overbookingAllowed

      private final boolean overbookingAllowed
    • asyncPackagingUnitApi

      private final AsyncPackagingUnitApi asyncPackagingUnitApi
  • Constructor Details

    • QuantityCaptureRequestCapturer

      QuantityCaptureRequestCapturer(@Value("${owms.receiving.unexpected-receipts-allowed:true}") boolean overbookingAllowed, org.ameba.i18n.Translator translator, ReceivingOrderRepository repository, ProductService productService, AsyncPackagingUnitApi asyncPackagingUnitApi)
  • Method Details

    • capture

      @Measured @NotNull public @NotNull ReceivingOrder capture(@NotBlank @NotBlank String pKey, @Valid @NotNull @Valid @NotNull QuantityCaptureRequestVO request)
      Capture received goods to a suitable ReceivingOrderPosition.
      Specified by:
      capture in interface ReceivingOrderCapturer<QuantityCaptureRequestVO>
      Parameters:
      pKey - The persistent identifier of the ReceivingOrder
      request - Particular capturing detail information used to perform the capturing process
      Returns:
      The identified and updated ReceivingOrder instance
    • supports

      public boolean supports(CaptureRequestVO request)
      Specified by:
      supports in interface org.springframework.plugin.core.Plugin<CaptureRequestVO>