public PhpposPeopleEntity getPhpposCustomersEntityFromCedula(long cedula){
        logger.debug("cedula = " + cedula);
        List<PhpposCustomersEntity> customersList = getHibernateTemplate().find(
                "from PhpposCustomersEntity where accountNumber = ?", String.valueOf(cedula)
        );
        if (customersList.size()>0){
            return getPeopleEntity(customersList.get(0).getPersonId());
        } else {
            return null;
        }
    }