DIM Categories: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>SELECT
Number of DIM categories should be at least 52
<pre>
SELECT
Count(category.category_guid)
Count(category.category_guid)
FROM
FROM
Category
Category
</pre>


-----------------------------------------------------
Number of Task and WorkItem categories should be at least 5
 
<pre>
SELECT
SELECT
category.pojo_parent,
category.pojo_parent,
Line 18: Line 21:
category.name_translation_key ASC
category.name_translation_key ASC
</pre>
</pre>
These two have been missing in the table ''category''. Easiest way to add them is copy and paste manually in Navicat. Make sure that no spaces are accidently added '''before and/or after''' the data when you paste.
{| class="wikitable"
! width="250"| category_guid
! width="250"| categorization_guid
! width="150"| name_translation_key
! width="100" | pojo_parent
! width""100"| sequence_number
|-
| 0a0a-22eb-12c11c93eaa-7b182c09-1-1006
| 0a0a-5045-111ec7bf7f8-483ddc1a-0-c73c
| UNCATEGORIZED
| TASK
| 2
|-
| 0a0a-22eb-12c11c93ed9-7bae8db2-1c-2ff
| 0a0a-5045-111ec7bf7f8-483ddc1a-0-c73c
| UNCATEGORIZED
| WORK_ITEM
| 1
|}
{{NavBox Upgrade}}
[[Category:NoPublic]]
[[Category:NoPublic]]
[[Category:SQL Queries]]

Latest revision as of 10:37, 9 April 2015

Number of DIM categories should be at least 52

SELECT
Count(category.category_guid)
FROM
Category

Number of Task and WorkItem categories should be at least 5

SELECT
category.pojo_parent,
category.name_translation_key
FROM
category
WHERE
category.pojo_parent =  'TASK' OR
category.pojo_parent =  'WORK_ITEM'
ORDER BY
category.pojo_parent ASC,
category.name_translation_key ASC

These two have been missing in the table category. Easiest way to add them is copy and paste manually in Navicat. Make sure that no spaces are accidently added before and/or after the data when you paste.

category_guid categorization_guid name_translation_key pojo_parent sequence_number
0a0a-22eb-12c11c93eaa-7b182c09-1-1006 0a0a-5045-111ec7bf7f8-483ddc1a-0-c73c UNCATEGORIZED TASK 2
0a0a-22eb-12c11c93ed9-7bae8db2-1c-2ff 0a0a-5045-111ec7bf7f8-483ddc1a-0-c73c UNCATEGORIZED WORK_ITEM 1

{{#switch:|subgroup|child=|none=|#default=

}}{{#if:|}}{{#if:Upgrade Process|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|{{#if:|}}}}{{#if:|{{#if:IMSMA Hub{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:dim categories

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group2}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list2}}}

}}{{#if:|{{#if:IMSMA Hub{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:dim categories

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group3}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list3}}}

}}{{#if:|{{#if:|{{{group4}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list4}}}

}}{{#if:|{{#if:|{{{group5}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list5}}}

}}{{#if:|{{#if:|{{{group6}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list6}}}

}}{{#if:|{{#if:|{{{group7}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list7}}}

}}{{#if:|{{#if:|{{{group8}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list8}}}

}}{{#if:|{{#if:|{{{group9}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list9}}}

}}{{#if:|{{#if:|{{{group10}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list10}}}

}}{{#if:|{{#if:|{{{group11}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list11}}}

}}{{#if:|{{#if:|{{{group12}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list12}}}

}}{{#if:|{{#if:|{{{group13}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list13}}}

}}{{#if:|{{#if:|{{{group14}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list14}}}

}}{{#if:|{{#if:|{{{group15}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list15}}}

}}{{#if:|{{#if:|{{{group16}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list16}}}

}}{{#if:|{{#if:|{{{group17}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list17}}}

}}{{#if:|{{#if:|{{{group18}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list18}}}

}}{{#if:|{{#if:|{{{group19}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list19}}}

}}{{#if:|{{#if:|{{{group20}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list20}}}

}}{{#if:|{{#if:IMSMA Hub{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:dim categories

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}

{{{below}}}

}}{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:dim categories
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}