2348 - Correções DRE
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
</Panel>
|
||||
<Panel width="100%" margin="true" expandRatio="0.8" >
|
||||
<VerticalLayout width="100%" spacing="true" align="TOP_LEFT" >
|
||||
<DBTable id="tbResultados" type="string" expandRatio="1" compact="true" width="100%" rows="5" selectable="false" editable="false" >
|
||||
<DBTable id="tbResultados" type="string" expandRatio="1" compact="true" width="100%" rows="5" selectable="false" editable="false" exportXLS="true" >
|
||||
<datasource>
|
||||
<sqlBuilderDataSource connection-key="vitruvio" language="JavaScript">
|
||||
<![CDATA[
|
||||
@@ -202,7 +202,8 @@
|
||||
data = fDespesas.getTime();
|
||||
var dataFinalDespesas = formatter.format(data);
|
||||
|
||||
sql = "select fnc_dre_pivot(to_date('" + dataInicio + "','dd/MM/yyyy'),to_date('" + dataFinal + "','dd/MM/yyyy'),to_date('" + dataInicioDespesas + "','dd/MM/yyyy'),to_date('" + dataFinalDespesas + "','dd/MM/yyyy')) as sql_return";
|
||||
sql = "select fnc_dre_pivot2(to_date('" + dataInicio + "','dd/MM/yyyy'),to_date('" + dataFinal + "','dd/MM/yyyy'),to_date('" + dataInicioDespesas + "','dd/MM/yyyy'),to_date('" + dataFinalDespesas + "','dd/MM/yyyy')) as sql_return";
|
||||
|
||||
var ds = vQueryService.executeQuery('vitruvio', sql);
|
||||
ds.next();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user