diff --git a/ICSSoft.FromERP/ICSInventoryFromU8.cs b/ICSSoft.FromERP/ICSInventoryFromU8.cs index 9511bfb..5cd12da 100644 --- a/ICSSoft.FromERP/ICSInventoryFromU8.cs +++ b/ICSSoft.FromERP/ICSInventoryFromU8.cs @@ -46,11 +46,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } } diff --git a/ICSSoft.FromERP/ICSMoFromU8.cs b/ICSSoft.FromERP/ICSMoFromU8.cs index d7c25ab..b30ae01 100644 --- a/ICSSoft.FromERP/ICSMoFromU8.cs +++ b/ICSSoft.FromERP/ICSMoFromU8.cs @@ -46,11 +46,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } } diff --git a/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs b/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs index 6908e25..954f14b 100644 --- a/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs +++ b/ICSSoft.FromERP/IcsMainCategoryCodeFromU8.cs @@ -45,11 +45,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } } diff --git a/ICSSoft.FromERP/IcsSBomFromU8.cs b/ICSSoft.FromERP/IcsSBomFromU8.cs index 373ad8a..23c181c 100644 --- a/ICSSoft.FromERP/IcsSBomFromU8.cs +++ b/ICSSoft.FromERP/IcsSBomFromU8.cs @@ -47,11 +47,11 @@ namespace ICSSoft.FromERP List ListDB = new List(); foreach (string DB in DBS) { - if (DB.Split('_') != null && DB.Split('_').Count() > 1) + if (DB.Split('|') != null && DB.Split('|').Count() > 1) { WorkpointERPDBLink wd = new WorkpointERPDBLink(); - wd.Workpoint = DB.Split('_')[0]; - wd.ERPDB = DB.Split('_')[1]; + wd.Workpoint = DB.Split('|')[0]; + wd.ERPDB = DB.Split('|')[1]; ListDB.Add(wd); } }