BUG 10036 "No esta rezalizando un buen conteo de la..." SOLVED

- To delete an OutputDocument in DESIGNER, not removed APP_DOCUMENT (this
  is correct, then you may have already created cases, which already have records)
- When a user has permissions PM_ALLCASES can not see all documents
- An register in APP_DOCUMENT of type OUTPUT without their registration in OUTPUT_DOCUMENT, now is completed
- A user with PM_ALLCASES can now see documents
* Available from version ProcessMaker-2.0.46