Added new  DOCUMENTOS and COD_FUNC functionalities