This commit is contained in:
2020-04-28 20:41:09 +00:00
parent 464d7fddf2
commit eef5befc30
2 changed files with 17 additions and 5 deletions

View File

@@ -390,15 +390,12 @@ namespace AyaNova.PlugIn.V8
}
//EVENT LOG
//JObject xtra = new JObject();
//xtra.Add("hexaScheduleBackColor", );
//DumpObjectToFolder(tempArchiveFolder, c, "user." + c.ID.ToString(), objectExcludeProperties, new TypeAndID(RootObjectTypes.User, c.ID), null, xtra);
}
//todo fixup post import
progress.Append("TODO: User, fixup translationID, headofficeid, clientid vendorid");
progress.Append("TODO: User, fixup translationID, headofficeid, clientid vendorid, phone1, phone2, pagermaxtext");
}
#endregion clients

View File

@@ -193,6 +193,21 @@ namespace AyaNova.PlugIn.V8
}
}
}
//make an event log entry to preserve the original v7 history such as it is
public async static Task EventLog(int RavenType, long RavenId, long RavenCreatorId, long RavenModifierId, DateTime Created, DateTime Modified)
{
dynamic d = new JObject();
d.ayType = RavenType;
d.ayId = RavenId;
d.creator = RavenCreatorId;
d.modifier = RavenModifierId;
d.created = Created.ToUniversalTime();
d.modified = Modified.ToUniversalTime();
}
/// <summary>
///
/// </summary>