Modificacion Reportes

git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C567
This commit is contained in:
asaenz 2022-07-13 23:44:28 +00:00
parent 538adff39d
commit c628ab0b2d
7 changed files with 336 additions and 220 deletions

View file

@ -53,11 +53,11 @@
<DataSet Include="dsConciliacion_Interactiva.rsd" />
<DataSet Include="dsRecaudacion.rsd" />
<DataSet Include="dsRecaudacion3001.rsd" />
<DataSet Include="dsRecaudacionD.rsd" />
<DataSet Include="dsRecRegion.rsd" />
<DataSet Include="dsREstRec.rsd" />
<DataSet Include="dsRevComis.rsd" />
<DataSet Include="dsRSumComisionesFPago.rsd" />
<DataSet Include="RRecaudacionD.rsd" />
</ItemGroup>
<ItemGroup>
<DataSource Include="dsAyA.rds" />

View file

@ -3,9 +3,19 @@
<df:DefaultFontFamily>Segoe UI</df:DefaultFontFamily>
<AutoRefresh>0</AutoRefresh>
<DataSets>
<DataSet Name="DataSet1">
<DataSet Name="dsREstRec">
<SharedDataSet>
<SharedDataSetReference>dsREstRec</SharedDataSetReference>
<QueryParameters>
<QueryParameter Name="p_f_inicio">
<Value>=Parameters!p_f_inicio.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="p_f_final">
<Value>=Parameters!p_f_final.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
</SharedDataSet>
<Fields>
<Field Name="COD_RECAUDADOR">
@ -639,7 +649,7 @@
<TablixMember />
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<DataSetName>dsREstRec</DataSetName>
<Top>0.06944in</Top>
<Left>0.89818in</Left>
<Height>0.75in</Height>
@ -873,10 +883,42 @@
</Page>
</ReportSection>
</ReportSections>
<ReportParameters>
<ReportParameter Name="p_f_inicio">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>01/01/2020</Value>
</Values>
</DefaultValue>
<Prompt>Fecha Inicio</Prompt>
</ReportParameter>
<ReportParameter Name="p_f_final">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>01/02/2020</Value>
</Values>
</DefaultValue>
<Prompt>Fecha Final</Prompt>
</ReportParameter>
</ReportParameters>
<ReportParametersLayout>
<GridLayoutDefinition>
<NumberOfColumns>4</NumberOfColumns>
<NumberOfRows>2</NumberOfRows>
<CellDefinitions>
<CellDefinition>
<ColumnIndex>0</ColumnIndex>
<RowIndex>0</RowIndex>
<ParameterName>p_f_inicio</ParameterName>
</CellDefinition>
<CellDefinition>
<ColumnIndex>1</ColumnIndex>
<RowIndex>0</RowIndex>
<ParameterName>p_f_final</ParameterName>
</CellDefinition>
</CellDefinitions>
</GridLayoutDefinition>
</ReportParametersLayout>
<EmbeddedImages>

View file

@ -7,10 +7,18 @@
<SharedDataSet>
<SharedDataSetReference>dsRecaudacion</SharedDataSetReference>
<QueryParameters>
<QueryParameter Name="p_fechainicial">
<Value>=Parameters!p_fechainicial.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="p_recaudador">
<Value>=Parameters!p_recaudador.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="p_fechafinal">
<Value>=Parameters!p_fechafinal.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
</SharedDataSet>
<Fields>
@ -835,6 +843,15 @@
</ReportSection>
</ReportSections>
<ReportParameters>
<ReportParameter Name="p_fechainicial">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>'01/01/2020'</Value>
</Values>
</DefaultValue>
<Prompt>Fecha Inicial</Prompt>
</ReportParameter>
<ReportParameter Name="p_recaudador">
<DataType>String</DataType>
<DefaultValue>
@ -844,6 +861,15 @@
</DefaultValue>
<Prompt>Recaudador</Prompt>
</ReportParameter>
<ReportParameter Name="p_fechafinal">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>01/01/2022</Value>
</Values>
</DefaultValue>
<Prompt>Fecha Final</Prompt>
</ReportParameter>
</ReportParameters>
<ReportParametersLayout>
<GridLayoutDefinition>
@ -851,10 +877,20 @@
<NumberOfRows>2</NumberOfRows>
<CellDefinitions>
<CellDefinition>
<ColumnIndex>0</ColumnIndex>
<ColumnIndex>1</ColumnIndex>
<RowIndex>0</RowIndex>
<ParameterName>p_recaudador</ParameterName>
</CellDefinition>
<CellDefinition>
<ColumnIndex>0</ColumnIndex>
<RowIndex>0</RowIndex>
<ParameterName>p_fechainicial</ParameterName>
</CellDefinition>
<CellDefinition>
<ColumnIndex>2</ColumnIndex>
<RowIndex>0</RowIndex>
<ParameterName>p_fechafinal</ParameterName>
</CellDefinition>
</CellDefinitions>
</GridLayoutDefinition>
</ReportParametersLayout>

