Commit 2fe890ce authored by vvengurlekar's avatar vvengurlekar

WMS3PLSummary dashboard EJB changes for adding code as per user level rights


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105334 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7e5e960b
...@@ -278,7 +278,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -278,7 +278,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getShipmentEffDet(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getShipmentEffDet(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataShpmentEffiJson = new JSONObject(); JSONObject rawDataShpmentEffiJson = new JSONObject();
JSONObject rowData = null; JSONObject rowData = null;
...@@ -416,7 +416,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -416,7 +416,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" WHERE a.site_code=o.site_code"+ " WHERE a.site_code=o.site_code"+
" )AS AVG_DELAY"+ " )AS AVG_DELAY"+
" FROM site o "+ " FROM site o "+
" WHERE facility_code = '"+facilityCode+"' "; " WHERE facility_code = '"+facilityCode+"' "+ getSiteCode(sessionUserLevel, sessionSiteCode);
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
rs= pstmt.executeQuery(); rs= pstmt.executeQuery();
...@@ -752,7 +752,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -752,7 +752,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getSkuFillRateDet(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getSkuFillRateDet(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataShpmentEffiJson = new JSONObject(); JSONObject rawDataShpmentEffiJson = new JSONObject();
JSONObject rowData = null; JSONObject rowData = null;
...@@ -865,7 +865,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -865,7 +865,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" inner join itemser its on so.item_ser = its.item_ser "+appendSql+" "+ " inner join itemser its on so.item_ser = its.item_ser "+appendSql+" "+
" where so.site_code = o.site_code "+ " where so.site_code = o.site_code "+
" ) as ON_TIME"+ " ) as ON_TIME"+
" from site o where facility_code = '"+facilityCode+"'"+ " from site o where facility_code = '"+facilityCode+"' "+getSiteCode(sessionUserLevel, sessionSiteCode)+
" )M "; " )M ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
...@@ -1608,7 +1608,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -1608,7 +1608,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getWarehouseEffDetOrder(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getWarehouseEffDetOrder(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataWarehouseEffSummaryJsonOuter = new JSONObject(); JSONObject rawDataWarehouseEffSummaryJsonOuter = new JSONObject();
JSONObject rawDataWarehouseEffSummaryJson = new JSONObject(); JSONObject rawDataWarehouseEffSummaryJson = new JSONObject();
...@@ -2075,7 +2075,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -2075,7 +2075,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" AND to_number(to_char(HDR.conf_date,'HH')) >23 and to_number(to_char(HDR.conf_date,'HH'))<= 24 And Hdr.Confirmed = 'Y')) " + " AND to_number(to_char(HDR.conf_date,'HH')) >23 and to_number(to_char(HDR.conf_date,'HH'))<= 24 And Hdr.Confirmed = 'Y')) " +
" and not exists(select 1 from despatch where sord_no = k.sale_order and confirmed = 'Y') " + " and not exists(select 1 from despatch where sord_no = k.sale_order and confirmed = 'Y') " +
" and k.site_code = o.site_code ) pick_24 " + " and k.site_code = o.site_code ) pick_24 " +
" from site o where facility_code='"+facilityCode+"' "; " from site o where facility_code='"+facilityCode+"' "+getSiteCode(sessionUserLevel, sessionSiteCode);
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
...@@ -2875,7 +2875,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -2875,7 +2875,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getWarehouseEffDetQty(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getWarehouseEffDetQty(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataWarehouseEffSummQtyJsonOuter = new JSONObject(); JSONObject rawDataWarehouseEffSummQtyJsonOuter = new JSONObject();
JSONObject rawDataWarehouseEffSummaryQtyJson = new JSONObject(); JSONObject rawDataWarehouseEffSummaryQtyJson = new JSONObject();
...@@ -3366,7 +3366,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -3366,7 +3366,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" AND to_number(to_char(HDR.conf_date,'HH')) >23 and to_number(to_char(HDR.conf_date,'HH'))<= 24 And Hdr.Confirmed = 'Y')) " + " AND to_number(to_char(HDR.conf_date,'HH')) >23 and to_number(to_char(HDR.conf_date,'HH'))<= 24 And Hdr.Confirmed = 'Y')) " +
" and not exists(select 1 from despatch where sord_no = k.sale_order and confirmed = 'Y') " + " and not exists(select 1 from despatch where sord_no = k.sale_order and confirmed = 'Y') " +
" and k.site_code = o.site_code ) pick_24 " + " and k.site_code = o.site_code ) pick_24 " +
" from site o where facility_code='"+facilityCode+"' "; " from site o where facility_code='"+facilityCode+"' "+getSiteCode(sessionUserLevel, sessionSiteCode);
...@@ -4149,7 +4149,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -4149,7 +4149,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getWarehouseEffDetValue(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getWarehouseEffDetValue(String facilityCode,String businessType,String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataWarehEffSummDetJsonOuter = new JSONObject(); JSONObject rawDataWarehEffSummDetJsonOuter = new JSONObject();
JSONObject rawDataWarehouseEffDetSummaryJson = new JSONObject(); JSONObject rawDataWarehouseEffDetSummaryJson = new JSONObject();
...@@ -4616,7 +4616,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -4616,7 +4616,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" AND to_number(to_char(HDR.conf_date,'HH')) >23 and to_number(to_char(HDR.conf_date,'HH'))<= 24 And Hdr.Confirmed = 'Y')) " + " AND to_number(to_char(HDR.conf_date,'HH')) >23 and to_number(to_char(HDR.conf_date,'HH'))<= 24 And Hdr.Confirmed = 'Y')) " +
" and not exists(select 1 from despatch where sord_no = k.sale_order and confirmed = 'Y') " + " and not exists(select 1 from despatch where sord_no = k.sale_order and confirmed = 'Y') " +
" and k.site_code = o.site_code ) pick_24 " + " and k.site_code = o.site_code ) pick_24 " +
" from site o where facility_code='"+facilityCode+"'"; " from site o where facility_code='"+facilityCode+"' "+getSiteCode(sessionUserLevel, sessionSiteCode);
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
...@@ -4751,15 +4751,6 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -4751,15 +4751,6 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
/** /**
* Create OrderStatus summary dashboard display in Stack Chart with Order Wise * Create OrderStatus summary dashboard display in Stack Chart with Order Wise
* @author base * @author base
...@@ -4784,7 +4775,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -4784,7 +4775,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
DashboardUtility dashboardUtility = new DashboardUtility(); //DashboardUtility dashboardUtility = new DashboardUtility();
String frmDate = ""; String frmDate = "";
String toDate = ""; String toDate = "";
String prvMonthFrmDate = ""; String prvMonthFrmDate = "";
...@@ -5180,7 +5171,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5180,7 +5171,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
* */ * */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getOrderStatusDtlStack(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getOrderStatusDtlStack(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode,String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataOrderStatusSummStackJsonOuter = new JSONObject(); JSONObject rawDataOrderStatusSummStackJsonOuter = new JSONObject();
JSONObject rawDataOrderStatusSummStackJson = new JSONObject(); JSONObject rawDataOrderStatusSummStackJson = new JSONObject();
...@@ -5198,7 +5189,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5198,7 +5189,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
DashboardUtility dashboardUtility = new DashboardUtility(); //DashboardUtility dashboardUtility = new DashboardUtility();
String siteCode =""; String siteCode ="";
String siteDescr =""; String siteDescr ="";
String frmDate = ""; String frmDate = "";
...@@ -5206,7 +5197,6 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5206,7 +5197,6 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
String prvMonthFrmDate = ""; String prvMonthFrmDate = "";
String prvMonthToDate = ""; String prvMonthToDate = "";
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MMM-yy"); SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MMM-yy");
Calendar calendar = Calendar.getInstance(); Calendar calendar = Calendar.getInstance();
toDate = simpleDateFormat.format(calendar.getTime()); toDate = simpleDateFormat.format(calendar.getTime());
...@@ -5224,6 +5214,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5224,6 +5214,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
{ {
appendSql = " and its.business_type ='"+businessType+"' "; appendSql = " and its.business_type ='"+businessType+"' ";
} }
if(facilityCode == null || ("".equalsIgnoreCase(facilityCode))) if(facilityCode == null || ("".equalsIgnoreCase(facilityCode)))
{ {
...@@ -5345,7 +5336,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5345,7 +5336,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" and a.site_code = o.site_code " + " and a.site_code = o.site_code " +
" and a.status not in ('C','X','H') and a.confirmed = 'Y' " + " and a.status not in ('C','X','H') and a.confirmed = 'Y' " +
" ) as StockOut " + " ) as StockOut " +
" from site o where facility_code = '"+facilityCode+"' " + " from site o where facility_code = '"+facilityCode+"' " +getSiteCode(sessionUserLevel, sessionSiteCode)+
" ) "; " ) ";
...@@ -5589,17 +5580,17 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5589,17 +5580,17 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Connection conn = null; Connection conn = null;
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
DashboardUtility dashboardUtility = null; //DashboardUtility dashboardUtility = null;
try try
{ {
System.out.println("********** In WMS3PLSummDtlDashboard : getOrderStatusSummaryPie Method ****************** "); System.out.println("********** In WMS3PLSummDtlDashboard : getOrderStatusSummaryPie Method ****************** ");
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
dashboardUtility = new DashboardUtility(); //dashboardUtility = new DashboardUtility();
String siteCode =""; //String siteCode ="";
String siteDescr =""; //String siteDescr ="";
String frmDate = ""; String frmDate = "";
String toDate = ""; String toDate = "";
String prvMonthFrmDate = ""; String prvMonthFrmDate = "";
...@@ -5896,7 +5887,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5896,7 +5887,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getOrderStatusDtlPie(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getOrderStatusDtlPie(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataOrderStatusSummPieJsonOuter = new JSONObject(); JSONObject rawDataOrderStatusSummPieJsonOuter = new JSONObject();
JSONObject rawDataOrderStatusSummPieJson = null; JSONObject rawDataOrderStatusSummPieJson = null;
...@@ -5906,8 +5897,8 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5906,8 +5897,8 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Connection conn = null; Connection conn = null;
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
LinkedHashMap<String, String> catValues = null; //LinkedHashMap<String, String> catValues = null;
DashboardUtility dashboardUtility = null; //DashboardUtility dashboardUtility = null;
int openOrder = 0; int openOrder = 0;
int shipment = 0; int shipment = 0;
int picked = 0; int picked = 0;
...@@ -5928,7 +5919,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -5928,7 +5919,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
dashboardUtility = new DashboardUtility(); //dashboardUtility = new DashboardUtility();
String siteCode =""; String siteCode ="";
String siteDescr = ""; String siteDescr = "";
String frmDate = ""; String frmDate = "";
...@@ -6073,7 +6064,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -6073,7 +6064,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" and a.site_code = o.site_code " + " and a.site_code = o.site_code " +
" and a.status not in ('C','X','H') and a.confirmed = 'Y' " + " and a.status not in ('C','X','H') and a.confirmed = 'Y' " +
" ) as StockOut " + " ) as StockOut " +
" from site o where facility_code = '"+facilityCode+"' " + " from site o where facility_code = '"+facilityCode+"' " +getSiteCode(sessionUserLevel, sessionSiteCode)+
" ) "; " ) ";
...@@ -6251,7 +6242,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -6251,7 +6242,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
DashboardUtility dashboardUtility = new DashboardUtility(); //DashboardUtility dashboardUtility = new DashboardUtility();
String frmDate = ""; String frmDate = "";
String toDate = ""; String toDate = "";
String prvMonthFrmDate = ""; String prvMonthFrmDate = "";
...@@ -6632,7 +6623,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -6632,7 +6623,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getOrderStatusDtlStackValWise(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode) throws RemoteException, ITMException public JSONObject getOrderStatusDtlStackValWise(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException, ITMException
{ {
JSONObject rawDataOrderStatusSummStackJsonOuter = new JSONObject(); JSONObject rawDataOrderStatusSummStackJsonOuter = new JSONObject();
JSONObject rawDataOrderStatusSummStackJson = new JSONObject(); JSONObject rawDataOrderStatusSummStackJson = new JSONObject();
...@@ -6650,7 +6641,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -6650,7 +6641,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
DashboardUtility dashboardUtility = new DashboardUtility(); //DashboardUtility dashboardUtility = new DashboardUtility();
String siteCode =""; String siteCode ="";
String siteDescr = ""; String siteDescr = "";
String frmDate = ""; String frmDate = "";
...@@ -6792,7 +6783,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -6792,7 +6783,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" and a.item_ser = its.item_ser "+appendSql+" " + " and a.item_ser = its.item_ser "+appendSql+" " +
" and a.site_code = o.site_code " + " and a.site_code = o.site_code " +
" ) as StockOut " + " ) as StockOut " +
" from site o Where facility_code = '"+facilityCode+"' " + " from site o Where facility_code = '"+facilityCode+"' " +getSiteCode(sessionUserLevel, sessionSiteCode)+
" ) "; " ) ";
...@@ -7037,14 +7028,14 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -7037,14 +7028,14 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Connection conn = null; Connection conn = null;
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
DashboardUtility dashboardUtility = null; //DashboardUtility dashboardUtility = null;
try try
{ {
System.out.println("********** In WMS3PLSummDtlDashboard : getOrderStatusSummaryPieValWise Method ****************** "); System.out.println("********** In WMS3PLSummDtlDashboard : getOrderStatusSummaryPieValWise Method ****************** ");
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
dashboardUtility = new DashboardUtility(); //dashboardUtility = new DashboardUtility();
String frmDate = ""; String frmDate = "";
String toDate = ""; String toDate = "";
String prvMonthFrmDate = ""; String prvMonthFrmDate = "";
...@@ -7318,7 +7309,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -7318,7 +7309,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
* */ * */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getOrderStatusDtlPieValWise(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode) throws RemoteException,ITMException public JSONObject getOrderStatusDtlPieValWise(String facilityCode, String businessType, String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException,ITMException
{ {
JSONObject rawDataOrderStatusSummPieJsonOuter = new JSONObject(); JSONObject rawDataOrderStatusSummPieJsonOuter = new JSONObject();
JSONObject rawDataOrderStatusSummPieJson = null; JSONObject rawDataOrderStatusSummPieJson = null;
...@@ -7328,7 +7319,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -7328,7 +7319,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Connection conn = null; Connection conn = null;
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
DashboardUtility dashboardUtility = null; //DashboardUtility dashboardUtility = null;
long totalOrder = 0; long totalOrder = 0;
long prvTotalOrder = 0; long prvTotalOrder = 0;
long priorTotalOrder = 0; long priorTotalOrder = 0;
...@@ -7349,7 +7340,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -7349,7 +7340,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
dashboardUtility = new DashboardUtility(); //dashboardUtility = new DashboardUtility();
String siteCode =""; String siteCode ="";
String siteDescr = ""; String siteDescr = "";
String frmDate = ""; String frmDate = "";
...@@ -7490,7 +7481,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -7490,7 +7481,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" and a.item_ser = its.item_ser "+appendSql+" " + " and a.item_ser = its.item_ser "+appendSql+" " +
" and a.site_code = o.site_code " + " and a.site_code = o.site_code " +
" ) as StockOut " + " ) as StockOut " +
" from site o Where facility_code = '"+facilityCode+"' " + " from site o Where facility_code = '"+facilityCode+"' " +getSiteCode(sessionUserLevel, sessionSiteCode)+
" ) "; " ) ";
...@@ -7667,7 +7658,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -7667,7 +7658,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
DashboardUtility dashboardUtility = new DashboardUtility(); //DashboardUtility dashboardUtility = new DashboardUtility();
String frmDate = ""; String frmDate = "";
String toDate = ""; String toDate = "";
...@@ -8053,7 +8044,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8053,7 +8044,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getOrderStatusDtlStackQtyWise(String facilityCode,String businessType, String dataSourceName, String sessionSiteCode) throws RemoteException,ITMException public JSONObject getOrderStatusDtlStackQtyWise(String facilityCode,String businessType, String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException,ITMException
{ {
JSONObject rawDataOrderStatusSummStackJsonOuter = new JSONObject(); JSONObject rawDataOrderStatusSummStackJsonOuter = new JSONObject();
JSONObject rawDataOrderStatusSummStackJson = new JSONObject(); JSONObject rawDataOrderStatusSummStackJson = new JSONObject();
...@@ -8071,7 +8062,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8071,7 +8062,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
DashboardUtility dashboardUtility = new DashboardUtility(); //DashboardUtility dashboardUtility = new DashboardUtility();
String siteCode =""; String siteCode ="";
String siteDescr = ""; String siteDescr = "";
String frmDate = ""; String frmDate = "";
...@@ -8232,7 +8223,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8232,7 +8223,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" and a.item_ser = its.item_ser "+appendSql+" " + " and a.item_ser = its.item_ser "+appendSql+" " +
" and a.site_code = o.site_code " + " and a.site_code = o.site_code " +
" ) as StockOut " + " ) as StockOut " +
" from site o where facility_code = '"+facilityCode+"' " + " from site o where facility_code = '"+facilityCode+"' " +getSiteCode(sessionUserLevel, sessionSiteCode)+
" ) " ; " ) " ;
...@@ -8468,15 +8459,15 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8468,15 +8459,15 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Connection conn = null; Connection conn = null;
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
LinkedHashMap<String, String> catValues = null; //LinkedHashMap<String, String> catValues = null;
DashboardUtility dashboardUtility = null; //DashboardUtility dashboardUtility = null;
try try
{ {
System.out.println("********** In WMS3PLSummDtlDashboard : getOrderStatusSummaryPieQtyWise Method ****************** "); System.out.println("********** In WMS3PLSummDtlDashboard : getOrderStatusSummaryPieQtyWise Method ****************** ");
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
dashboardUtility = new DashboardUtility(); //dashboardUtility = new DashboardUtility();
String frmDate = ""; String frmDate = "";
String toDate = ""; String toDate = "";
...@@ -8765,7 +8756,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8765,7 +8756,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Override @Override
public JSONObject getOrderStatusDtlPieQtyWise(String facilityCode,String businessType, String dataSourceName, String sessionSiteCode) throws RemoteException,ITMException public JSONObject getOrderStatusDtlPieQtyWise(String facilityCode,String businessType, String dataSourceName, String sessionSiteCode, String sessionUserLevel) throws RemoteException,ITMException
{ {
JSONObject rawDataOrderStatusSummPieJsonOuter = new JSONObject(); JSONObject rawDataOrderStatusSummPieJsonOuter = new JSONObject();
JSONObject rawDataOrderStatusSummPieJson = null; JSONObject rawDataOrderStatusSummPieJson = null;
...@@ -8775,8 +8766,8 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8775,8 +8766,8 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
Connection conn = null; Connection conn = null;
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
LinkedHashMap<String, String> catValues = null; //LinkedHashMap<String, String> catValues = null;
DashboardUtility dashboardUtility = null; //DashboardUtility dashboardUtility = null;
long openOrder = 0; long openOrder = 0;
long shipment = 0; long shipment = 0;
long picked = 0; long picked = 0;
...@@ -8798,7 +8789,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8798,7 +8789,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
conn= connDriver.getConnectDB(dataSourceName); conn= connDriver.getConnectDB(dataSourceName);
connDriver = null; connDriver = null;
int count = 0; int count = 0;
dashboardUtility = new DashboardUtility(); //dashboardUtility = new DashboardUtility();
String siteCode =""; String siteCode ="";
String siteDescr = ""; String siteDescr = "";
String frmDate = ""; String frmDate = "";
...@@ -8959,7 +8950,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -8959,7 +8950,7 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
" and a.item_ser = its.item_ser "+appendSql+" " + " and a.item_ser = its.item_ser "+appendSql+" " +
" and a.site_code = o.site_code " + " and a.site_code = o.site_code " +
" ) as StockOut " + " ) as StockOut " +
" from site o where facility_code = '"+facilityCode+"' " + " from site o where facility_code = '"+facilityCode+"' " +getSiteCode(sessionUserLevel, sessionSiteCode)+
" ) " ; " ) " ;
...@@ -9411,4 +9402,19 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt ...@@ -9411,4 +9402,19 @@ public class WMS3PLSummDtlDashboard extends ValidatorEJB implements WMS3PLSummDt
} }
return facilityCode; return facilityCode;
} }
//Added by varsha v. for showing results as per user rights on 13 April 2017
private String getSiteCode(String sessionUserLevel, String sessionSiteCode)
{
String appendSiteCode = "";
sessionUserLevel="2";
if(Integer.parseInt(sessionUserLevel)>0)
{
appendSiteCode = " and o.site_code ='"+sessionSiteCode+"' ";
}
System.out.println("In getSiteCode appendSiteCode: " + appendSiteCode);
return appendSiteCode;
}
//Ended by varsha v. for showing results as per user rights on 13 April 2017
} }
...@@ -14,33 +14,33 @@ public interface WMS3PLSummDtlDashboardLocal extends ValidatorLocal ...@@ -14,33 +14,33 @@ public interface WMS3PLSummDtlDashboardLocal extends ValidatorLocal
{ {
/*New Requirement*/ /*New Requirement*/
public JSONObject getOrderStatusSummaryStack(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryStack(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlStack(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlStack(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
public JSONObject getOrderStatusSummaryPie(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryPie(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlPie(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlPie(String facilityCode, String businessType, String dataSourceName, String siteCode, String userLevel) throws RemoteException, ITMException ;
/*Value wise */ /*Value wise */
public JSONObject getOrderStatusSummaryStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
public JSONObject getOrderStatusSummaryPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
/*Qty wise */ /*Qty wise */
public JSONObject getOrderStatusSummaryStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
public JSONObject getOrderStatusSummaryPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
/*Added by Nikhil Requirement*/ /*Added by Nikhil Requirement*/
public JSONObject getShipmentEffSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getShipmentEffSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getShipmentEffDet(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getShipmentEffDet(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getSkuFillRateSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getSkuFillRateSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getSkuFillRateDet(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getSkuFillRateDet(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getWarehouseEffSummOrder(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffSummOrder(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getWarehouseEffDetOrder(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffDetOrder(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getWarehouseEffSummQty(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffSummQty(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getWarehouseEffDetQty(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffDetQty(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getWarehouseEffSummValue(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffSummValue(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getWarehouseEffDetValue(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffDetValue(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
/*Ended by Nikhil Requirement*/ /*Ended by Nikhil Requirement*/
public JSONObject getSalesOrderDetailGrid(String facilityCode,String businessType,String productCategory, String caption, String dataSourceName) throws RemoteException, ITMException; public JSONObject getSalesOrderDetailGrid(String facilityCode,String businessType,String productCategory, String caption, String dataSourceName) throws RemoteException, ITMException;
} }
...@@ -14,33 +14,33 @@ public interface WMS3PLSummDtlDashboardRemote extends ValidatorRemote ...@@ -14,33 +14,33 @@ public interface WMS3PLSummDtlDashboardRemote extends ValidatorRemote
{ {
/*New Requirement*/ /*New Requirement*/
public JSONObject getOrderStatusSummaryStack(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryStack(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlStack(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlStack(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
public JSONObject getOrderStatusSummaryPie(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryPie(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlPie(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlPie(String facilityCode, String businessType, String dataSourceName, String siteCode, String userLevel) throws RemoteException, ITMException ;
/*Value wise */ /*Value wise */
public JSONObject getOrderStatusSummaryStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlStackValWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
public JSONObject getOrderStatusSummaryPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlPieValWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
/*Qty wise */ /*Qty wise */
public JSONObject getOrderStatusSummaryStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlStackQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
public JSONObject getOrderStatusSummaryPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusSummaryPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ;
public JSONObject getOrderStatusDtlPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode) throws RemoteException, ITMException ; public JSONObject getOrderStatusDtlPieQtyWise(String facilityCode, String businessType, String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException ;
/*Added by Nikhil Requirement*/ /*Added by Nikhil Requirement*/
public JSONObject getShipmentEffSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getShipmentEffSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getShipmentEffDet(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getShipmentEffDet(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getSkuFillRateSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getSkuFillRateSumm(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getSkuFillRateDet(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getSkuFillRateDet(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getWarehouseEffSummOrder(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffSummOrder(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getWarehouseEffDetOrder(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffDetOrder(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getWarehouseEffSummQty(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffSummQty(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getWarehouseEffDetQty(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffDetQty(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
public JSONObject getWarehouseEffSummValue(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffSummValue(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException;
public JSONObject getWarehouseEffDetValue(String facilityCode,String businessType,String dataSourceName, String siteCode) throws RemoteException, ITMException; public JSONObject getWarehouseEffDetValue(String facilityCode,String businessType,String dataSourceName, String siteCode,String userLevel) throws RemoteException, ITMException;
/*Ended by Nikhil Requirement*/ /*Ended by Nikhil Requirement*/
public JSONObject getSalesOrderDetailGrid(String facilityCode,String businessType,String productCategory, String caption, String dataSourceName) throws RemoteException, ITMException; public JSONObject getSalesOrderDetailGrid(String facilityCode,String businessType,String productCategory, String caption, String dataSourceName) throws RemoteException, ITMException;
......
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