This commit is contained in:
2020-04-28 23:45:44 +00:00
parent 1e0059d324
commit 75f9524058

View File

@@ -176,9 +176,8 @@ namespace AyaNova.PlugIn.V8
/*
TODO:
*
* Userskill, user cert as tags?
* custom fields processor for: User, Client, Contract, HeadOffice, LoanItem, part, project, purchaseorder, unit, unitmodel, vendor, workorderitem
* manager user, should it copy email address and stuff or...??
* See util.cs in winformapp for all custom field shit, lines 3114 is a good starting point
*/
@@ -205,10 +204,14 @@ namespace AyaNova.PlugIn.V8
//BIZ objects
await ExportUsers(progress);
//dumpLocales(tempArchiveFolder, progress);
//dumpGlobalSettings(tempArchiveFolder, progress);
//dumpLocales(tempArchiveFolder, progress);
//dumpSeedNumbers(tempArchiveFolder, progress);
//dumpClients(tempArchiveFolder, progress);
//dumpHeadOffices(tempArchiveFolder, progress);
@@ -340,6 +343,12 @@ namespace AyaNova.PlugIn.V8
#region users
private async System.Threading.Tasks.Task ExportUsers(ProgressForm progress)
{
//Step 1: export the CustomFields to FormCustom if applicable so that when doing individual items we can export their custom data too
//Step 2: export the users
UserPickList pl = UserPickList.GetList(false);
progress.Append("Dumping " + pl.Count.ToString() + " Users");
foreach (UserPickList.UserPickListInfo i in pl)