View file

@ -2,32 +2,71 @@
<Report MustUnderstand="df" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:df="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition/defaultfontfamily">
<df:DefaultFontFamily>Segoe UI</df:DefaultFontFamily>
<AutoRefresh>0</AutoRefresh>
<DataSets>
<DataSet Name="dsRecaudacionD">
<SharedDataSet>
<SharedDataSetReference>dsRecaudacionD</SharedDataSetReference>
<QueryParameters>
<QueryParameter Name="p_recaudador">
<Value>=Parameters!p_recaudador.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
</SharedDataSet>
<Fields>
<Field Name="COD_RECAUDADOR">
<DataField>COD_RECAUDADOR</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="FECHA_CONTABLE">
<DataField>FECHA_CONTABLE</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="REMESA">
<DataField>REMESA</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="MONTO">
<DataField>MONTO</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
<Field Name="COMISION">
<DataField>COMISION</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
<Field Name="MONTO_RETENCION">
<DataField>MONTO_RETENCION</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportSections>
<ReportSection>
<Body>
<ReportItems>
<Tablix Name="Tablix2">
<Tablix Name="Tablix1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>2.89687cm</Width>
<Width>2.5cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.75229cm</Width>
<Width>2.5cm</Width>
</TablixColumn>
<TablixColumn>
<Width>3.58542cm</Width>
<Width>3.23708cm</Width>
</TablixColumn>
<TablixColumn>
<Width>3.71646cm</Width>
<Width>3.26729cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.80333cm</Width>
<Width>5.56917cm</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.56296cm</Height>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
@ -41,89 +80,14 @@
<Value>Recaudador</Value>
<Style>
<FontWeight>Bold</FontWeight>
<TextDecoration>None</TextDecoration>
<Color>Yellow</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>DarkBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Remesa</Value>
<Style>
<FontWeight>Bold</FontWeight>
<Color>Yellow</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>DarkBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox14">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Monto Recibidos</Value>
<Style>
<FontWeight>Bold</FontWeight>
<Color>Yellow</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox11</rd:DefaultName>
<rd:DefaultName>Textbox2</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
@ -147,35 +111,18 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>Monto Comisi</Value>
<Style>
<FontWeight>Bold</FontWeight>
<Color>Yellow</Color>
</Style>
</TextRun>
<TextRun>
<Value>ó</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontWeight>Bold</FontWeight>
<TextDecoration>None</TextDecoration>
<Color>Yellow</Color>
</Style>
</TextRun>
<TextRun>
<Value>n</Value>
<Value>Remesa</Value>
<Style>
<FontFamily>Arial</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>Yellow</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<rd:DefaultName>Textbox8</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
@ -192,31 +139,48 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox15">
<Textbox Name="Textbox6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Retenci</Value>
<Value>Monto Recibos</Value>
<Style>
<FontFamily>Arial</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>Yellow</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>DarkBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox12">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>ó</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontWeight>Bold</FontWeight>
<TextDecoration>None</TextDecoration>
<Color>Yellow</Color>
</Style>
</TextRun>
<TextRun>
<Value>n 2%</Value>
<Value>Monto Comision</Value>
<Style>
<FontFamily>Arial</FontFamily>
<FontWeight>Bold</FontWeight>
@ -224,12 +188,45 @@
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<rd:DefaultName>Textbox12</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>DarkBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox10">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Retencion 2%</Value>
<Style>
<FontFamily>Arial</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>Yellow</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox10</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
@ -251,7 +248,7 @@
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="COD_RECAUDADOR2">
<Textbox Name="COD_RECAUDADOR">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -259,10 +256,7 @@
<TextRuns>
<TextRun>
<Value>=Fields!COD_RECAUDADOR.Value</Value>
<Style>
<FontStyle>Italic</FontStyle>
<FontWeight>Bold</FontWeight>
</Style>
<Style />
</TextRun>
</TextRuns>
<Style />
@ -284,7 +278,7 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="REMESA2">
<Textbox Name="REMESA">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -293,8 +287,7 @@
<TextRun>
<Value>=Fields!REMESA.Value</Value>
<Style>
<FontStyle>Italic</FontStyle>
<FontWeight>Bold</FontWeight>
<FontFamily>Arial</FontFamily>
</Style>
</TextRun>
</TextRuns>
@ -317,7 +310,7 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="MONTO2">
<Textbox Name="MONTO">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -325,9 +318,7 @@
<TextRuns>
<TextRun>
<Value>=Fields!MONTO.Value</Value>
<Style>
<FontFamily>Arial</FontFamily>
</Style>
<Style />
</TextRun>
</TextRuns>
<Style />
@ -349,7 +340,7 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="COMISION2">
<Textbox Name="COMISION">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -357,7 +348,9 @@
<TextRuns>
<TextRun>
<Value>=Fields!COMISION.Value</Value>
<Style />
<Style>
<FontFamily>Arial</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
@ -379,7 +372,7 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="MONTO_RETENCION2">
<Textbox Name="MONTO_RETENCION">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -428,30 +421,31 @@
<KeepWithGroup>After</KeepWithGroup>
</TablixMember>
<TablixMember>
<Group Name="Detalles2" />
<Group Name="Detalles" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>dsRecaudacion</DataSetName>
<Top>0.7553cm</Top>
<Left>0.45717cm</Left>
<Height>1.16296cm</Height>
<Width>15.75437cm</Width>
<DataSetName>dsRecaudacionD</DataSetName>
<Top>1.05516cm</Top>
<Left>0.79057cm</Left>
<Height>1.2cm</Height>
<Width>17.07354cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox18">
<Textbox Name="Textbox14">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Total del Mes:</Value>
<Value>Mes Contable: ENERO</Value>
<Style>
<FontStyle>Italic</FontStyle>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
@ -459,11 +453,11 @@
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox18</rd:DefaultName>
<Top>2.42218cm</Top>
<Left>0.13967cm</Left>
<rd:DefaultName>Textbox14</rd:DefaultName>
<Top>0.15558cm</Top>
<Left>0.65828cm</Left>
<Height>0.6cm</Height>
<Width>2.5cm</Width>
<Width>4.61667cm</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
@ -475,7 +469,39 @@
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox19">
<Textbox Name="Textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Total del mes:</Value>
<Style>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName>
<Top>3.03953cm</Top>
<Left>0.65828cm</Left>
<Height>0.6cm</Height>
<Width>2.63229cm</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -491,12 +517,12 @@
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox18</rd:DefaultName>
<Top>2.42218cm</Top>
<Left>7.04467cm</Left>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.90724cm</Top>
<Left>7.37807cm</Left>
<Height>0.6cm</Height>
<Width>3.24021cm</Width>
<ZIndex>2</ZIndex>
<Width>2.5cm</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
<Style>None</Style>
@ -507,7 +533,7 @@
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox23">
<Textbox Name="Textbox5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -523,12 +549,12 @@
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox18</rd:DefaultName>
<Top>2.42218cm</Top>
<Left>11.05279cm</Left>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.90724cm</Top>
<Left>10.01918cm</Left>
<Height>0.6cm</Height>
<Width>2.65875cm</Width>
<ZIndex>3</ZIndex>
<Width>2.5cm</Width>
<ZIndex>4</ZIndex>
<Style>
<Border>
<Style>None</Style>
@ -539,7 +565,7 @@
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox24">
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
@ -555,52 +581,11 @@
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox18</rd:DefaultName>
<Top>2.42218cm</Top>
<Left>13.55279cm</Left>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.90724cm</Top>
<Left>15.4261cm</Left>
<Height>0.6cm</Height>
<Width>2.65875cm</Width>
<ZIndex>4</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox17">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Fecha Contable: </Value>
<Style>
<FontStyle>Italic</FontStyle>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>=First(Fields!FECHA_CONTABLE.Value, "dsRecaudacion")</Value>
<Style>
<FontStyle>Italic</FontStyle>
<FontWeight>Bold</FontWeight>
<Format>d</Format>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox17</rd:DefaultName>
<Top>0.07056cm</Top>
<Left>0.35876cm</Left>
<Height>0.6cm</Height>
<Width>7.95042cm</Width>
<Width>2.5cm</Width>
<ZIndex>5</ZIndex>
<Style>
<Border>
@ -613,7 +598,7 @@
</Style>
</Textbox>
</ReportItems>
<Height>1.59167in</Height>
<Height>1.60997in</Height>
<Style>
<Border>
<Style>None</Style>
@ -787,10 +772,28 @@
</Page>
</ReportSection>
</ReportSections>
<ReportParameters>
<ReportParameter Name="p_recaudador">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>LAFIS</Value>
</Values>
</DefaultValue>
<Prompt>Recaudador</Prompt>
</ReportParameter>
</ReportParameters>
<ReportParametersLayout>
<GridLayoutDefinition>
<NumberOfColumns>4</NumberOfColumns>
<NumberOfRows>2</NumberOfRows>
<CellDefinitions>
<CellDefinition>
<ColumnIndex>0</ColumnIndex>
<RowIndex>0</RowIndex>
<ParameterName>p_recaudador</ParameterName>
</CellDefinition>
</CellDefinitions>
</GridLayoutDefinition>
</ReportParametersLayout>
<EmbeddedImages>

