via codice come si farebbe a fare un report?