This commit is contained in:
2020-12-30 14:36:44 +00:00
parent 34c2119895
commit 76114cfe2f
2 changed files with 6 additions and 1 deletions

View File

@@ -2437,7 +2437,9 @@ namespace AyaNova.PlugIn.V8
progress.Append("Exporting " + pl.Count.ToString() + " service bank records for object id " + bo.Key.ToString() + " type: " + bo.Value.ToString());
//foreach (ServiceBankListRI.ServiceBankListRIInfo i in pl)
for (int x = 0; x < pl.Count; x++)
//for (int x = 0; x < pl.Count; x++)
//list is backwards order most recent first
for (int x = pl.Count-1; x > -1; x--)
{
if (!progress.KeepGoing) return;

View File

@@ -454,6 +454,9 @@ namespace AyaNova.PlugIn.V8
return AyaType.WorkOrderItemLabor;
case biz.RootObjectTypes.WorkorderItemTravel:
return AyaType.WorkOrderItemTravel;
case biz.RootObjectTypes.ServiceBank:
return AyaType.ServiceBank;
default:
throw new NotImplementedException("V8:util:RootObjectToAyaType -> type " + rot.ToString() + " is not coded yet");