This commit is contained in:
@@ -455,121 +455,138 @@ namespace AyaNova.PlugIn.V8
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
public enum AyaType : int
|
||||||
/// All AyaNova types and their attributes indicating what features that type will support (tagging, attachments etc)
|
{
|
||||||
/// </summary>
|
//COREBIZOBJECT attribute must be set on objects that are:
|
||||||
public enum AyaType : int
|
//Attachable objects can have attachments,
|
||||||
{
|
//wikiable objects can have a wiki
|
||||||
//COREBIZOBJECT attribute must be set on objects that are:
|
//reviewable objects can have a review which is basically the same as a Reminder but with an object attached (was follow up schedmarker in v7)
|
||||||
//Attachable objects can have attachments,
|
//PIckList-able (has picklist template)
|
||||||
//wikiable objects can have a wiki
|
//Pretty much everything that represents some kind of real world object is wikiable or attachable as long as it has an ID and a type
|
||||||
//reviewable objects can have a review which is basically the same as a Reminder but with an object attached (was follow up schedmarker in v7)
|
//exceptions would be utility type objects like datalistview, formcustom etc that are not
|
||||||
//PIckList-able (has picklist template)
|
|
||||||
//Pretty much everything that represents some kind of real world object is wikiable or attachable as long as it has an ID and a type
|
|
||||||
//exceptions would be utility type objects like datalistview, formcustom etc that are not
|
|
||||||
|
|
||||||
//NOTE: NEW CORE OBJECTS - All areas of server AND CLIENT code that require adding any new core objects have been tagged with the following comment:
|
//NOTE: NEW CORE OBJECTS - All areas of server AND CLIENT code that require adding any new core objects have been tagged with the following comment:
|
||||||
//CoreBizObject add here
|
//CoreBizObject add here
|
||||||
//Search for that IN SERVER AND CLIENT CODE and you will see all areas that need coding for the new object
|
//Search for that IN SERVER AND CLIENT CODE and you will see all areas that need coding for the new object
|
||||||
|
|
||||||
//***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,
|
||||||
|
Global = 1,
|
||||||
|
//corebizobject
|
||||||
|
Widget = 2,
|
||||||
|
//corebizobject
|
||||||
|
User = 3,
|
||||||
|
ServerState = 4,
|
||||||
|
License = 5,
|
||||||
|
LogFile = 6,
|
||||||
|
PickListTemplate = 7,
|
||||||
|
//corebizobject
|
||||||
|
Customer = 8,
|
||||||
|
ServerJob = 9,
|
||||||
|
//corebizobject
|
||||||
|
Contract = 10,
|
||||||
|
TrialSeeder = 11,
|
||||||
|
ServerMetrics = 12,
|
||||||
|
Translation = 13,
|
||||||
|
UserOptions = 14,
|
||||||
|
//corebizobject
|
||||||
|
HeadOffice = 15,
|
||||||
|
//corebizobject
|
||||||
|
LoanUnit = 16,
|
||||||
|
FileAttachment = 17,
|
||||||
|
DataListView = 18,
|
||||||
|
FormCustom = 19,
|
||||||
|
//corebizobject
|
||||||
|
Part = 20,
|
||||||
|
//corebizobject
|
||||||
|
PM = 21,
|
||||||
|
//corebizobject
|
||||||
|
PMItem = 22,
|
||||||
|
//corebizobject
|
||||||
|
PMTemplate = 23,
|
||||||
|
//corebizobject
|
||||||
|
PMTemplateItem = 24,
|
||||||
|
//corebizobject
|
||||||
|
Project = 25,
|
||||||
|
//corebizobject
|
||||||
|
PurchaseOrder = 26,
|
||||||
|
//corebizobject
|
||||||
|
Quote = 27,
|
||||||
|
//corebizobject
|
||||||
|
QuoteItem = 28,
|
||||||
|
//corebizobject
|
||||||
|
QuoteTemplate = 29,
|
||||||
|
//corebizobject
|
||||||
|
QuoteTemplateItem = 30,
|
||||||
|
//corebizobject
|
||||||
|
Unit = 31,
|
||||||
|
//corebizobject
|
||||||
|
UnitModel = 32,
|
||||||
|
//corebizobject
|
||||||
|
Vendor = 33,
|
||||||
|
//--- WorkOrder
|
||||||
|
//corebizobject
|
||||||
|
WorkOrder = 34,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItem = 35,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemExpense = 36,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemLabor = 37,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemLoan = 38,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemPart = 39,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemPartRequest = 40,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemScheduledUser = 41,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemTask = 42,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemTravel = 43,
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderItemUnit = 44,
|
||||||
|
//---
|
||||||
|
//corebizobject
|
||||||
|
WorkOrderTemplate = 45,
|
||||||
|
//corebizobject
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
NoType = 0,
|
|
||||||
Global = 1,
|
|
||||||
//
|
|
||||||
Widget = 2,//attachable, wikiable, reviewable
|
|
||||||
//
|
|
||||||
User = 3,//attachable, wikiable, reviewable
|
|
||||||
ServerState = 4,
|
|
||||||
License = 5,
|
|
||||||
LogFile = 6,
|
|
||||||
PickListTemplate = 7,
|
|
||||||
//
|
|
||||||
Customer = 8,
|
|
||||||
ServerJob = 9,
|
|
||||||
//
|
|
||||||
Contract = 10,
|
|
||||||
TrialSeeder = 11,
|
|
||||||
Metrics = 12,
|
|
||||||
Translation = 13,
|
|
||||||
UserOptions = 14,
|
|
||||||
//
|
|
||||||
HeadOffice = 15,
|
|
||||||
//
|
|
||||||
LoanUnit = 16,
|
|
||||||
FileAttachment = 17,
|
|
||||||
DataListView = 18,
|
|
||||||
FormCustom = 19,
|
|
||||||
//
|
|
||||||
Part = 20,
|
|
||||||
//
|
|
||||||
PM = 21,
|
|
||||||
//
|
|
||||||
PMItem = 22,
|
|
||||||
//
|
|
||||||
PMTemplate = 23,
|
|
||||||
//
|
|
||||||
PMTemplateItem = 24,
|
|
||||||
//
|
|
||||||
Project = 25,
|
|
||||||
//
|
|
||||||
PurchaseOrder = 26,
|
|
||||||
//
|
|
||||||
Quote = 27,
|
|
||||||
//
|
|
||||||
QuoteItem = 28,
|
|
||||||
//
|
|
||||||
QuoteTemplate = 29,
|
|
||||||
//
|
|
||||||
QuoteTemplateItem = 30,
|
|
||||||
//
|
|
||||||
Unit = 31,
|
|
||||||
//
|
|
||||||
UnitModel = 32,
|
|
||||||
//
|
|
||||||
Vendor = 33,
|
|
||||||
//--- WorkOrder
|
|
||||||
//
|
|
||||||
WorkOrder = 34,
|
|
||||||
//
|
|
||||||
WorkOrderItem = 35,
|
|
||||||
//
|
|
||||||
WorkOrderItemExpense = 36,
|
|
||||||
//
|
|
||||||
WorkOrderItemLabor = 37,
|
|
||||||
//
|
|
||||||
WorkOrderItemLoan = 38,
|
|
||||||
//
|
|
||||||
WorkOrderItemPart = 39,
|
|
||||||
//
|
|
||||||
WorkOrderItemPartRequest = 40,
|
|
||||||
//
|
|
||||||
WorkOrderItemScheduledUser = 41,
|
|
||||||
//
|
|
||||||
WorkOrderItemTask = 42,
|
|
||||||
//
|
|
||||||
WorkOrderItemTravel = 43,
|
|
||||||
//
|
|
||||||
WorkOrderItemUnit = 44,
|
|
||||||
//---
|
|
||||||
//
|
|
||||||
WorkOrderTemplate = 45,
|
|
||||||
//
|
|
||||||
WorkOrderTemplateItem = 46
|
|
||||||
|
|
||||||
|
//NOTE: New objects added here need to also be added to the following classes:
|
||||||
|
//AyaNova.Biz.BizObjectExistsInDatabase
|
||||||
|
//AyaNova.Biz.BizObjectFactory
|
||||||
|
//AyaNova.Biz.BizRoles
|
||||||
|
//AyaNova.Biz.BizObjectNameFetcherDIRECT
|
||||||
|
//and in the CLIENT in ayatype.js
|
||||||
|
//and their model needs to have the ICoreBizObjectModel interface
|
||||||
|
|
||||||
//NOTE: New objects added here need to also be added to the following classes:
|
//and need TRANSLATION KEYS because any type could show in the event log at the client end
|
||||||
//AyaNova.Biz.BizObjectExistsInDatabase
|
|
||||||
//AyaNova.Biz.BizObjectFactory
|
|
||||||
//AyaNova.Biz.BizRoles
|
|
||||||
//AyaNova.Biz.BizObjectNameFetcherDIRECT
|
|
||||||
//and in the CLIENT in ayatype.js
|
|
||||||
|
|
||||||
//and need TRANSLATION KEYS because any type could show in the event log at teh client end
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user