This commit is contained in:
2021-07-29 18:24:43 +00:00
parent 977ba9e099
commit 9014cc33aa
2 changed files with 12 additions and 3 deletions

View File

@@ -5248,15 +5248,22 @@ namespace AyaNova.Biz
{
#if (DEBUG)
log.LogInformation($"PMBiz - processing pm id {pmid}");
#endif
#endif
//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

View File

@@ -3702,6 +3702,8 @@ namespace AyaNova.Util
o.CustomerId = GetRandomCustomerId();//Fake.Random.Long(1, TotalSeededCustomers);
//------
o.CopyAttachments=true;
o.CopyWiki=true;
o.StopGeneratingDate = woDate.AddYears(1);
o.ExcludeDaysOfWeek = DaysOfWeek.Saturday | DaysOfWeek.Sunday;
o.Active = true;