From 197073930656999989f4954b4308d376649262ae Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Fri, 13 Jan 2023 07:39:54 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B8=20=D0=BE=D1=82=D1=81?= =?UTF-8?q?=D1=83=D1=82=D1=81=D1=82=D0=B2=D0=B8=D0=B8=20=D0=B2=20=D1=86?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D0=B2=D0=BE=D0=BC=20=D0=BB=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=B5=20=D0=BA=D0=BE=D0=BB=D0=BE=D0=BD=D0=BA=D0=B8=20=D1=81?= =?UTF-8?q?=D0=BE=20=D1=81=D1=82=D0=B0=D1=80=D1=8B=D0=BC=20=D0=B0=D1=80?= =?UTF-8?q?=D1=82=D0=B8=D0=BA=D1=83=D0=BB=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controllers/ToolBase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controllers/ToolBase.cs b/src/Controllers/ToolBase.cs index 72f480e..aa766b9 100644 --- a/src/Controllers/ToolBase.cs +++ b/src/Controllers/ToolBase.cs @@ -48,7 +48,6 @@ namespace RhSolutions.Controllers { Range worksheetCells = TargetFile.Sheet.Cells; Range skuColumn = TargetFile.SkuCell.EntireColumn; - Range oldSkuColumn = TargetFile.OldSkuCell.EntireColumn; int? row = GetPositionRow(skuColumn, positionAmount.Key.ProductSku, positionAmount.Key.ProductLine); @@ -66,7 +65,7 @@ namespace RhSolutions.Controllers if (TargetFile.OldSkuCell != null) { - row = GetPositionRow(oldSkuColumn, positionAmount.Key.ProductSku, positionAmount.Key.ProductLine); + row = GetPositionRow(TargetFile.OldSkuCell.EntireColumn, positionAmount.Key.ProductSku, positionAmount.Key.ProductLine); if (row != null) {