This commit is contained in:
2021-08-19 17:25:16 +00:00
parent e99d7d05a0
commit 70a85fdadd

View File

@@ -498,14 +498,22 @@ namespace AyaNova.PlugIn.V8
{
dynamic d = new JObject();
d.fromId = 1;
d.toId=1;
d.toId = 1;
d.name = "V8 Migrate - post migrate log and instructions";
d.notes = $"Hello, this is an automated memo from the v8 migrate utility.\n\nHelpful information:\n\nChanges in AyaNova 8 for users:\nhttp://localhost:7575/docs/ay-start-changes-from-v7/\n\nTechnical changes in AyaNova 8 for system administrators:\nhttp://localhost:7575/docs/ops-technical-changes-from-v7/\n\nImporting guide and recommended post import steps:\nhttp://localhost:7575/docs/ay-biz-admin-import-v7/\n\n\nLog:\n-----\nLOG FILE HERE\n----";
d.notes = "Hello, this is an automated memo from the v8 migrate utility.\n\nHelpful information:\n\nChanges in AyaNova 8 for users:\n"
+ util.ApiBaseUrl
+ "docs/ay-start-changes-from-v7/\n\nTechnical changes in AyaNova 8 for system administrators:\n"
+ util.ApiBaseUrl
+ "docs/ops-technical-changes-from-v7/\n\nImporting guide and recommended post import steps:\n"
+ util.ApiBaseUrl
+ "docs/ay-biz-admin-import-v7/\n\n\nLog:\n######## V8 Migrate log ########\n"
+ progress.AllText
+ "\n################################\n";
d.replied = false;
d.sent = util.DateToV8(DateTime.UtcNow.ToString("o", System.Globalization.CultureInfo.InvariantCulture));
d.viewed=false;
d.wiki=null;
d.viewed = false;
d.wiki = null;
//await util.PostAsync("memo",
}
catch (Exception ex)
@@ -3803,8 +3811,8 @@ namespace AyaNova.PlugIn.V8
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "GenerateBeforeInterval", await Translate("ErrorGenBeforeTooSmall"));
}
*/
d.active = c.WorkorderPreventiveMaintenance.Active;
d.nextServiceDate = util.DateToV8(c.WorkorderPreventiveMaintenance.NextServiceDate, true);
d.repeatUnit = (int)c.WorkorderPreventiveMaintenance.GenerateSpanUnit;