diff --git a/neonContext/Offer/Offer.aod b/neonContext/Offer/Offer.aod
index 2fd951b69ce10e195cbebff7460d921b193fa578..2a823d8bf9e71c15d73fdddddfde09bb4b38834d 100644
--- a/neonContext/Offer/Offer.aod
+++ b/neonContext/Offer/Offer.aod
@@ -35,5 +35,9 @@
       <name>d72d1eb1-461c-442c-881d-48fb71b89316</name>
       <view>OfferDrawer_view</view>
     </neonViewReference>
+    <neonViewReference>
+      <name>02938f44-bc24-4542-916b-8db5d1976b40</name>
+      <view>OfferReport_view</view>
+    </neonViewReference>
   </references>
 </neonContext>
diff --git a/process/Report_lib/process.js b/process/Report_lib/process.js
index af40b179198249a317e34ed06a5f28a202a21c5e..a41b417575082b0923fc0688c51822f70871f69d 100644
--- a/process/Report_lib/process.js
+++ b/process/Report_lib/process.js
@@ -179,15 +179,18 @@ Report.prototype.setReportData = function(pReportData) {
  * Export the report
  * @param {String} pFilename 
  * @param {Array} pCondition a sql-condition (can also be a prepared condition)
- * @param {Number} pExportFormat the export format. e.g. report.REPORT_EXPORT_PDF
+ * @param {Number} pExportFormat the export format. e.g. report.REPORT_EXPORT_PDF. Defaults to PDF.
  * @param {String} pWhereOrder see documentation for report.exportToBytes()
  * @param {String} pLanguage 
  * 
  * @return {Array} [filename, data_bytes]
  */
 Report.prototype.exportReport = function(pFilename, pCondition, pExportFormat, pWhereOrder, pLanguage) {
+    if (pFilename == undefined) pFilename = "";
     if (pCondition == undefined) pCondition = "";
+    if (pExportFormat == undefined) pExportFormat = report.REPORT_EXPORT_PDF;
     if (pWhereOrder == undefined) pWhereOrder = null;
+    if (pLanguage == undefined) pLanguage = null;
     
     var doc = [pFilename, report.exportToBytes(this.reportName, pCondition, pExportFormat, pWhereOrder, this.reportParams, this._getReportDataFields(), this._getReportDataValues(), pLanguage)];
     return doc;