The Database connections and datasets is the heart of the Report manager. Parameters needs to be passed from TurboCASH5 to Reportman for the various reports. 

For documents, the TCVAR_DOCID parameter is used. This parameter contains the document number in the Dochead table. 

For example, in the case of Stock reports, you may need to use the SQL parameter for the data in Stock items  (Action ribbon) to activate your search action. This will enable you to define and add various criteria to be used in a report. 

To access this you may click on the icon on icon toolbar or go to the Report → Data access configuration menu. 



Here you may define your SQL, relationships and parameters to be used for the report.