This commit is contained in:
@@ -240,7 +240,7 @@ namespace AyaNova.Util
|
||||
await SeedPartWarehouseAsync(log, 5);
|
||||
await SeedPartAsync(log, 20);
|
||||
await SeedPartAssemblyAsync(log, 5);
|
||||
await SeedPurchaseOrderAsync(log, 10);
|
||||
await SeedPurchaseOrderAsync(log, 20);
|
||||
|
||||
//PERF
|
||||
watch.Stop();
|
||||
@@ -294,7 +294,7 @@ namespace AyaNova.Util
|
||||
await SeedPartWarehouseAsync(log, 10);
|
||||
await SeedPartAsync(log, 100);
|
||||
await SeedPartAssemblyAsync(log, 5);
|
||||
await SeedPurchaseOrderAsync(log, 15);
|
||||
await SeedPurchaseOrderAsync(log, 30);
|
||||
|
||||
|
||||
//PERF
|
||||
@@ -359,7 +359,7 @@ namespace AyaNova.Util
|
||||
await SeedPartWarehouseAsync(log, 15);
|
||||
await SeedPartAsync(log, 200);
|
||||
await SeedPartAssemblyAsync(log, 5);
|
||||
await SeedPurchaseOrderAsync(log, 25);
|
||||
await SeedPurchaseOrderAsync(log, 50);
|
||||
|
||||
//PERF
|
||||
watch.Stop();
|
||||
@@ -424,7 +424,7 @@ namespace AyaNova.Util
|
||||
await SeedPartWarehouseAsync(log, 20);
|
||||
await SeedPartAsync(log, 500);
|
||||
await SeedPartAssemblyAsync(log, 5);
|
||||
await SeedPurchaseOrderAsync(log, 50);
|
||||
await SeedPurchaseOrderAsync(log, 200);
|
||||
|
||||
//PERF
|
||||
watch.Stop();
|
||||
@@ -1719,10 +1719,10 @@ namespace AyaNova.Util
|
||||
int partCount = Fake.Random.Int(1, 5);
|
||||
|
||||
//simulate some items without tax codes
|
||||
bool addTaxCode = Fake.Random.Bool();
|
||||
bool addTaxCode = (Fake.Random.Number(1, 4) != 3);
|
||||
|
||||
//simulate some items not received
|
||||
bool isReceived = Fake.Random.Bool();
|
||||
bool isReceived = (Fake.Random.Number(1, 4) != 3);
|
||||
|
||||
o.Status = isReceived ? PurchaseOrderStatus.ClosedFullReceived : PurchaseOrderStatus.OpenOrdered;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user