This commit is contained in:
2021-06-02 21:56:57 +00:00
parent 122be16d5f
commit b70df41b11

View File

@@ -433,7 +433,7 @@ namespace AyaNova.Util
//PERF //PERF
watch.Stop(); watch.Stop();
await LogStatusAsync(JobId, LogJob, log, "HUGE level sample data seeded in " + AyaNova.Util.DateUtil.FormatTimeSpan(watch.Elapsed)); await LogStatusAsync(JobId, LogJob, log, "HUGE level sample data seeded in " + AyaNova.Util.DateUtil.FormatTimeSpan(watch.Elapsed));
#endregion genhuge #endregion genhuge
} }
break; break;
@@ -2631,7 +2631,8 @@ namespace AyaNova.Util
Quantity = 1, Quantity = 1,
PartId = Fake.Random.Long(1, TotalSeededParts), PartId = Fake.Random.Long(1, TotalSeededParts),
PartWarehouseId = 1 PartWarehouseId = 1,
PurchaseOrderItemId = Fake.Random.Long(1, TotalSeededPurchaseOrders)//yes it's POITEM vs po but each po has at least one item so this will work
}; };
woItem.PartRequests.Add(woItemPartRequest); woItem.PartRequests.Add(woItemPartRequest);