public String create(
     ETGSDDOB gsdDetailDOB,
     String operation,
     String subOperation,
     ESupplyGlobalParameters loginBean)
     throws RemoteException {
   String result = "";
   // @@Added By V.Sreelatha on 16/04/2010 for Audit Trail
   gsdDetailDOB.setLoginBean(loginBean);
   try {
     ETGSDDAO gsdDAO = new ETGSDDAO();
     if ("GSD".equals(subOperation)) {
       result = gsdDAO.createGSD(gsdDetailDOB, operation, loginBean);
     } else if ("Despatch".equals(subOperation)) {
       result = gsdDAO.createDespatch(gsdDetailDOB, operation);
     } else if ("WHLocation".equals(subOperation)) {
       result = gsdDAO.createDepotLocation(gsdDetailDOB, operation);
     } else if ("ULD".equals(subOperation)) {
       result = gsdDAO.createULD(gsdDetailDOB, operation);
     } else if ("Pallet".equals(subOperation)) {
       result = gsdDAO.createPallet(gsdDetailDOB, loginBean);
     } else if ("HousePick".equals(subOperation) || "MasterPick".equals(subOperation)) {
       result = gsdDAO.createPickList(gsdDetailDOB, subOperation, loginBean);
     } else if ("ULDBuild".equals(subOperation)) {
       // result = gsdDAO.createULDBuild(gsdDetailDOB, loginBean);
       result = gsdDAO.updateULDStatus(gsdDetailDOB, loginBean);
     }
   } catch (Exception e) {
     Logger.error(FILE_NAME, " [create()] -> Add " + e.toString());
     throw new EJBException("Error in Inserting Goods Storage Details");
   }
   return result;
 }
 public String store(ETGSDDOB gsdDetailDOB, String subOperation, ESupplyGlobalParameters loginBean)
     throws RemoteException {
   String result = "";
   // @@Added By V.Sreelatha on 16/04/2010 for Audit Trail
   gsdDetailDOB.setLoginBean(loginBean);
   try {
     ETGSDDAO gsdDAO = new ETGSDDAO();
     if ("GSD".equals(subOperation)) {
       result = gsdDAO.storeGSD(gsdDetailDOB, loginBean);
     } else if ("Despatch".equals(subOperation) || "RFDespatch".equals(subOperation)) {
       result = gsdDAO.storeDespatch(gsdDetailDOB, subOperation);
     } else if ("WHLocation".equals(subOperation)) {
       result = gsdDAO.storeDepotLocation(gsdDetailDOB);
     } else if ("ULD".equals(subOperation)) {
       result = gsdDAO.storeULD(gsdDetailDOB);
     } else if ("Pallet".equals(subOperation)) {
       result = gsdDAO.updatePallet(gsdDetailDOB, loginBean);
     }
   } catch (Exception e) {
     Logger.error(FILE_NAME, " [store()] -> update " + e.toString());
     throw new EJBException("Error in updating Goods Storage Details");
   }
   return result;
 }