This commit is contained in:
2020-12-19 00:38:53 +00:00
parent a3446529ca
commit 445fa53632

View File

@@ -455,9 +455,6 @@ namespace AyaNova.PlugIn.V8
} }
} }
/// <summary>
/// All AyaNova types and their attributes indicating what features that type will support (tagging, attachments etc)
/// </summary>
public enum AyaType : int public enum AyaType : int
{ {
//COREBIZOBJECT attribute must be set on objects that are: //COREBIZOBJECT attribute must be set on objects that are:
@@ -475,89 +472,108 @@ namespace AyaNova.PlugIn.V8
//***IMPORTANT: Also need to add translations for any new biz objects added that don't match exactly the name here in the key //***IMPORTANT: Also need to add translations for any new biz objects added that don't match exactly the name here in the key
//because enumlist gets it that way, i.e. "Global" would be the expected key //because enumlist gets it that way, i.e. "Global" would be the expected key
NoType = 0, NoType = 0,
Global = 1, Global = 1,
// //corebizobject
Widget = 2,//attachable, wikiable, reviewable Widget = 2,
// //corebizobject
User = 3,//attachable, wikiable, reviewable User = 3,
ServerState = 4, ServerState = 4,
License = 5, License = 5,
LogFile = 6, LogFile = 6,
PickListTemplate = 7, PickListTemplate = 7,
// //corebizobject
Customer = 8, Customer = 8,
ServerJob = 9, ServerJob = 9,
// //corebizobject
Contract = 10, Contract = 10,
TrialSeeder = 11, TrialSeeder = 11,
Metrics = 12, ServerMetrics = 12,
Translation = 13, Translation = 13,
UserOptions = 14, UserOptions = 14,
// //corebizobject
HeadOffice = 15, HeadOffice = 15,
// //corebizobject
LoanUnit = 16, LoanUnit = 16,
FileAttachment = 17, FileAttachment = 17,
DataListView = 18, DataListView = 18,
FormCustom = 19, FormCustom = 19,
// //corebizobject
Part = 20, Part = 20,
// //corebizobject
PM = 21, PM = 21,
// //corebizobject
PMItem = 22, PMItem = 22,
// //corebizobject
PMTemplate = 23, PMTemplate = 23,
// //corebizobject
PMTemplateItem = 24, PMTemplateItem = 24,
// //corebizobject
Project = 25, Project = 25,
// //corebizobject
PurchaseOrder = 26, PurchaseOrder = 26,
// //corebizobject
Quote = 27, Quote = 27,
// //corebizobject
QuoteItem = 28, QuoteItem = 28,
// //corebizobject
QuoteTemplate = 29, QuoteTemplate = 29,
// //corebizobject
QuoteTemplateItem = 30, QuoteTemplateItem = 30,
// //corebizobject
Unit = 31, Unit = 31,
// //corebizobject
UnitModel = 32, UnitModel = 32,
// //corebizobject
Vendor = 33, Vendor = 33,
//--- WorkOrder //--- WorkOrder
// //corebizobject
WorkOrder = 34, WorkOrder = 34,
// //corebizobject
WorkOrderItem = 35, WorkOrderItem = 35,
// //corebizobject
WorkOrderItemExpense = 36, WorkOrderItemExpense = 36,
// //corebizobject
WorkOrderItemLabor = 37, WorkOrderItemLabor = 37,
// //corebizobject
WorkOrderItemLoan = 38, WorkOrderItemLoan = 38,
// //corebizobject
WorkOrderItemPart = 39, WorkOrderItemPart = 39,
// //corebizobject
WorkOrderItemPartRequest = 40, WorkOrderItemPartRequest = 40,
// //corebizobject
WorkOrderItemScheduledUser = 41, WorkOrderItemScheduledUser = 41,
// //corebizobject
WorkOrderItemTask = 42, WorkOrderItemTask = 42,
// //corebizobject
WorkOrderItemTravel = 43, WorkOrderItemTravel = 43,
// //corebizobject
WorkOrderItemUnit = 44, WorkOrderItemUnit = 44,
//--- //---
// //corebizobject
WorkOrderTemplate = 45, WorkOrderTemplate = 45,
// //corebizobject
WorkOrderTemplateItem = 46 WorkOrderTemplateItem = 46,
GlobalOps = 47,//really only used for rights, not an object type of any kind
BizMetrics = 48,//deprecate? Not used for anything as of nov 2020
Backup = 49,
Notification = 50,
NotifySubscription = 51,
//corebizobject
Reminder = 52,
UnitMeterReading = 53,
CustomerServiceRequest = 54,
ServiceBank = 55,
OpsNotificationSettings = 56,
Report = 57,
DashboardView = 58,
//corebizobject
CustomerNote = 59,
//corebizobject
Memo = 60,
//corebizobject
Review = 61
//NOTE: New objects added here need to also be added to the following classes: //NOTE: New objects added here need to also be added to the following classes:
@@ -566,8 +582,9 @@ namespace AyaNova.PlugIn.V8
//AyaNova.Biz.BizRoles //AyaNova.Biz.BizRoles
//AyaNova.Biz.BizObjectNameFetcherDIRECT //AyaNova.Biz.BizObjectNameFetcherDIRECT
//and in the CLIENT in ayatype.js //and in the CLIENT in ayatype.js
//and their model needs to have the ICoreBizObjectModel interface
//and need TRANSLATION KEYS because any type could show in the event log at teh client end //and need TRANSLATION KEYS because any type could show in the event log at the client end
} }