Add Sku Parser to Export tool

This commit is contained in:
Sergey Chebotar 2022-07-04 09:16:07 +03:00
parent 538d83257a
commit 8155dcce37

View File

@ -56,9 +56,11 @@ namespace RehauSku.PriceListTools
{
object current = cells[row, column];
if (current.ToString().IsRehauSku())
RauSku rauSku;
if (RauSku.TryParse(current.ToString(), out rauSku))
{
sku = current.ToString();
sku = rauSku.ToString();
}
else if (current.GetType() == typeof(string)