View file

@ -2,15 +2,30 @@
<SharedDataSet xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/shareddatasetdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSet Name="DataSet1">
<Query>
<DataSourceReference>dsAyA</DataSourceReference>
<DataSourceReference>dsOracle</DataSourceReference>
<DataSetParameters>
<DataSetParameter Name="p_f_inicio">
<ReadOnly>false</ReadOnly>
<Nullable>false</Nullable>
<OmitFromQuery>false</OmitFromQuery>
<rd:UserDefined>true</rd:UserDefined>
</DataSetParameter>
<DataSetParameter Name="p_f_final">
<ReadOnly>false</ReadOnly>
<Nullable>false</Nullable>
<OmitFromQuery>false</OmitFromQuery>
<rd:UserDefined>true</rd:UserDefined>
</DataSetParameter>
</DataSetParameters>
<CommandText>select
a.cod_recaudador,
1 recibos,
round(to_number(a.total_pagado) / 100,2) monto,
round(to_number(a.comision) / 100,2) comision
from mtx_archivos_recaudadores a
from MTX.mtx_archivos_recaudadores a
where
to_date(substr(a.fecha_contable,1,8),'ddmmyyyy') between :p_f_inicio and :p_f_final</CommandText>
to_date(substr(a.fecha_contable,1,8),'ddmmyyyy') between :p_f_inicio and :p_f_final
</CommandText>
</Query>
<Fields>
<Field Name="COD_RECAUDADOR">

