This commit is contained in:
2021-05-28 21:38:58 +00:00
parent ca1f92a53c
commit ef90f5ba3f

View File

@@ -243,7 +243,7 @@ namespace AyaNova.Util
await SeedPartAsync(log, 20, 5); await SeedPartAsync(log, 20, 5);
await SeedPartAssemblyAsync(log, 5); await SeedPartAssemblyAsync(log, 5);
await SeedPurchaseOrderAsync(log, 20); await SeedPurchaseOrderAsync(log, 20);
await SeedWorkOrderAsync(log, 3); await SeedWorkOrderAsync(log, 10);
//PERF //PERF
watch.Stop(); watch.Stop();
@@ -2559,7 +2559,7 @@ namespace AyaNova.Util
o.InternalReferenceNumber = "irf-" + Fake.Finance.Account(4); o.InternalReferenceNumber = "irf-" + Fake.Finance.Account(4);
o.ServiceDate = woDate; o.ServiceDate = woDate;
int woItemCount = 10;//Fake.Random.Int(2, 10); int woItemCount = Fake.Random.Int(2, 10);
for (int y = 0; y < woItemCount; y++) for (int y = 0; y < woItemCount; y++)
{ {
var woItem = new WorkOrderItem() var woItem = new WorkOrderItem()