diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 135873c3..ef556ce4 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -1005,201 +1005,6 @@ xaworkorderstatus - - - - -//--------------------------------------------------------------------------------------------- - 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, - BizMetrics = 48, - Backup = 49, - Notification = 50, - NotifySubscription = 51, - Reminder = 52, - UnitMeterReading = 53, - CustomerServiceRequest = 54, - ServiceBank = 55, - OpsNotificationSettings = 56, - Report = 57, - DashboardView=58 - -[Description("LT:O.Nothing")] Nothing = 0, - [Description("LT:O.Global")] Global = 1, - [Description("LT:O.Region")] Region = 2, - [Description("LT:O.Client")] Client = 3, - [Description("LT:O.Vendor")] Vendor = 4, - [Description("LT:O.HeadOffice")] HeadOffice = 5, - [Description("LT:O.RentalUnit")] RentalUnit = 6, - [Description("LT:O.Unit")] Unit = 7, - [Description("LT:O.UnitModel")] UnitModel = 8, - [Description("LT:O.Workorder")] Workorder = 9, - [Description("LT:O.WorkorderItem")] WorkorderItem = 10, - [Description("LT:O.UserSkillAssigned")] UserSkillAssigned = 11, - [Description("LT:O.UserCertificationAssigned")] UserCertificationAssigned = 12, - [Description("LT:O.User")] User = 13, - [Description("LT:O.Part")] Part = 14, - [Description("LT:O.LoanItem")] LoanItem = 15, - [Description("LT:O.DispatchZone")] DispatchZone = 16, - [Description("LT:O.Rate")] Rate = 17, - [Description("LT:O.Contract")] Contract = 18, - [Description("LT:O.Project")] Project = 19, - [Description("LT:O.PurchaseOrder")] PurchaseOrder = 20, - [Description("LT:O.ClientGroup")] ClientGroup = 21, - [Description("LT:O.WorkorderCategory")] WorkorderCategory = 22, - [Description("LT:O.WorkorderItemScheduledUser")] WorkorderItemScheduledUser = 23, - [Description("LT:O.WorkorderItemOutsideService")] WorkorderItemOutsideService = 24, - [Description("LT:O.WorkorderItemPart")] WorkorderItemPart = 25, - [Description("LT:O.WorkorderItemLabor")] WorkorderItemLabor = 26, - [Description("LT:O.WorkorderItemTravel")] WorkorderItemTravel = 27, - [Description("LT:O.WorkorderItemMiscExpense")] WorkorderItemMiscExpense = 28, - [Description("LT:O.WorkorderItemPartRequest")] WorkorderItemPartRequest = 29, - [Description("LT:O.WorkorderItemLoan")] WorkorderItemLoan = 30, - [Description("LT:O.ClientNote")] ClientNote = 31, - [Description("LT:O.ServiceBank")] ServiceBank = 32, - [Description("LT:O.WorkorderQuote")] WorkorderQuote = 33, - [Description("LT:O.WorkorderService")] WorkorderService = 34, - [Description("LT:O.AssignedDoc")] AssignedDocument = 35, - [Description("LT:O.PartWarehouse")] PartWarehouse = 36, - [Description("LT:O.UnitMeterReading")] UnitMeterReading = 37, - [Description("LT:O.UnitModelCategory")] UnitModelCategory = 38, - [Description("LT:O.Locale")] Locale = 39, - [Description("LT:O.SearchResult")] SearchResult = 40, - [Description("LT:O.WorkorderItemType")] WorkorderItemType = 41, - [Description("LT:O.UnitServiceType")] UnitServiceType = 42, - [Description("LT:O.PartAssembly")] PartAssembly = 43, - [Description("LT:O.AyaFile")] AyaFile = 44,//case 73 - [Description("LT:O.Contact")] Contact = 45, - [Description("LT:O.ContactPhone")] ContactPhone = 46, - [Description("LT:O.WorkorderPreventiveMaintenance")] WorkorderPreventiveMaintenance = 47, - [Description("LT:O.TaskGroup")] TaskGroup = 48, - [Description("LT:O.ScheduleMarker")] ScheduleMarker = 49, - [Description("LT:O.ClientServiceRequest")] ClientServiceRequest = 50, - [Description("LT:O.ScheduleableUserGroup")] ScheduleableUserGroup = 51, - [Description("LT:O.Task")] Task = 52, - [Description("LT:O.Memo")] Memo = 53, - [Description("LT:O.PartCategory")] PartCategory=54, - [Description("LT:O.UnitOfMeasure")] UnitOfMeasure=55, - [Description("LT:O.TaxCode")] TaxCode=56, - [Description("LT:O.PartSerial")] PartSerial = 57, - [Description("LT:O.PartInventoryAdjustment")] PartInventoryAdjustment = 58, - [Description("LT:O.PartInventoryAdjustmentItem")] PartInventoryAdjustmentItem = 59, - [Description("LT:O.Priority")] Priority=60, - [Description("LT:O.UserSkill")] UserSkill=61, - [Description("LT:O.WorkorderStatus")] WorkorderStatus=62, - [Description("LT:O.UserCertification")] UserCertification=63, - [Description("LT:O.ClientNoteType")] ClientNoteType=64, - [Description("LT:O.SecurityGroup")] SecurityGroup=65, - [Description("LT:O.PurchaseOrderReceiptItem")] PurchaseOrderReceiptItem=66, - [Description("LT:O.PartByWarehouseInventory")] PartByWarehouseInventory=67, - [Description("LT:O.Report")] Report=68, - [Description("LT:O.WorkorderQuoteTemplate")] - WorkorderQuoteTemplate = 69, - [Description("LT:O.WorkorderServiceTemplate")] - WorkorderServiceTemplate = 70, - [Description("LT:O.WorkorderPreventiveMaintenanceTemplate")] - WorkorderPreventiveMaintenanceTemplate = 71, - [Description("LT:O.WikiPage")]//case 73 - WikiPage = 72, - [Description("LT:O.GridFilter")]//case 941 - GridFilter = 73, - [Description("LT:O.NotifySubscription")]//case 941 - NotifySubscription = 74, - [Description("LT:O.PurchaseOrderReceipt")]//case 941 - PurchaseOrderReceipt = 75, - [Description("LT:O.Notification")]//case 1172 - Notification = 76, - [Description("LT:UI.Go.Schedule")]//case 812 - Schedule = 77, - [Description("LT:O.WorkorderItemTask")]//case 1317 - WorkorderItemTask = 78, - [Description("LT:O.WorkorderItemUnit")]//case 1317 - WorkorderItemUnit = 79, - [Description("LT:ScheduleMarker.Label.FollowUp")]//case 1975 - FollowUp = 80 - - ------------------------------------------------------------------------------------------ POST "REALITY" OR IN PARALLEL "REALITY" related items: diff --git a/ayanova/src/api/ayatype.js b/ayanova/src/api/ayatype.js index 13c7b58c..7bd2e3cb 100644 --- a/ayanova/src/api/ayatype.js +++ b/ayanova/src/api/ayatype.js @@ -23,7 +23,7 @@ export default { //corebizobject LoanUnit: 16, FileAttachment: 17, - DataListView: 18, + DataListSavedFilter: 18, FormCustom: 19, //corebizobject Part: 20, diff --git a/ayanova/src/api/biz-role-rights.js b/ayanova/src/api/biz-role-rights.js index ae32cfe4..b61f79ea 100644 --- a/ayanova/src/api/biz-role-rights.js +++ b/ayanova/src/api/biz-role-rights.js @@ -71,7 +71,7 @@ export default { OpsNotificationSettings: { Change: 16384, ReadFullRecord: 8195, Select: 0 }, ServerMetrics: { Change: 16384, ReadFullRecord: 24576, Select: 0 }, Translation: { Change: 2, ReadFullRecord: 1, Select: 131071 }, - DataListView: { Change: 2, ReadFullRecord: 131071, Select: 0 }, + DataListSavedFilter: { Change: 2, ReadFullRecord: 131071, Select: 0 }, FormCustom: { Change: 2, ReadFullRecord: 131071, Select: 0 }, PickListTemplate: { Change: 2, ReadFullRecord: 131071, Select: 0 }, BizMetrics: { Change: 2, ReadFullRecord: 98369, Select: 0 }, diff --git a/ayanova/src/api/gzmenu.js b/ayanova/src/api/gzmenu.js index 2ef211a0..32454b1a 100644 --- a/ayanova/src/api/gzmenu.js +++ b/ayanova/src/api/gzmenu.js @@ -34,7 +34,7 @@ export default { window.$gz.type.ServerMetrics, window.$gz.type.UserOptions, window.$gz.type.FormCustom, - window.$gz.type.DataListView, + window.$gz.type.DataListSavedFilter, window.$gz.type.GlobalOps, window.$gz.type.BizMetrics, window.$gz.type.Backup, diff --git a/ayanova/src/api/gzutil.js b/ayanova/src/api/gzutil.js index fcb60a0a..4b4f1d29 100644 --- a/ayanova/src/api/gzutil.js +++ b/ayanova/src/api/gzutil.js @@ -395,7 +395,7 @@ export default { return "$ayiPlug"; case window.$gz.type.FileAttachment: return "$ayiPaperclip"; - case window.$gz.type.DataListView: + case window.$gz.type.DataListSavedFilter: return "$ayiFilter"; case window.$gz.type.FormCustom: return "$ayiCustomize"; diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index 480f9f34..d68c6b2d 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -259,7 +259,7 @@ export default { "RowsPerPage", "PageOfPageText", "Loading", - "DataListView", + "Filter", "FilterUnsaved", "Heading", "Table", diff --git a/ayanova/src/components/data-table.vue b/ayanova/src/components/data-table.vue index f6b05bef..43876fff 100644 --- a/ayanova/src/components/data-table.vue +++ b/ayanova/src/components/data-table.vue @@ -9,7 +9,7 @@ :items="selectLists.listViews" item-text="name" item-value="id" - :label="$ay.t('DataListView')" + :label="$ay.t('Filter')" @input="listViewChanged" data-cy="selectlistview" > @@ -21,7 +21,7 @@ - $ayiFilter + $ayiColumns diff --git a/ayanova/src/views/ay-data-list-column-view.vue b/ayanova/src/views/ay-data-list-column-view.vue index 55cbbbd2..ad15c101 100644 --- a/ayanova/src/views/ay-data-list-column-view.vue +++ b/ayanova/src/views/ay-data-list-column-view.vue @@ -306,8 +306,8 @@ function generateMenu(vm) { let menuOptions = { isMain: false, readOnly: vm.formState.readOnly, - icon: "$ayiFilter", - title: "DataListView", + icon: "$ayiColumns", + title: "Columns", helpUrl: "form-ay-data-list-column-view", formData: { ayaType: window.$gz.type.FormCustom, @@ -354,7 +354,7 @@ async function initForm(vm) { async function fetchTranslatedText(vm) { await window.$gz.translation.cacheTranslations([ "ResetToDefault", - "DataListView", + "Columns", "Include" ]); }