This commit is contained in:
2021-08-25 23:30:07 +00:00
parent bddfb42508
commit a596f41083
2 changed files with 44 additions and 17 deletions

View File

@@ -646,6 +646,18 @@ namespace AyaNova.PlugIn.V8
default:
throw new NotImplementedException("V8:util:RootObjectToAyaType -> type " + rot.ToString() + "," + specificWoType.ToString() + " is not coded yet");
}
case biz.RootObjectTypes.Workorder:
switch (specificWoType)
{
case biz.WorkorderTypes.PreventiveMaintenance:
return AyaType.PM;
case biz.WorkorderTypes.Quote:
return AyaType.Quote;
case biz.WorkorderTypes.Service:
return AyaType.WorkOrder;
default:
throw new NotImplementedException("V8:util:RootObjectToAyaType -> type " + rot.ToString() + ", needs specific wotype which was not provided");
}
case biz.RootObjectTypes.Memo:
return AyaType.Memo;
@@ -668,7 +680,7 @@ namespace AyaNova.PlugIn.V8
default:
throw new NotImplementedException("V8:util:RootObjectToAyaType -> type " + rot.ToString() + " is not coded yet");
throw new NotImplementedException("V8:util:RootObjectToAyaType -> v7 type " + rot.ToString() + " is not coded");
}
}
/// <summary>