|
|
@@ -1128,7 +1128,7 @@ public class AWGMappingWindowViewModel : DependencyObject
|
|
|
|
|
|
private void PopulateGasket(Product argsEntity, ProductIntegrationSource argsMapping)
|
|
|
{
|
|
|
- argsEntity.Code = argsMapping.Code ?? "";
|
|
|
+ argsEntity.Code = argsMapping.Entity.Code ?? "";
|
|
|
argsEntity.Name = argsMapping.Description ?? "";
|
|
|
argsEntity.UnitOfMeasure.ID = _settings.GasketUom.ID;
|
|
|
var _group = GroupMappings?.FirstOrDefault(x => Equals(x.Code, argsMapping.Group));
|
|
|
@@ -1149,7 +1149,7 @@ public class AWGMappingWindowViewModel : DependencyObject
|
|
|
|
|
|
private void PopulateComponent(Product entity, ProductIntegrationSource mapping)
|
|
|
{
|
|
|
- entity.Code = mapping.Code ?? "";
|
|
|
+ entity.Code = mapping.Entity.Code ?? "";
|
|
|
entity.Name = mapping.Description ?? "";
|
|
|
entity.UnitOfMeasure.ID = _settings.ComponentUom.ID;
|
|
|
var _group = GroupMappings?.FirstOrDefault(x => Equals(x.Code, mapping.Group));
|
|
|
@@ -1170,7 +1170,7 @@ public class AWGMappingWindowViewModel : DependencyObject
|
|
|
|
|
|
private void PopulateGlass(Product entity, ProductIntegrationSource mapping)
|
|
|
{
|
|
|
- entity.Code = mapping.Code ?? "";
|
|
|
+ entity.Code = mapping.Entity.Code ?? "";
|
|
|
entity.Name = mapping.Description ?? "";
|
|
|
entity.UnitOfMeasure.ID = _settings.GlassUom.ID;
|
|
|
var _group = GroupMappings?.FirstOrDefault(x => Equals(x.Code, mapping.Group));
|
|
|
@@ -1192,7 +1192,7 @@ public class AWGMappingWindowViewModel : DependencyObject
|
|
|
|
|
|
private void PopulateActivity(Activity entity, ActivityIntegrationSource mapping)
|
|
|
{
|
|
|
- entity.Code = mapping.Code ?? "";
|
|
|
+ entity.Code = mapping.Entity.Code ?? "";
|
|
|
entity.Description = mapping.Description ?? "";
|
|
|
}
|
|
|
|