|
|
@@ -1126,12 +1126,12 @@ public class AWGMappingWindowViewModel : DependencyObject
|
|
|
}
|
|
|
);
|
|
|
|
|
|
- private void PopulateGasket(Product argsEntity, ProductIntegrationSource argsMapping)
|
|
|
+ private void PopulateGasket(Product argsEntity, ProductIntegrationSource mapping)
|
|
|
{
|
|
|
- argsEntity.Code = argsMapping.Entity.Code ?? "";
|
|
|
- argsEntity.Name = argsMapping.Description ?? "";
|
|
|
+ argsEntity.Code = mapping.Code ?? "";
|
|
|
+ argsEntity.Name = mapping.Description ?? "";
|
|
|
argsEntity.UnitOfMeasure.ID = _settings.GasketUom.ID;
|
|
|
- var _group = GroupMappings?.FirstOrDefault(x => Equals(x.Code, argsMapping.Group));
|
|
|
+ var _group = GroupMappings?.FirstOrDefault(x => Equals(x.Code, mapping.Group));
|
|
|
if (_group != null)
|
|
|
argsEntity.Group.ID = _group.Entity.ID;
|
|
|
}
|
|
|
@@ -1170,7 +1170,7 @@ public class AWGMappingWindowViewModel : DependencyObject
|
|
|
|
|
|
private void PopulateGlass(Product entity, ProductIntegrationSource mapping)
|
|
|
{
|
|
|
- entity.Code = mapping.Entity.Code ?? "";
|
|
|
+ entity.Code = mapping.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.Entity.Code ?? "";
|
|
|
+ entity.Code = mapping.Code ?? "";
|
|
|
entity.Description = mapping.Description ?? "";
|
|
|
}
|
|
|
|