Creacion de reportes
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C559
This commit is contained in:
parent
b1a83a5df6
commit
3f6e8553a6
6 changed files with 1770 additions and 24 deletions
|
|
@ -52,6 +52,9 @@
|
|||
<DataSet Include="DataSet1.rsd" />
|
||||
<DataSet Include="dsConciliacion_Interactiva.rsd" />
|
||||
<DataSet Include="dsRecaudacion.rsd" />
|
||||
<DataSet Include="dsRecaudacion3001.rsd" />
|
||||
<DataSet Include="dsRecRegion.rsd" />
|
||||
<DataSet Include="dsRevComis.rsd" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<DataSource Include="dsAyA.rds" />
|
||||
|
|
@ -62,6 +65,7 @@
|
|||
<Report Include="RRecaudacion.rdl" />
|
||||
<Report Include="RRecaudacion3001.rdl" />
|
||||
<Report Include="RRecRegion.rdl" />
|
||||
<Report Include="RRevComis.rdl" />
|
||||
<Report Include="RSumComisionesFPago.rdl" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" />
|
||||
|
|
|
|||
|
|
@ -2,6 +2,41 @@
|
|||
<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="DataSet1">
|
||||
<SharedDataSet>
|
||||
<SharedDataSetReference>dsRecaudacion3001</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">
|
||||
<DataField>COD_RECAUDADOR</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="RECIBOS">
|
||||
<DataField>RECIBOS</DataField>
|
||||
<rd:TypeName>System.Double</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>
|
||||
</Fields>
|
||||
</DataSet>
|
||||
</DataSets>
|
||||
<ReportSections>
|
||||
<ReportSection>
|
||||
<Body>
|
||||
|
|
@ -44,8 +79,10 @@
|
|||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
<Value>=Sum(Fields!RECIBOS.Value)</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
|
|
@ -74,8 +111,10 @@
|
|||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
<Value>=Sum(Fields!MONTO.Value)</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
|
|
@ -83,9 +122,9 @@
|
|||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox17</rd:DefaultName>
|
||||
<Top>1.12028in</Top>
|
||||
<Left>2.95361in</Left>
|
||||
<Left>3.32861in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>1in</Width>
|
||||
<Width>1.14584in</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
|
|
@ -104,8 +143,10 @@
|
|||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
<Value>=Sum(Fields!COMISION.Value)</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
|
|
@ -113,9 +154,9 @@
|
|||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox18</rd:DefaultName>
|
||||
<Top>1.12028in</Top>
|
||||
<Left>4.155in</Left>
|
||||
<Left>4.53in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>1in</Width>
|
||||
<Width>1.14584in</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
|
|
@ -127,6 +168,476 @@
|
|||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Tablix Name="Tablix1">
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>1in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.70896in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.17708in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.25in</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox61">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>Yellow</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox61</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox58">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Cantidad de Recibos </Value>
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>Yellow</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox58</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="Textbox11">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Monto Recibos</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>Yellow</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox11</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="Textbox13">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Monto Comision</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>Yellow</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox13</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>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="COD_RECAUDADOR">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!COD_RECAUDADOR.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>COD_RECAUDADOR</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="RECIBOS">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!RECIBOS.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>RECIBOS</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="MONTO">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!MONTO.Value</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>MONTO</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="COMISION">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!COMISION.Value</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>COMISION</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox63">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox63</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox60">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox60</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox23">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox23</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox24">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Arial</FontFamily>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox24</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
</TablixRows>
|
||||
</TablixBody>
|
||||
<TablixColumnHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember>
|
||||
<Group Name="Detalles" />
|
||||
</TablixMember>
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DataSet1</DataSetName>
|
||||
<Top>0.12375in</Top>
|
||||
<Left>0.53979in</Left>
|
||||
<Height>0.75in</Height>
|
||||
<Width>5.13605in</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Tablix>
|
||||
</ReportItems>
|
||||
<Height>2in</Height>
|
||||
<Style>
|
||||
|
|
@ -197,7 +708,7 @@
|
|||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>0.33556in</Top>
|
||||
<Left>2.32861in</Left>
|
||||
<Left>2.07861in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>2.47222in</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
|
|
@ -229,7 +740,7 @@
|
|||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||
<Top>0.58556in</Top>
|
||||
<Left>2.41889in</Left>
|
||||
<Left>2.16889in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>1.18056in</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
|
|
@ -250,8 +761,10 @@
|
|||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
<Value>=Parameters!p_f_inicio.Value</Value>
|
||||
<Style>
|
||||
<Color>Blue</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
|
|
@ -259,9 +772,9 @@
|
|||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox4</rd:DefaultName>
|
||||
<Top>0.57167in</Top>
|
||||
<Left>3.50222in</Left>
|
||||
<Left>3.37722in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>0.41667in</Width>
|
||||
<Width>0.84723in</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
|
|
@ -291,7 +804,7 @@
|
|||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Top>0.57167in</Top>
|
||||
<Left>3.91889in</Left>
|
||||
<Left>4.04389in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>0.21528in</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
|
|
@ -312,8 +825,10 @@
|
|||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style />
|
||||
<Value>=Parameters!p_f_final.Value</Value>
|
||||
<Style>
|
||||
<Color>Blue</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
|
|
@ -323,7 +838,7 @@
|
|||
<Top>0.57167in</Top>
|
||||
<Left>4.14111in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>0.54167in</Width>
|
||||
<Width>0.875in</Width>
|
||||
<ZIndex>5</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
|
|
@ -398,7 +913,7 @@
|
|||
<Top>0.97917in</Top>
|
||||
<Left>0.83556in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>1.45139in</Width>
|
||||
<Width>1.63194in</Width>
|
||||
<ZIndex>8</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
|
|
@ -426,10 +941,42 @@
|
|||
</Page>
|
||||
</ReportSection>
|
||||
</ReportSections>
|
||||
<ReportParameters>
|
||||
<ReportParameter Name="p_f_inicio">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>01/01/2000 </Value>
|
||||
</Values>
|
||||
</DefaultValue>
|
||||
<Prompt>Fecha Inicio</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="p_f_final">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>01/01/2022</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>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -3,17 +3,24 @@
|
|||
<DataSet Name="DataSet1">
|
||||
<Query>
|
||||
<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_archivos_recaudadores a, ptx_remesas_dep b
|
||||
where fecha_control between :p_f_inicio and :p_f_final
|
||||
where fecha_control between '01/01/2000' and '01/01/2022'
|
||||
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(+)
|
||||
group by a.cod_recaudador, a.fecha_control, a.remesa, b.numero_deposito, b.monto_retencion
|
||||
</CommandText>
|
||||
group by a.cod_recaudador, a.fecha_control, a.remesa, b.numero_deposito, b.monto_retencion</CommandText>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="COD_RECAUDADOR">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SharedDataSet xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/shareddatasetdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
||||
<DataSet Name="DataSet2">
|
||||
<Query>
|
||||
<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
|
||||
where
|
||||
to_date(substr(a.fecha_contable,1,8),'ddmmyyyy') between :p_f_inicio and :p_f_final</CommandText>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="COD_RECAUDADOR">
|
||||
<DataField>COD_RECAUDADOR</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="RECIBOS">
|
||||
<DataField>RECIBOS</DataField>
|
||||
<rd:TypeName>System.Double</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>
|
||||
</Fields>
|
||||
</DataSet>
|
||||
</SharedDataSet>
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SharedDataSet xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/shareddatasetdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
||||
<DataSet Name="DataSet2">
|
||||
<Query>
|
||||
<DataSourceReference>dsOracle</DataSourceReference>
|
||||
<DataSetParameters>
|
||||
<DataSetParameter Name="p_remesa">
|
||||
<ReadOnly>false</ReadOnly>
|
||||
<Nullable>false</Nullable>
|
||||
<OmitFromQuery>false</OmitFromQuery>
|
||||
<rd:UserDefined>true</rd:UserDefined>
|
||||
</DataSetParameter>
|
||||
</DataSetParameters>
|
||||
<CommandText>select distinct
|
||||
substr(a.numero_recibo,2,7) numero_servicio,
|
||||
max(to_date(substr(a.numero_recibo,11,8),'ddmmyyyy')) fecha_facturacion,
|
||||
a.remesa,
|
||||
r.fila_cancelacion,
|
||||
m.nombre_recaudador,
|
||||
sum(r.monto_actualizado) monto,
|
||||
to_number(a.no_autorizacion) autoriz_rec,
|
||||
c.monto_comision,
|
||||
round(to_Number(a.total_pagado) / 100,2) * 0.02 com_calc
|
||||
from mtx_archivos_recaudadores a,
|
||||
ptx_recibos r,
|
||||
mtx_recaudadores m,
|
||||
ptx_cancelaciones c
|
||||
where to_number(a.no_autorizacion) = r.fila_cancelacion (+)
|
||||
and a.remesa = :p_remesa
|
||||
and a.cod_recaudador = m.cod_recaudador
|
||||
and c.fila_cancelacion = r.fila_cancelacion
|
||||
and c.fila_cancelacion = to_Number(a.no_autorizacion)
|
||||
and c.numero_remesa = :p_remesa
|
||||
group by
|
||||
substr(a.numero_recibo,2,7),
|
||||
a.remesa,
|
||||
to_number(a.no_autorizacion),
|
||||
to_char(r.numero_servicio)||lpad(to_char(r.sec_nis),2,'0'),
|
||||
r.fila_cancelacion,
|
||||
m.nombre_recaudador,
|
||||
to_number(a.no_autorizacion),
|
||||
c.monto_comision,
|
||||
round(to_Number(a.total_pagado) / 100,2) * 0.02
|
||||
having sum(r.monto_actualizado) < 35000
|
||||
UNION
|
||||
select distinct
|
||||
substr(a.numero_recibo,2,7) numero_servicio,
|
||||
max(to_date(substr(a.numero_recibo,11,8),'ddmmyyyy')) fecha_facturacion,
|
||||
a.remesa,
|
||||
r.fila_cancelacion,
|
||||
m.nombre_recaudador,
|
||||
sum(r.monto_actualizado) monto,
|
||||
to_number(a.no_autorizacion) autoriz_rec,
|
||||
c.monto_comision,
|
||||
700.00 com_calc
|
||||
from mtx_archivos_recaudadores a,
|
||||
ptx_recibos r,
|
||||
mtx_recaudadores m,
|
||||
ptx_cancelaciones c
|
||||
where to_number(a.no_autorizacion) = r.fila_cancelacion (+)
|
||||
and a.remesa = :p_remesa
|
||||
and a.cod_recaudador = m.cod_recaudador
|
||||
and c.fila_cancelacion = r.fila_cancelacion
|
||||
and c.fila_cancelacion = to_Number(a.no_autorizacion)
|
||||
and c.numero_remesa = :p_remesa
|
||||
group by
|
||||
substr(a.numero_recibo,2,7),
|
||||
a.remesa,
|
||||
to_number(a.no_autorizacion),
|
||||
to_char(r.numero_servicio)||lpad(to_char(r.sec_nis),2,'0'),
|
||||
round(to_number(a.total_pagado) / 100,2),
|
||||
r.fila_cancelacion,
|
||||
m.nombre_recaudador,
|
||||
to_number(a.no_autorizacion),
|
||||
c.monto_comision
|
||||
having sum(r.monto_actualizado) >= 35000
|
||||
order by 1,2</CommandText>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="NUMERO_SERVICIO">
|
||||
<DataField>NUMERO_SERVICIO</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="FECHA_FACTURACION">
|
||||
<DataField>FECHA_FACTURACION</DataField>
|
||||
<rd:TypeName>System.DateTime</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="REMESA">
|
||||
<DataField>REMESA</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="FILA_CANCELACION">
|
||||
<DataField>FILA_CANCELACION</DataField>
|
||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="NOMBRE_RECAUDADOR">
|
||||
<DataField>NOMBRE_RECAUDADOR</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="MONTO">
|
||||
<DataField>MONTO</DataField>
|
||||
<rd:TypeName>System.Double</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="AUTORIZ_REC">
|
||||
<DataField>AUTORIZ_REC</DataField>
|
||||
<rd:TypeName>System.Double</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="MONTO_COMISION">
|
||||
<DataField>MONTO_COMISION</DataField>
|
||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="COM_CALC">
|
||||
<DataField>COM_CALC</DataField>
|
||||
<rd:TypeName>System.Double</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
</DataSet>
|
||||
</SharedDataSet>
|
||||
Loading…
Add table
Reference in a new issue