Commit 6b661c11 authored by dkasliwal's avatar dkasliwal

dril-down in compliance dashboard report block for sitecode for wms3pl dashboard


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101787 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7b53a5e1
...@@ -1627,7 +1627,14 @@ public class GraphComponent extends Composite ...@@ -1627,7 +1627,14 @@ public class GraphComponent extends Composite
else if(groupName.contains("rep")) else if(groupName.contains("rep"))
{ {
designation = "repdesg"; designation = "repdesg";
}else }
/*Add Code for SiteCode Descr by Dhanendra on date 06-06-2016*/
else if(groupName.contains("sitecode"))
{
designation = "sitedescr";
}
/*End Code for SiteCode Descr by Dhanendra on date 06-06-2016*/
else
{ {
designation = groupName; designation = groupName;
} }
...@@ -1938,6 +1945,7 @@ public class GraphComponent extends Composite ...@@ -1938,6 +1945,7 @@ public class GraphComponent extends Composite
final Label lableName = new Label(personName); final Label lableName = new Label(personName);
Label designation = new Label(persondesg); Label designation = new Label(persondesg);
VerticalPanel vPanel = new VerticalPanel(); VerticalPanel vPanel = new VerticalPanel();
vPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
hPanel = new HorizontalPanel(); hPanel = new HorizontalPanel();
lableImg = new Image("FusionChart/images/icon.png"); lableImg = new Image("FusionChart/images/icon.png");
hPanel.add(lableName); hPanel.add(lableName);
...@@ -1960,7 +1968,8 @@ public class GraphComponent extends Composite ...@@ -1960,7 +1968,8 @@ public class GraphComponent extends Composite
{ {
/*Add if else condition to open a new window by Dhanendra on Date 16-10-2015*/ /*Add if else condition to open a new window by Dhanendra on Date 16-10-2015*/
e12LoadImg.setLoading(true); e12LoadImg.setLoading(true);
if(groupName.equalsIgnoreCase("repname") || groupName.equalsIgnoreCase("prd_name")) /*Start add sitecode condition for wms3pl dashboard*/
if(groupName.equalsIgnoreCase("repname") || groupName.equalsIgnoreCase("prd_name") || groupName.equalsIgnoreCase("sitecode"))
{ {
getOnClickOpenGrid(personName.trim(),filterList, groupName); getOnClickOpenGrid(personName.trim(),filterList, groupName);
}else }else
...@@ -1977,7 +1986,8 @@ public class GraphComponent extends Composite ...@@ -1977,7 +1986,8 @@ public class GraphComponent extends Composite
{ {
/*Add if else condition to open a new window by Dhanendra on Date 16-10-2015*/ /*Add if else condition to open a new window by Dhanendra on Date 16-10-2015*/
e12LoadImg.setLoading(true); e12LoadImg.setLoading(true);
if(groupName.equalsIgnoreCase("repname") || groupName.equalsIgnoreCase("prd_name")) /*Start add sitecode condition for wms3pl dashboard*/
if(groupName.equalsIgnoreCase("repname") || groupName.equalsIgnoreCase("prd_name") || groupName.equalsIgnoreCase("sitecode"))
{ {
getOnClickOpenGrid(personName.trim(),filterList,groupName); getOnClickOpenGrid(personName.trim(),filterList,groupName);
}else }else
...@@ -2082,6 +2092,12 @@ public class GraphComponent extends Composite ...@@ -2082,6 +2092,12 @@ public class GraphComponent extends Composite
{ {
Window.open("/ibase/dwh/GwtDashboardPage.html?metadataname=employeedetails&personName="+personName+propertyStr+"&FLAG=N", "_blank", "menubar=no,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=no,height=550,width=800,top=100,left=300"); Window.open("/ibase/dwh/GwtDashboardPage.html?metadataname=employeedetails&personName="+personName+propertyStr+"&FLAG=N", "_blank", "menubar=no,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=no,height=550,width=800,top=100,left=300");
} }
/*Add code for interlink for wms3pl dashboard by Dhanendra */
else if(groupName.equalsIgnoreCase("sitecode"))
{
Window.open("/ibase/dwh/GwtDashboardPage.html?metadataname=salesorderdetail&sitecode="+personName+propertyStr+"&FLAG=N", "_blank", "menubar=no,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=no,height=550,width=800,top=100,left=300");
}
/*End code for interlink for wms3pl dashboard by Dhanendra */
e12LoadImg.setLoading(false); e12LoadImg.setLoading(false);
} }
/*Add this method to open a new window to display a grid from click on last hierachey by Dhanendra on date 16-10-2015 */ /*Add this method to open a new window to display a grid from click on last hierachey by Dhanendra on date 16-10-2015 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment