@fluxhub/fluxhub-lib 10.0.318 → 10.0.320

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6163,15 +6163,18 @@
6163
6163
  if (this.fields.indexOf("DISTINCT") != -1)
6164
6164
  str_fields = "DISTINCT " + str_fields;
6165
6165
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
6166
+ var opx = 'GB_CREA_TABELLA_FROM_DB';
6167
+ if (this.system_dest == 2)
6168
+ opx = 'GB_CREA_TABELLA_FROM_DB1';
6166
6169
  if (this.export_field_aggiuntivi == '')
6167
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
6170
+ cmds.push(this.officeService.operation(opx, "select " +
6168
6171
  str_fields +
6169
6172
  " from " +
6170
6173
  this.tbl_name +
6171
6174
  " " +
6172
6175
  this.str_curr_q_p, "3", this.xxopx++));
6173
6176
  else
6174
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
6177
+ cmds.push(this.officeService.operation(opx, "select " +
6175
6178
  str_fields + ',' + this.export_field_aggiuntivi +
6176
6179
  " from " +
6177
6180
  this.tbl_name +