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