case 4069
This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -48,7 +48,7 @@
|
|||||||
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
|
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
|
||||||
"AYANOVA_USE_URLS": "http://*:7575;",
|
"AYANOVA_USE_URLS": "http://*:7575;",
|
||||||
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
|
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
|
||||||
"AYANOVA_SERVER_TEST_MODE": "false",
|
"AYANOVA_SERVER_TEST_MODE": "true",
|
||||||
//"AYANOVA_REPORT_RENDERING_TIMEOUT":"60",
|
//"AYANOVA_REPORT_RENDERING_TIMEOUT":"60",
|
||||||
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||||
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"
|
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin\\"
|
||||||
|
|||||||
@@ -1680,7 +1680,7 @@ namespace AyaNova.Util
|
|||||||
gbiz.TaxPartSaleId = TCGoods;
|
gbiz.TaxPartSaleId = TCGoods;
|
||||||
gbiz.TaxRateSaleId = TCServices;
|
gbiz.TaxRateSaleId = TCServices;
|
||||||
gbiz.CustomerAllowCSR = true;
|
gbiz.CustomerAllowCSR = true;
|
||||||
gbiz.CustomerAllowCreateUnit=true;
|
gbiz.CustomerAllowCreateUnit = true;
|
||||||
gbiz.CustomerAllowNotifyCSRAccepted = true;
|
gbiz.CustomerAllowNotifyCSRAccepted = true;
|
||||||
gbiz.CustomerAllowNotifyCSRRejected = true;
|
gbiz.CustomerAllowNotifyCSRRejected = true;
|
||||||
gbiz.CustomerAllowNotifyServiceImminent = true;
|
gbiz.CustomerAllowNotifyServiceImminent = true;
|
||||||
@@ -2550,7 +2550,7 @@ namespace AyaNova.Util
|
|||||||
o.Name = Fake.Finance.Account(6);
|
o.Name = Fake.Finance.Account(6);
|
||||||
} while (!HashPartNames.Add(o.Name));
|
} while (!HashPartNames.Add(o.Name));
|
||||||
|
|
||||||
|
|
||||||
o.Active = true;
|
o.Active = true;
|
||||||
o.Notes = Fake.Lorem.Sentence(null, 3);
|
o.Notes = Fake.Lorem.Sentence(null, 3);
|
||||||
o.Tags = RandomTags();
|
o.Tags = RandomTags();
|
||||||
@@ -3264,6 +3264,7 @@ namespace AyaNova.Util
|
|||||||
Created = ((DateTime)o.ServiceDate).AddMinutes(5)
|
Created = ((DateTime)o.ServiceDate).AddMinutes(5)
|
||||||
};
|
};
|
||||||
o.States.Add(WoState);
|
o.States.Add(WoState);
|
||||||
|
o.LastStatusId = WoState.WorkOrderStatusId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3277,6 +3278,7 @@ namespace AyaNova.Util
|
|||||||
Created = ((DateTime)o.ServiceDate).AddHours(1)
|
Created = ((DateTime)o.ServiceDate).AddHours(1)
|
||||||
};
|
};
|
||||||
o.States.Add(WoState);
|
o.States.Add(WoState);
|
||||||
|
o.LastStatusId = WoState.WorkOrderStatusId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3290,6 +3292,7 @@ namespace AyaNova.Util
|
|||||||
Created = ((DateTime)o.ServiceDate).AddHours(1).AddMinutes(5)
|
Created = ((DateTime)o.ServiceDate).AddHours(1).AddMinutes(5)
|
||||||
};
|
};
|
||||||
o.States.Add(WoState);
|
o.States.Add(WoState);
|
||||||
|
o.LastStatusId = WoState.WorkOrderStatusId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Fake.Random.Int(1, 4) == 2)//25% chance
|
if (Fake.Random.Int(1, 4) == 2)//25% chance
|
||||||
@@ -4211,7 +4214,7 @@ namespace AyaNova.Util
|
|||||||
{
|
{
|
||||||
lastUnitIndex = 0;
|
lastUnitIndex = 0;
|
||||||
}
|
}
|
||||||
return l.Value[lastUnitIndex];
|
return l.Value[lastUnitIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
private long GetRandomCustomerId()
|
private long GetRandomCustomerId()
|
||||||
|
|||||||
Reference in New Issue
Block a user