diff --git a/application/query.class.inc.php b/application/query.class.inc.php
index fee804482d..8ebf784756 100644
--- a/application/query.class.inc.php
+++ b/application/query.class.inc.php
@@ -113,17 +113,43 @@ public static function Init()
]
));
+ MetaModel::Init_AddAttribute(new AttributeExternalKey(
+ "owner_id",
+ [
+ "targetclass" => 'Contact',
+ "allowed_values" => null,
+ "sql" => 'owner_id',
+ "is_null_allowed" => true,
+ "depends_on" => [],
+ "display_style" => 'select',
+ "always_load_in_tables" => false,
+ "on_target_delete" => DEL_AUTO,
+ ]
+ ));
+
+ MetaModel::Init_AddAttribute(new AttributeEnumSet(
+ "usages",
+ [
+ "allowed_values" => null,
+ "possible_values" => new ValueSetEnumPadded("export,reference,notif,draft,dashlet"),
+ "sql" => "usages",
+ "depends_on" => [],
+ "is_null_allowed" => true,
+ "max_items" => 12,
+ ]
+ ));
+
// Display lists
MetaModel::Init_SetZListItems(
'details',
- ['name', 'is_template', 'description']
+ ['name', 'is_template', 'owner_id', 'usages', 'description']
); // Attributes to be displayed for the complete details
- MetaModel::Init_SetZListItems('list', ['description']); // Attributes to be displayed for a list
+ MetaModel::Init_SetZListItems('list', ['description', 'usages']); // Attributes to be displayed for a list
// Search criteria
MetaModel::Init_SetZListItems('standard_search', ['name', 'description', 'is_template']); // Criteria of the std search form
MetaModel::Init_SetZListItems(
'default_search',
- ['name', 'description', 'is_template']
+ ['name', 'description', 'is_template', 'owner_id', 'usages']
); // Criteria of the default search form
// MetaModel::Init_SetZListItems('advanced_search', array('name')); // Criteria of the advanced search form
}
@@ -143,6 +169,15 @@ public function GetAttributeFlags($sAttCode, &$aReasons = [], $sTargetState = ''
return parent::GetAttributeFlags($sAttCode, $aReasons, $sTargetState);
}
+ public function GetInitialStateAttributeFlags($sAttCode, &$aReasons = [])
+ {
+ // read only attribute
+ if (in_array($sAttCode, ['export_count', 'export_last_date', 'export_last_user_id'])) {
+ return OPT_ATT_READONLY;
+ }
+ return parent::GetInitialStateAttributeFlags($sAttCode, $aReasons);
+ }
+
/**
* Return export url.
*
@@ -214,15 +249,15 @@ public static function Init()
MetaModel::Init_SetZListItems(
'details',
[
- 'col:col1' => ['fieldset:Query:baseinfo' => ['name', 'is_template', 'description', 'oql', 'fields']],
+ 'col:col1' => ['fieldset:Query:baseinfo' => ['name', 'is_template', 'owner_id', 'usages', 'description', 'oql', 'fields']],
'col:col2' => ['fieldset:Query:exportInfo' => ['export_count', 'export_last_date', 'export_last_user_id', 'export_last_user_contact']],
]
); // Attributes to be displayed for the complete details
- MetaModel::Init_SetZListItems('list', ['description']); // Attributes to be displayed for a list
+ MetaModel::Init_SetZListItems('list', ['description', 'usages']); // Attributes to be displayed for a list
// Search criteria
MetaModel::Init_SetZListItems(
'standard_search',
- ['name', 'description', 'is_template', 'fields', 'oql']
+ ['name', 'description', 'is_template', 'owner_id', 'usages', 'oql']
); // Criteria of the std search form
}
diff --git a/datamodels/2.x/itop-tickets/data/de_de.data.itop-tickets.xml b/datamodels/2.x/itop-tickets/data/de_de.data.itop-tickets.xml
index b938ceaf19..740d5494b6 100644
--- a/datamodels/2.x/itop-tickets/data/de_de.data.itop-tickets.xml
+++ b/datamodels/2.x/itop-tickets/data/de_de.data.itop-tickets.xml
@@ -6,7 +6,7 @@
yes
agent_id]]>
id,email
- QueryOQL
+ notif
Bearbeiter des Tickets, außer der Bearbeiter selbst löst eine Benachrichtigung aus.
@@ -16,7 +16,7 @@
yes
agent_id AND id != :current_contact_id]]>
id,email
- QueryOQL
+ notif
Melder und Kontaktliste des Tickets
@@ -27,7 +27,7 @@
SELECT Person WHERE id=:this->caller_id
]]>
id,email
- QueryOQL
+ notif
Melder des Tickets
@@ -35,7 +35,7 @@
yes
caller_id]]>
id,email
- QueryOQL
+ notif
Kontaktliste des Tickets
@@ -43,7 +43,7 @@
yes
id]]>
id,email
- QueryOQL
+ notif
Manager des Ticketmelders
@@ -51,7 +51,7 @@
yes
caller_id]]>
id,email
- QueryOQL
+ notif
Auslösende Person einer Benachrichtigung
@@ -61,7 +61,7 @@
yes
id,email
- QueryOQL
+ notif
Teammitglieder des Tickets
@@ -71,7 +71,7 @@
WHERE L.team_id = :this->team_id
]]>
id,email
- QueryOQL
+ notif
Teammitglieder des Tickets, die nicht Bearbeiter sind
@@ -83,7 +83,7 @@
WHERE L.team_id = :this->team_id AND P.id != :this->agent_id
]]>
id,email
- QueryOQL
+ notif
Team des Tickets
@@ -91,7 +91,7 @@
yes
team_id]]>
id,email
- QueryOQL
+ notif
Kontaktliste eines Funktionales CI
@@ -101,7 +101,7 @@
WHERE L.functionalci_id = :this->id
]]>
id,email
- QueryOQL
+ notif
Kontaktliste eines Dienstes
@@ -111,7 +111,7 @@
WHERE L.service_id = :this->id
]]>
id,email
- QueryOQL
+ notif
Kontaktliste eines Vertrages
@@ -121,6 +121,6 @@
WHERE L.contract_id = :this->id
]]>
id,email
- QueryOQL
+ notif
diff --git a/datamodels/2.x/itop-tickets/data/en_us.data.itop-tickets.xml b/datamodels/2.x/itop-tickets/data/en_us.data.itop-tickets.xml
index 64a0dd821d..023f223b5d 100644
--- a/datamodels/2.x/itop-tickets/data/en_us.data.itop-tickets.xml
+++ b/datamodels/2.x/itop-tickets/data/en_us.data.itop-tickets.xml
@@ -6,7 +6,7 @@
yes
agent_id]]>
id,email
- QueryOQL
+ notif
Agent of the Ticket unless the agent himself triggered the notification
@@ -16,7 +16,7 @@
yes
agent_id AND id != :current_contact_id]]>
id,email
- QueryOQL
+ notif
Caller and Contacts linked to the Ticket
@@ -27,7 +27,7 @@
SELECT Person WHERE id=:this->caller_id
]]>
id,email
- QueryOQL
+ notif
Caller of the Ticket
@@ -35,7 +35,7 @@
yes
caller_id]]>
id,email
- QueryOQL
+ notif
Contacts linked to the Ticket
@@ -43,7 +43,7 @@
yes
id]]>
id,email
- QueryOQL
+ notif
Manager of the Ticket caller
@@ -51,7 +51,7 @@
yes
caller_id]]>
id,email
- QueryOQL
+ notif
Person who triggered the notification
@@ -61,7 +61,7 @@
yes
id,email
- QueryOQL
+ notif
Team members of the Ticket
@@ -71,7 +71,7 @@
WHERE L.team_id = :this->team_id
]]>
id,email
- QueryOQL
+ notif
Team members of the Ticket other than the agent
@@ -83,7 +83,7 @@
WHERE L.team_id = :this->team_id AND P.id != :this->agent_id
]]>
id,email
- QueryOQL
+ notif
Team of the Ticket
@@ -91,7 +91,7 @@
yes
team_id]]>
id,email
- QueryOQL
+ notif
Contacts of a Functional CI
@@ -101,7 +101,7 @@
WHERE L.functionalci_id = :this->id
]]>
id,email
- QueryOQL
+ notif
Contacts of a Service
@@ -111,7 +111,7 @@
WHERE L.service_id = :this->id
]]>
id,email
- QueryOQL
+ notif
Contacts of a Contract
@@ -121,6 +121,6 @@
WHERE L.contract_id = :this->id
]]>
id,email
- QueryOQL
+ notif
diff --git a/datamodels/2.x/itop-tickets/data/fr_fr.data.itop-tickets.xml b/datamodels/2.x/itop-tickets/data/fr_fr.data.itop-tickets.xml
index 7099ebd37a..74913ed989 100644
--- a/datamodels/2.x/itop-tickets/data/fr_fr.data.itop-tickets.xml
+++ b/datamodels/2.x/itop-tickets/data/fr_fr.data.itop-tickets.xml
@@ -6,7 +6,7 @@
yes
agent_id]]>
id,email
- QueryOQL
+ notif
L'agent du Ticket s'il n'a pas déclenché la notification
@@ -14,7 +14,7 @@
yes
agent_id AND id != :current_contact_id]]>
id,email
- QueryOQL
+ notif
Le demandeur et les contacts liés au Ticket
@@ -24,7 +24,7 @@
UNION SELECT Person WHERE id=:this->caller_id
]]>
id,email
- QueryOQL
+ notif
Le demandeur du Ticket
@@ -32,7 +32,7 @@
yes
caller_id]]>
id,email
- QueryOQL
+ notif
Les contacts liés au Ticket
@@ -40,7 +40,7 @@
yes
id]]>
id,email
- QueryOQL
+ notif
Le manager du demandeur
@@ -48,7 +48,7 @@
yes
caller_id]]>
id,email
- QueryOQL
+ notif
La personne qui a déclenché la notification
@@ -58,7 +58,7 @@
yes
id,email
- QueryOQL
+ notif
Les membres de l'équipe en charge du Ticket
@@ -68,7 +68,7 @@
WHERE L.team_id = :this->team_id
]]>
id,email
- QueryOQL
+ notif
Les membres de l'équipe hors l'agent
@@ -80,7 +80,7 @@
WHERE L.team_id = :this->team_id AND P.id != :this->agent_id
]]>
id,email
- QueryOQL
+ notif
L'équipe du Ticket
@@ -88,7 +88,7 @@
yes
team_id]]>
id,email
- QueryOQL
+ notif
Les contacts d'un CI fonctionnel
@@ -98,7 +98,7 @@
WHERE L.functionalci_id = :this->id
]]>
id,email
- QueryOQL
+ notif
Les contacts d'un Service
@@ -108,7 +108,7 @@
WHERE L.service_id = :this->id
]]>
id,email
- QueryOQL
+ notif
Les contacts d'un Contrat
@@ -118,6 +118,6 @@
WHERE L.contract_id = :this->id
]]>
id,email
- QueryOQL
+ notif
diff --git a/dictionaries/cs.dictionary.itop.ui.php b/dictionaries/cs.dictionary.itop.ui.php
index e470db9c75..8819ba11e1 100755
--- a/dictionaries/cs.dictionary.itop.ui.php
+++ b/dictionaries/cs.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'Uživatel, který naposledy spustil export',
'Class:Query/Attribute:export_last_user_contact' => 'Kontakt',
'Class:Query/Attribute:export_last_user_contact+' => 'kontakt, který naposledy spustil export',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'Hlavní informace',
'Query:exportInfo' => 'Informace o Exportu',
'Class:QueryOQL/Attribute:fields' => 'Atributy',
diff --git a/dictionaries/da.dictionary.itop.ui.php b/dictionaries/da.dictionary.itop.ui.php
index 23f36bf733..e05152ba86 100644
--- a/dictionaries/da.dictionary.itop.ui.php
+++ b/dictionaries/da.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'Felter',
diff --git a/dictionaries/de.dictionary.itop.ui.php b/dictionaries/de.dictionary.itop.ui.php
index 0ef707aff3..8cdb44e89c 100644
--- a/dictionaries/de.dictionary.itop.ui.php
+++ b/dictionaries/de.dictionary.itop.ui.php
@@ -115,6 +115,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'Der Benutzer, der den letzten Export durchgeführt hat',
'Class:Query/Attribute:export_last_user_contact' => 'Kontakt',
'Class:Query/Attribute:export_last_user_contact+' => 'Der Kontakt, der den letzten Export durchgeführt hat',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'Allgemeine Informationen',
'Query:exportInfo' => 'Export-Informationen',
'Class:QueryOQL/Attribute:fields' => 'Felder',
diff --git a/dictionaries/en.dictionary.itop.ui.php b/dictionaries/en.dictionary.itop.ui.php
index 9be2117d00..844a69c68b 100644
--- a/dictionaries/en.dictionary.itop.ui.php
+++ b/dictionaries/en.dictionary.itop.ui.php
@@ -129,6 +129,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export',
'Class:Query/Attribute:export_last_user_contact' => 'Contact',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export',
+ 'Class:Query/Attribute:usages' => 'Usages',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet',
+ 'Class:Query/Attribute:owner_id' => 'Owner',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query',
'Query:baseinfo' => 'General information',
'Query:exportInfo' => 'Export information',
'Class:QueryOQL/Attribute:fields' => 'Fields',
diff --git a/dictionaries/en_gb.dictionary.itop.ui.php b/dictionaries/en_gb.dictionary.itop.ui.php
index dd83b615f0..f9f3c36452 100644
--- a/dictionaries/en_gb.dictionary.itop.ui.php
+++ b/dictionaries/en_gb.dictionary.itop.ui.php
@@ -129,6 +129,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export',
'Class:Query/Attribute:export_last_user_contact' => 'Contact',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information',
'Query:exportInfo' => 'Export information',
'Class:QueryOQL/Attribute:fields' => 'Fields',
diff --git a/dictionaries/es_cr.dictionary.itop.ui.php b/dictionaries/es_cr.dictionary.itop.ui.php
index 0d95101faf..414b3f9f4d 100644
--- a/dictionaries/es_cr.dictionary.itop.ui.php
+++ b/dictionaries/es_cr.dictionary.itop.ui.php
@@ -114,6 +114,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'El usuario que ejecutó la última exportación.',
'Class:Query/Attribute:export_last_user_contact' => 'Contacto',
'Class:Query/Attribute:export_last_user_contact+' => 'El contacto que ejecutó la última exportación.',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'Información general',
'Query:exportInfo' => 'Exportar información',
'Class:QueryOQL/Attribute:fields' => 'Campos',
diff --git a/dictionaries/fr.dictionary.itop.ui.php b/dictionaries/fr.dictionary.itop.ui.php
index 5ff77adb71..f7e536aa47 100644
--- a/dictionaries/fr.dictionary.itop.ui.php
+++ b/dictionaries/fr.dictionary.itop.ui.php
@@ -121,6 +121,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'Dernier utilisateur ayant exécuté cette requête',
'Class:Query/Attribute:export_last_user_contact' => 'Contact',
'Class:Query/Attribute:export_last_user_contact+' => 'Dernier contact ayant exécuté cette requête',
+ 'Class:Query/Attribute:usages' => 'Usages',
+ 'Class:Query/Attribute:usages+' => 'Spécifie les usages possibles de cette requête.
+- L\'étiquette "Référence pour IA" suppose que la description est très explicite et conforme à l\'OQL. Elle pourra servir d\'exemple pour la construction de requêtes OQL par des IA.
+- L\'étiquette "Notification" implique que la classe d\'objets retournés possède un et un seul champ de type email.
+- L\'étiquette "Dashlet" suppose que l\'OQL ne retourne qu\'une seule classe d\'objets.',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Référence pour IA',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Brouillon',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet',
+ 'Class:Query/Attribute:owner_id' => 'Responsable',
+ 'Class:Query/Attribute:owner_id+' => 'Personne ou équipe utilisatrice de cette requête, responsable de sa définition',
'Query:baseinfo' => 'Informations générales',
'Query:exportInfo' => 'Informations sur les exports',
'Class:QueryOQL/Attribute:fields' => 'Champs',
diff --git a/dictionaries/hu.dictionary.itop.ui.php b/dictionaries/hu.dictionary.itop.ui.php
index 27d951f609..271cd566b4 100755
--- a/dictionaries/hu.dictionary.itop.ui.php
+++ b/dictionaries/hu.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'Mezők',
diff --git a/dictionaries/it.dictionary.itop.ui.php b/dictionaries/it.dictionary.itop.ui.php
index 260f3ba608..a79f6b8126 100644
--- a/dictionaries/it.dictionary.itop.ui.php
+++ b/dictionaries/it.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'L\'utente che ha eseguito l\'ultima esportazione',
'Class:Query/Attribute:export_last_user_contact' => 'Contatto',
'Class:Query/Attribute:export_last_user_contact+' => 'Il contatto che ha eseguito l\'ultima esportazione',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'Informazioni generali',
'Query:exportInfo' => 'Informazioni sull\'esportazione',
'Class:QueryOQL/Attribute:fields' => 'Campi',
diff --git a/dictionaries/ja.dictionary.itop.ui.php b/dictionaries/ja.dictionary.itop.ui.php
index 2edd4fcdb1..99dba42a09 100644
--- a/dictionaries/ja.dictionary.itop.ui.php
+++ b/dictionaries/ja.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'フィールド',
diff --git a/dictionaries/nl.dictionary.itop.ui.php b/dictionaries/nl.dictionary.itop.ui.php
index bf9a869f7a..851deb8010 100644
--- a/dictionaries/nl.dictionary.itop.ui.php
+++ b/dictionaries/nl.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'Algemene informatie',
'Query:exportInfo' => 'Export informatie',
'Class:QueryOQL/Attribute:fields' => 'Velden',
diff --git a/dictionaries/pl.dictionary.itop.ui.php b/dictionaries/pl.dictionary.itop.ui.php
index 8552da3df1..6741b18a14 100644
--- a/dictionaries/pl.dictionary.itop.ui.php
+++ b/dictionaries/pl.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'Użytkownik, który wykonał ostatni eksport',
'Class:Query/Attribute:export_last_user_contact' => 'Kontakt',
'Class:Query/Attribute:export_last_user_contact+' => 'Osoba kontaktowa, która wykonała ostatni eksport',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'Informacje ogólne',
'Query:exportInfo' => 'Informacje o eksporcie',
'Class:QueryOQL/Attribute:fields' => 'Pola',
diff --git a/dictionaries/pt_br.dictionary.itop.ui.php b/dictionaries/pt_br.dictionary.itop.ui.php
index fcad3db6e7..5c0c86060b 100644
--- a/dictionaries/pt_br.dictionary.itop.ui.php
+++ b/dictionaries/pt_br.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'Campos',
diff --git a/dictionaries/ru.dictionary.itop.ui.php b/dictionaries/ru.dictionary.itop.ui.php
index 1ef3d43085..5961560874 100644
--- a/dictionaries/ru.dictionary.itop.ui.php
+++ b/dictionaries/ru.dictionary.itop.ui.php
@@ -117,6 +117,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'Экспорт. поля',
diff --git a/dictionaries/sk.dictionary.itop.ui.php b/dictionaries/sk.dictionary.itop.ui.php
index 74a5b36cad..3c06c69b99 100644
--- a/dictionaries/sk.dictionary.itop.ui.php
+++ b/dictionaries/sk.dictionary.itop.ui.php
@@ -120,6 +120,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'Polia',
diff --git a/dictionaries/tr.dictionary.itop.ui.php b/dictionaries/tr.dictionary.itop.ui.php
index 10c69aecc8..cf45dfb7a4 100644
--- a/dictionaries/tr.dictionary.itop.ui.php
+++ b/dictionaries/tr.dictionary.itop.ui.php
@@ -116,6 +116,18 @@
'Class:Query/Attribute:export_last_user_id+' => 'The user who executed the last export~~',
'Class:Query/Attribute:export_last_user_contact' => 'Contact~~',
'Class:Query/Attribute:export_last_user_contact+' => 'The contact who executed the last export~~',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => 'General information~~',
'Query:exportInfo' => 'Export information~~',
'Class:QueryOQL/Attribute:fields' => 'Alanlar',
diff --git a/dictionaries/zh_cn.dictionary.itop.ui.php b/dictionaries/zh_cn.dictionary.itop.ui.php
index 5edece91ed..c35b2c99f3 100644
--- a/dictionaries/zh_cn.dictionary.itop.ui.php
+++ b/dictionaries/zh_cn.dictionary.itop.ui.php
@@ -129,6 +129,18 @@
'Class:Query/Attribute:export_last_user_id+' => '执行最近一次导出的用户',
'Class:Query/Attribute:export_last_user_contact' => '联系人',
'Class:Query/Attribute:export_last_user_contact+' => '执行最近一次导出的联系人',
+ 'Class:Query/Attribute:usages' => 'Usages~~',
+ 'Class:Query/Attribute:usages+' => 'Specify the possible usages for this query.
+ - The "Reference for AI" tag assumes the description is very explicit and compliant with OQL. It may be used as an example for building OQL queries by AI.
+ - The "Notification" tag implies the class of returned objects has one and only one field of type email.
+ - The "Dashlet" tag assumes the OQL returns a single class of objects.~~',
+ 'Class:Query/Attribute:usages/Value:export' => 'Export~~',
+ 'Class:Query/Attribute:usages/Value:reference' => 'Reference for AI~~',
+ 'Class:Query/Attribute:usages/Value:notif' => 'Notification~~',
+ 'Class:Query/Attribute:usages/Value:draft' => 'Draft~~',
+ 'Class:Query/Attribute:usages/Value:dashlet' => 'Dashlet~~',
+ 'Class:Query/Attribute:owner_id' => 'Owner~~',
+ 'Class:Query/Attribute:owner_id+' => 'Team or person responsible for this query~~',
'Query:baseinfo' => '基本信息',
'Query:exportInfo' => '导出信息',
'Class:QueryOQL/Attribute:fields' => '字段',