QAD 2017 Enterprise Edition > User Guides > Reporting Framework > Implementing a Progress Data Source Program > Deploying the Data Source Program
  
Deploying the Data Source Program
After the data source program is developed, deploy it onto the report server. Compile the code and put the .r or .p file in the specified directory so that Appserver can run this file.
Both the .p and .r files are needed when the server runs the code. Compile the sosorp_Finished.p file.
1 Connect to the QAD ERP production database (qaddb) and administration database (qadadm).
2 Compile the program, adding the following to the Propath:
Report data source program directory:
<desktop source code directory>/com/qad/shell/report/reports
Where <desktop source code directory> usually is
/qad/web/server/docs/<ENVname>/ebdesktop2/<WEBAPPNAME>/
QAD ERP installation directory.
Here is a Propath sample:
propath = propath + "," +
"/qad/web/server/docs/93/ebdesktop2/dev93ui/com/qad/shell/report/reports".
 
propath = propath + "," +
"/qad/web/server/docs/93/ebdesktop2/dev93ui".
 
propath = propath + "," +
"/qad/web/server/docs/93/ebdesktop2/dev93ui/com/qad/shell/report".
 
propath = propath + "," +
"/qad/mfgpro/93/stage".
Compile com/qad/shell/report/reports/TestReport.p and save.