This commit is contained in:
@@ -5248,15 +5248,22 @@ namespace AyaNova.Biz
|
|||||||
{
|
{
|
||||||
#if (DEBUG)
|
#if (DEBUG)
|
||||||
log.LogInformation($"PMBiz - processing pm id {pmid}");
|
log.LogInformation($"PMBiz - processing pm id {pmid}");
|
||||||
#endif
|
#endif
|
||||||
//make new workorder
|
//make new workorder
|
||||||
//fixup dates and update pm
|
if (await NewServiceWorkOrderFromPMAsync(ct, log))
|
||||||
|
{
|
||||||
|
//fixup dates and update pm
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
internal static async Task<bool> NewServiceWorkOrderFromPMAsync(AyContext ct, ILogger log)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -3702,6 +3702,8 @@ namespace AyaNova.Util
|
|||||||
o.CustomerId = GetRandomCustomerId();//Fake.Random.Long(1, TotalSeededCustomers);
|
o.CustomerId = GetRandomCustomerId();//Fake.Random.Long(1, TotalSeededCustomers);
|
||||||
|
|
||||||
//------
|
//------
|
||||||
|
o.CopyAttachments=true;
|
||||||
|
o.CopyWiki=true;
|
||||||
o.StopGeneratingDate = woDate.AddYears(1);
|
o.StopGeneratingDate = woDate.AddYears(1);
|
||||||
o.ExcludeDaysOfWeek = DaysOfWeek.Saturday | DaysOfWeek.Sunday;
|
o.ExcludeDaysOfWeek = DaysOfWeek.Saturday | DaysOfWeek.Sunday;
|
||||||
o.Active = true;
|
o.Active = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user