public void getReferencePage(String opportunityID) {
        try {
            String date_entered = "";
            String reference_c = "";
            String METHOD_NAME = "get_entry";
            String SOAP_ACTION = SOAP_URL + METHOD_NAME;
            SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
            request.addProperty("session", sessionID);
            request.addProperty("module_name", "Opportunities");
            request.addProperty("id", opportunityID);

            Vector oppOptions = new Vector();
            oppOptions.addElement("referencetxt_c");
            oppOptions.addElement("date_entered");
            oppOptions.addElement("id");

            request.addProperty("select_fields", oppOptions);
            envelope.setOutputSoapObject(request);
            httpt.call(SOAP_ACTION, envelope);
            SoapObject body = (SoapObject) envelope.getResponse();
            System.out.println(body);

            if (isError(body)) {
                return;
            }

            Vector field_list = (Vector) body.getProperty("entry_list");
            for (int i = 0; i < field_list.size(); i++) {
                SoapObject entry_list = (SoapObject) field_list.elementAt(i);
                System.out.println(entry_list);
                // SoapObject entry_value = (SoapObject) entry_list.getProperty("entry_value");
                // System.out.println(entry_value);
                String id = (String) entry_list.getProperty("id");
                System.out.println(id);
                String module_name = (String) entry_list.getProperty("module_name");
                System.out.println(module_name);
                Vector name_value_list = (Vector) entry_list.getProperty("name_value_list");
                System.out.println(name_value_list);
                // SoapObject reference = name_value_list.elements().

                for (int j = 0; j < name_value_list.size(); j++) {
                    SoapObject name_value = (SoapObject) name_value_list.elementAt(j);
                    System.out.println(name_value);

                    String prop = (String) name_value.getProperty("name");

                    if (prop.equalsIgnoreCase("date_entered")) {
                        date_entered = (String) name_value.getProperty("value");

                    } else if (prop.equalsIgnoreCase("referencetxt_c")) {
                        reference_c = (String) name_value.getProperty("value");
                    }

                }
            }

            Form referencePage = new Form("Details submitted successfully");
            referencePage.append("Details have been submitted successfully.");
            referencePage.append(" Payments should be made against the reference number ");
            referencePage.append(reference_c + " and submitted within the next 7 days. ");

            PCommand bckMain = new PCommand("Back to Main", "Back to Main",
                    PCommand.SCREEN, PCommand.GET_MAIN_MENU, 0);

            referencePage.addCommand(bckMain);
            referencePage.addCommand(exit);
            referencePage.setCommandListener(this);
            display.setCurrent(referencePage);
        } catch (Exception ex) {
            ex.printStackTrace();
            Alert thisAlert = new Alert("Police Mobile", ex.getMessage(), null, AlertType.ERROR);
            thisAlert.setTimeout(Alert.FOREVER);
            display.setCurrent(thisAlert, getMainMenuForm());
        }
    }