This commit is contained in:
2021-07-28 17:10:27 +00:00
parent 68132e9426
commit b11491af66
2 changed files with 2 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace AyaNova.Models
public PMTimeUnit GenerateBeforeUnit { get; set; }
public int RepeatInterval { get; set; }
public int GenerateBeforeInterval { get; set; }
public DateTime? GenerateDate { get; set; }//Internal, not exposed to UI and is the date to do the next generate on that takes into account generatebefore and next service date and is calcd when generate happens for next time see pmbiz top with reference v7 code
public DateTime? GenerateDate { get; set; }//Internal, not exposed to UI and is the date to do the next generate on that takes into account generatebefore and next service date and is calcd when first created and after that when generate happens for next time see pmbiz top with reference v7 code
//----
[Required]

View File

@@ -3706,8 +3706,7 @@ namespace AyaNova.Util
o.RepeatUnit= PMTimeUnit.Months;
o.GenerateBeforeInterval=3;
o.GenerateBeforeUnit=PMTimeUnit.Days;
// public DateTime? GenerateDate { get; set; }//Internal, not exposed to UI and is the date to do the next generate on that takes into account generatebefore and next service date and is calcd when generate happens for next time see pmbiz top with reference v7 code
//------
//------
using (AyContext ct = ServiceProviderProvider.DBContext)