This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user