-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSUBPAGES_WITHOUT_COMPONENT.json
More file actions
26 lines (26 loc) · 1.2 KB
/
SUBPAGES_WITHOUT_COMPONENT.json
File metadata and controls
26 lines (26 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"id" : "SUBPAGES_WITHOUT_COMPONENT",
"category" : "MISSING_PROJECT",
"element" : "PAGE",
"status" : "A",
"description" : "Subpages without the page they are linked to in the project",
"level" : "3",
"sql" : "SELECT A.OBJECTVALUE1,\n B.DESCR\nFROM PSPROJECTITEM A\nJOIN PSPNLDEFN B ON A.OBJECTVALUE1 = B.PNLNAME\nWHERE A.OBJECTTYPE = 5\n AND B.PNLTYPE IN (1,\n 2)\n AND A.PROJECTNAME = :1\n AND NOT EXISTS\n (SELECT 'X'\n FROM PSPNLFIELD C, PSPROJECTITEM D\n WHERE B.PNLNAME = C.SUBPNLNAME\n AND C.PNLNAME = D.OBJECTVALUE1\n AND D.OBJECTTYPE = 5\n AND D.OBJECTID1 = 9\n AND D.PROJECTNAME = :1)",
"notes" : "<p>Do we have subpages in the project where the matching page is not in the project? Relevant in case you have subpages that you actually did not wanted or in case you forgot to add the page. </p>",
"languages" : [
],
"fields" : [
{
"sequenceNumber" : 1,
"fieldName" : "OBJECTVALUE1",
"alias" : "SUBPAGE"
},
{
"sequenceNumber" : 2,
"fieldName" : "DESCR",
"alias" : "DESCR"
}
],
"prompts" : [
]
}