diff -r 91cdab9f8609 src/org/openbravo/mobile/core/utils/OBMOBCUtils.java
--- a/src/org/openbravo/mobile/core/utils/OBMOBCUtils.java	Sat Oct 07 11:22:26 2017 +0530
+++ b/src/org/openbravo/mobile/core/utils/OBMOBCUtils.java	Fri Oct 13 11:15:32 2017 +0200
@@ -19,6 +19,7 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.commons.lang.StringUtils;
 import org.apache.log4j.Logger;
 import org.codehaus.jettison.json.JSONException;
 import org.codehaus.jettison.json.JSONObject;
@@ -153,4 +154,33 @@
       throw new OBException(e.getMessage(), e);
     }
   }
+
+  /**
+   * Returns TRUE when a certain property of a JSONObject satisfy all of above conditions
+   * 
+   * 1. The property Exists
+   * 
+   * 2. The property is not NULL
+   * 
+   * 3. The property is a String
+   * 
+   * 4. The property is a non empty string
+   * 
+   * @return is valid or not
+   */
+  public static boolean isJsonObjectPropertyStringPresentNotNullAndNotEmptyString(
+      JSONObject jsonObject, String propertyToCheck) {
+    if (jsonObject.has(propertyToCheck) && !jsonObject.isNull(propertyToCheck)) {
+      String readedValue;
+      try {
+        readedValue = jsonObject.getString(propertyToCheck);
+        if (!StringUtils.isEmpty(readedValue)) {
+          return true;
+        }
+      } catch (JSONException e) {
+        return false;
+      }
+    }
+    return false;
+  }
 }
