public StockTakeScanLog LoadLog(StockTakeScanLog logger)
 {
     logger.RequestCurrentTenantId = CurrentTenantId;
     logger.RequestWarehouseId     = WarehouseId;
     logger.RequestAuthUserId      = AuthUserId;
     logger.RequestStockTakeId     = StockTakeId;
     logger.RequestProductCode     = ProductCode;
     logger.RequestProductSerial   = ProductSerial;
     logger.RequestPalletSerial    = PalletSerial;
     return(logger);
 }
        public StockTakeScanLog LoadLog(StockTakeScanLog logger)
        {
            logger.ResponseProductName    = ProductName;
            logger.ResponseProductName    = ProductDescription;
            logger.ResponseInStock        = InStock;
            logger.ResponseAllocated      = Allocated;
            logger.ResponseAvailable      = Available;
            logger.ResponseSerialRequired = SerialRequired;

            logger.ResponseSuccess        = Response.Success;
            logger.ResponseFailureMessage = Response.FailureMessage;
            logger.ResponseHasWarning     = Response.HasWarning;
            logger.ResponseWarningMessage = Response.WarningMessage;

            return(logger);
        }