This commit is contained in:
2020-05-04 00:59:44 +00:00
parent 0e10ea5fad
commit 7c6e0d4deb

View File

@@ -204,13 +204,21 @@ namespace AyaNova.PlugIn.V8
/*
TODO:
FINISH THIS BLOCK TO BIG TEST
currently it *will* export all attachments on workorders and still needs quote and pm to complete the list
Also the unique name thing should really be added or it will likely run into trouble
Keep list of names for each object of type and check against it to prevent dupes and adjust name before export
- Just do it for all because who knows what fucked up data people will be coming from
Global wiki export to user
Regions export wiki to user
FINISH DOWN TO HERE AND THEN CAN TEST WITH JOYCE AND BIG DB
todo: RAVEN workorder structure and then export here
todo: modify each biz object export to include progress resetting code added to top of workorder service export
reset op, subop at start of export so error doesn't show last previous item's name
@@ -1310,7 +1318,7 @@ namespace AyaNova.PlugIn.V8
}
//docs
string NonFileUrls = await ExportDocs(ObjectTID, c.Docs, progress);
string NonFileUrls = await ExportDocs(ObjectTID, c.Docs, progress, util.AyaType.WorkOrder);
if (!string.IsNullOrEmpty(NonFileUrls))
{
//need to repost the user with the notes modified
@@ -1327,6 +1335,7 @@ namespace AyaNova.PlugIn.V8
//Event log fixup
await util.EventLog(util.AyaType.WorkOrder, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
//todo: workorder items etc
}
}
#endregion Workorders