case 4025 replaced partnumber with partname and changed partname to partdescription

This commit is contained in:
2021-11-22 20:30:03 +00:00
parent 7b3b547072
commit 0265efbc26
45 changed files with 336 additions and 327 deletions

View File

@@ -68,17 +68,7 @@ namespace AyaNova.Biz
return ReportData;
}
// //populate viz fields from provided object
// private async Task PopulateVizFields(VPartInventoryList o, List<NameIdItem> ayaTypesEnumList, System.Data.Common.DbCommand cmd)
// {
// o.PartViz = await ct.Part.AsNoTracking().Where(x => x.Id == o.PartId).Select(x => x.PartNumber).FirstOrDefaultAsync();
// o.PartWarehouseViz = await ct.PartWarehouse.AsNoTracking().Where(x => x.Id == o.PartWarehouseId).Select(x => x.Name).FirstOrDefaultAsync();
// if (o.SourceType != null)
// o.SourceTypeViz = ayaTypesEnumList.Where(x => x.Id == (long)o.SourceType).Select(x => x.Name).First();
// if (o.SourceType != null && o.SourceId != null)
// o.SourceViz = BizObjectNameFetcherDirect.Name((AyaType)o.SourceType, (long)o.SourceId, cmd);
// }
////////////////////////////////////////////////////////////////////////////////////////////////
// IMPORT EXPORT