View file

@ -10,13 +10,25 @@
<OmitFromQuery>false</OmitFromQuery>
<rd:UserDefined>true</rd:UserDefined>
</DataSetParameter>
<DataSetParameter Name="p_fechainicial">
<ReadOnly>false</ReadOnly>
<Nullable>false</Nullable>
<OmitFromQuery>false</OmitFromQuery>
<rd:UserDefined>true</rd:UserDefined>
</DataSetParameter>
<DataSetParameter Name="p_fechafinal">
<ReadOnly>false</ReadOnly>
<Nullable>false</Nullable>
<OmitFromQuery>false</OmitFromQuery>
<rd:UserDefined>true</rd:UserDefined>
</DataSetParameter>
</DataSetParameters>
<CommandText>select distinct a.cod_recaudador, fecha_control fecha_contable,
decode(ltrim(rtrim(b.numero_deposito)), '',a.remesa, b.NUMERO_DEPOSITO) remesa,
sum(round(to_number(a.total_pagado) / 100,2)) monto,
sum(round(to_number(a.comision) / 100,2)) comision, b.monto_retencion
from mtx_archivos_recaudadores a, ptx_remesas_dep b
where fecha_control between '01/01/2000' and '01/01/2022'
from mtx.mtx_archivos_recaudadores a, ptx_remesas_dep b
where fecha_control between :p_fechainicial and :p_fechafinal
and a.cod_recaudador = decode(:p_recaudador,'TODOS',a.cod_recaudador,:p_recaudador)
and a.remesa = b.numero_remesa (+)
AND a.COD_RECAUDADOR = B.COD_RECAUDADOR(+)
@ -45,7 +57,7 @@ group by a.cod_recaudador, a.fecha_control, a.remesa, b.numero_deposito, b.mont
</Field>
<Field Name="MONTO_RETENCION">
<DataField>MONTO_RETENCION</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
</Fields>
</DataSet>

View file

@ -2,13 +2,21 @@
<SharedDataSet xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/shareddatasetdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSet Name="DataSet1">
<Query>
<DataSourceReference>dsAyA</DataSourceReference>
<DataSourceReference>dsOracle</DataSourceReference>
<DataSetParameters>
<DataSetParameter Name="p_recaudador">
<ReadOnly>false</ReadOnly>
<Nullable>false</Nullable>
<OmitFromQuery>false</OmitFromQuery>
<rd:UserDefined>true</rd:UserDefined>
</DataSetParameter>
</DataSetParameters>
<CommandText>select distinct a.cod_recaudador, fecha_control fecha_contable,
decode(ltrim(rtrim(b.numero_deposito)), '',a.remesa, b.NUMERO_DEPOSITO) remesa,
sum(round(to_number(a.total_pagado) / 100,2)) monto,
sum(round(to_number(a.comision) / 100,2)) comision, b.monto_retencion
from MTX.mtx_archivos_recaudadores a, MTX.ptx_remesas_dep b
where fecha_control between '01/01/2020' and '01/01/2022'
where fecha_control between '01/01/2020' and '01/02/2020'
and a.cod_recaudador = decode(:p_recaudador,'TODOS',a.cod_recaudador,:p_recaudador)
and a.remesa = b.numero_remesa (+)
AND a.COD_RECAUDADOR = B.COD_RECAUDADOR(+)