<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
  <DataSources>
    <DataSource Name="samm_web">
      <rd:DataSourceID>27368cf2-831e-4b78-9d6e-8466a061582c</rd:DataSourceID>
      <DataSourceReference>samm_web</DataSourceReference>
    </DataSource>
  </DataSources>
  <InteractiveHeight>29.7cm</InteractiveHeight>
  <rd:DrawGrid>true</rd:DrawGrid>
  <InteractiveWidth>21cm</InteractiveWidth>
  <rd:GridSpacing>0.1cm</rd:GridSpacing>
  <rd:SnapToGrid>true</rd:SnapToGrid>
  <RightMargin>0.5cm</RightMargin>
  <LeftMargin>2cm</LeftMargin>
  <PageHeader>
    <PrintOnFirstPage>true</PrintOnFirstPage>
    <ReportItems>
      <Rectangle Name="rectangle4">
        <ReportItems>
          <Textbox Name="txt_version">
            <Top>0.7cm</Top>
            <Width>2.9cm</Width>
            <Style>
              <FontSize>8pt</FontSize>
              <TextAlign>Center</TextAlign>
              <PaddingLeft>2pt</PaddingLeft>
              <PaddingRight>2pt</PaddingRight>
              <PaddingTop>2pt</PaddingTop>
              <PaddingBottom>2pt</PaddingBottom>
            </Style>
            <ZIndex>5</ZIndex>
            <CanGrow>true</CanGrow>
            <Left>22.2cm</Left>
            <Height>0.5cm</Height>
            <Value>="RC-" &amp; IIF(Cint(code.getReporteID())&lt;100,"0","") &amp; IIF(Cint(code.getReporteID())&lt;10,"0","") &amp; code.getReporteID()</Value>
          </Textbox>
          <Textbox Name="txt_version_">
            <Top>0.4cm</Top>
            <Width>2.9cm</Width>
            <Style>
              <FontSize>8pt</FontSize>
              <TextAlign>Center</TextAlign>
              <PaddingLeft>2pt</PaddingLeft>
              <PaddingRight>2pt</PaddingRight>
            </Style>
            <ZIndex>4</ZIndex>
            <CanGrow>true</CanGrow>
            <Left>22.2cm</Left>
            <Height>0.3cm</Height>
            <Value>Version 1</Value>
          </Textbox>
          <Image Name="image1">
            <Sizing>FitProportional</Sizing>
            <Width>6cm</Width>
            <Source>External</Source>
            <Style />
            <ZIndex>3</ZIndex>
            <Left>0.6cm</Left>
            <Height>1.5cm</Height>
            <Value>=code.imagen("cabecera")</Value>
          </Image>
          <Textbox Name="textbox38">
            <Top>0.1cm</Top>
            <Width>12.2cm</Width>
            <Style>
              <FontSize>14pt</FontSize>
              <FontWeight>700</FontWeight>
              <TextAlign>Center</TextAlign>
              <PaddingLeft>2pt</PaddingLeft>
              <PaddingRight>2pt</PaddingRight>
              <PaddingTop>2pt</PaddingTop>
              <PaddingBottom>2pt</PaddingBottom>
            </Style>
            <ZIndex>2</ZIndex>
            <CanGrow>true</CanGrow>
            <Left>7.5cm</Left>
            <Height>0.7cm</Height>
            <Value>=UCase(code.tituloReporte())</Value>
          </Textbox>
          <Line Name="line3">
            <Width>0cm</Width>
            <Style>
              <BorderStyle>
                <Default>Solid</Default>
              </BorderStyle>
              <BorderWidth>
                <Default>0.5pt</Default>
              </BorderWidth>
            </Style>
            <ZIndex>1</ZIndex>
            <Left>20cm</Left>
          </Line>
          <Line Name="line5">
            <Width>0cm</Width>
            <Style>
              <BorderStyle>
                <Default>Solid</Default>
              </BorderStyle>
              <BorderWidth>
                <Default>0.5pt</Default>
              </BorderWidth>
            </Style>
            <Left>7.2cm</Left>
          </Line>
        </ReportItems>
        <Width>27cm</Width>
        <Style>
          <BorderStyle>
            <Default>Solid</Default>
          </BorderStyle>
          <BorderWidth>
            <Default>0.5pt</Default>
          </BorderWidth>
        </Style>
      </Rectangle>
    </ReportItems>
    <Height>1.7cm</Height>
    <PrintOnLastPage>true</PrintOnLastPage>
  </PageHeader>
  <BottomMargin>0.5cm</BottomMargin>
  <rd:ReportID>92f5031e-16c0-46bc-91ba-e831dd45ae0c</rd:ReportID>
  <CodeModules>
    <CodeModule>System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</CodeModule>
  </CodeModules>
  <PageWidth>29.7cm</PageWidth>
  <DataSets>
    <DataSet Name="origen1">
      <Fields>
        <Field Name="prefijo_sol">
          <DataField>prefijo_sol</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="prefijo">
          <DataField>prefijo</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="fechaOT">
          <DataField>fechaOT</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="tercero">
          <DataField>tercero</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="nit">
          <DataField>nit</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="serial">
          <DataField>serial</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="pregunta">
          <DataField>pregunta</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="opcionRespuesta">
          <DataField>opcionRespuesta</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="departamentoSolicitud">
          <DataField>departamentoSolicitud</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="clasificacion">
          <DataField>clasificacion</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="tipificacion">
          <DataField>tipificacion</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="estadoTipoDocumento">
          <DataField>estadoTipoDocumento</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="antiguedad">
          <DataField>antiguedad</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="diasUltEstado">
          <DataField>diasUltEstado</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="cli_corporativo">
          <DataField>cli_corporativo</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="trabajos">
          <DataField>trabajos</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="sucursal">
          <DataField>sucursal</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="grupo">
          <DataField>grupo</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="motivoServicio">
          <DataField>motivoServicio</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="nombre">
          <DataField>nombre</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
        <Field Name="comentario">
          <DataField>comentario</DataField>
          <rd:TypeName>System.String</rd:TypeName>
        </Field>
      </Fields>
      <Query>
        <DataSourceName>samm_web</DataSourceName>
        <CommandText />
      </Query>
    </DataSet>
  </DataSets>
  <Code> Public Shared Function opciones(ByVal p_str_opcion As String) As String
        Dim r As String = getReporteID()
        Dim t_ As String = System.Web.HttpContext.Current.Session("samm_opcionReporte_" &amp; r)
        If Not t_ Is Nothing Then
            If t_ = "" Then
            Else
                For Each t_str As String In t_.Split("|")
                    If p_str_opcion.ToString() = t_str.Split(".")(0) Then
                        Return t_str.Split(".")(1).ToString()
                    End If
                Next
            End If
        End If
        Return "-1"
    End Function

    Public Shared Function imagen(ByVal p As String) As String
        Return String.Concat("http://", _
         System.Web.HttpContext.Current.Request.Url.Host, _
         ":", System.Web.HttpContext.Current.Request.Url.Port, _
        System.Web.HttpContext.Current.Request.ApplicationPath, _
        "/images/reportes/", p, ".jpg")
    End Function

 Shared TextoCabecera As String = ""

    Public Shared Function tituloReporte() As String
       return System.Web.HttpContext.Current.Session("samm_tituloReporte")
    End Function

    Public Shared Function codigoReporte() As String
       return System.Web.HttpContext.Current.Session("samm_codigoReporte") 
    End Function
           
    Public Shared Function filtroReporte() As String
    return System.Web.HttpContext.Current.Session("samm_filtroReporte")
    End Function

      Public Shared Function agrupamiento() As String
            Dim t_ As String = System.Web.HttpContext.Current.Session("samm_agrupamiento")
            If t_ &lt;&gt; "" Then
                Return t_ &amp; ": "
            Else
                Return ""
            End If
        End Function

    Shared TextoOTCabecera As String = ""

    Public Shared Function getValorElemento(ByVal ReportItems As Object, ByVal item As String) As String
        If TextoOTCabecera = "" Then
            TextoOTCabecera = ReportItems(item).Value.ToString()
        End If
        Return TextoOTCabecera
    End Function

    public shared function getReporteID() as String
    Dim t_ As String = Web.HttpContext.Current.Request.QueryString("r")
    return t_
    End Function</Code>
  <Width>27.3cm</Width>
  <Body>
    <ColumnSpacing>1cm</ColumnSpacing>
    <ReportItems>
      <Rectangle Name="rectangle1">
        <ZIndex>1</ZIndex>
        <ReportItems>
          <Textbox Name="textbox40">
            <Width>20.8cm</Width>
            <Style>
              <FontSize>8pt</FontSize>
              <PaddingLeft>2pt</PaddingLeft>
              <PaddingRight>2pt</PaddingRight>
              <PaddingTop>2pt</PaddingTop>
              <PaddingBottom>2pt</PaddingBottom>
            </Style>
            <CanGrow>true</CanGrow>
            <Height>0.5cm</Height>
            <Value>=code.filtroReporte()</Value>
          </Textbox>
        </ReportItems>
        <Width>27cm</Width>
        <Style>
          <BorderStyle>
            <Default>Solid</Default>
          </BorderStyle>
          <BorderWidth>
            <Default>0.5pt</Default>
          </BorderWidth>
        </Style>
        <Height>0.7cm</Height>
      </Rectangle>
      <Rectangle Name="rectangle2">
        <Left>0.1cm</Left>
        <ReportItems>
          <Matrix Name="matrix1">
            <MatrixColumns>
              <MatrixColumn>
                <Width>4.25397cm</Width>
              </MatrixColumn>
            </MatrixColumns>
            <RowGroupings>
              <RowGrouping>
                <Width>3.8cm</Width>
                <DynamicRows>
                  <Grouping Name="matrix1_RowGroup2">
                    <GroupExpressions>
                      <GroupExpression>=Fields!prefijo.Value</GroupExpression>
                    </GroupExpressions>
                  </Grouping>
                  <ReportItems>
                    <Textbox Name="textbox1">
                      <rd:DefaultName>textbox1</rd:DefaultName>
                      <Style>
                        <FontSize>9pt</FontSize>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                      <ZIndex>1</ZIndex>
                      <CanGrow>true</CanGrow>
                      <Value>=Fields!prefijo.Value</Value>
                    </Textbox>
                  </ReportItems>
                </DynamicRows>
              </RowGrouping>
              <RowGrouping>
                <Width>3.8cm</Width>
                <DynamicRows>
                  <Grouping Name="matrix1_RowGroup3">
                    <GroupExpressions>
                      <GroupExpression>=Fields!sucursal.Value</GroupExpression>
                    </GroupExpressions>
                  </Grouping>
                  <ReportItems>
                    <Textbox Name="textbox2">
                      <rd:DefaultName>textbox2</rd:DefaultName>
                      <Style>
                        <FontSize>9pt</FontSize>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                      <CanGrow>true</CanGrow>
                      <Value>=Fields!sucursal.Value</Value>
                    </Textbox>
                  </ReportItems>
                </DynamicRows>
              </RowGrouping>
              <RowGrouping>
                <Width>3.8cm</Width>
                <DynamicRows>
                  <Grouping Name="matrix1_RowGroup4">
                    <GroupExpressions>
                      <GroupExpression>=Fields!comentario.Value</GroupExpression>
                    </GroupExpressions>
                  </Grouping>
                  <ReportItems>
                    <Textbox Name="textbox3">
                      <rd:DefaultName>textbox3</rd:DefaultName>
                      <Style>
                        <FontSize>9pt</FontSize>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                      <CanGrow>true</CanGrow>
                      <Value>=Fields!comentario.Value</Value>
                    </Textbox>
                  </ReportItems>
                </DynamicRows>
              </RowGrouping>
            </RowGroupings>
            <Top>0.2cm</Top>
            <ColumnGroupings>
              <ColumnGrouping>
                <Height>0.9cm</Height>
                <DynamicColumns>
                  <Grouping Name="matrix1_ColumnGroup1">
                    <GroupExpressions>
                      <GroupExpression>=Fields!pregunta.Value</GroupExpression>
                    </GroupExpressions>
                  </Grouping>
                  <ReportItems>
                    <Textbox Name="textbox34">
                      <rd:DefaultName>textbox34</rd:DefaultName>
                      <Style>
                        <FontSize>9pt</FontSize>
                        <PaddingLeft>2pt</PaddingLeft>
                        <PaddingRight>2pt</PaddingRight>
                        <PaddingTop>2pt</PaddingTop>
                        <PaddingBottom>2pt</PaddingBottom>
                      </Style>
                      <ZIndex>2</ZIndex>
                      <CanGrow>true</CanGrow>
                      <Value>=Fields!pregunta.Value</Value>
                    </Textbox>
                  </ReportItems>
                </DynamicColumns>
              </ColumnGrouping>
            </ColumnGroupings>
            <Width>15.65397cm</Width>
            <Corner>
              <ReportItems>
                <Textbox Name="textbox33">
                  <rd:DefaultName>textbox33</rd:DefaultName>
                  <Style>
                    <FontSize>9pt</FontSize>
                    <TextAlign>Center</TextAlign>
                    <VerticalAlign>Middle</VerticalAlign>
                    <PaddingLeft>2pt</PaddingLeft>
                    <PaddingRight>2pt</PaddingRight>
                    <PaddingTop>2pt</PaddingTop>
                    <PaddingBottom>2pt</PaddingBottom>
                  </Style>
                  <ZIndex>3</ZIndex>
                  <CanGrow>true</CanGrow>
                  <Value />
                </Textbox>
              </ReportItems>
            </Corner>
            <Style>
              <FontSize>9pt</FontSize>
            </Style>
            <MatrixRows>
              <MatrixRow>
                <Height>0.6cm</Height>
                <MatrixCells>
                  <MatrixCell>
                    <ReportItems>
                      <Textbox Name="textbox36">
                        <rd:DefaultName>textbox36</rd:DefaultName>
                        <Style>
                          <FontSize>9pt</FontSize>
                          <TextAlign>Center</TextAlign>
                          <PaddingLeft>2pt</PaddingLeft>
                          <PaddingRight>2pt</PaddingRight>
                          <PaddingTop>2pt</PaddingTop>
                          <PaddingBottom>2pt</PaddingBottom>
                        </Style>
                        <CanGrow>true</CanGrow>
                        <Value>=Fields!opcionRespuesta.Value</Value>
                      </Textbox>
                    </ReportItems>
                  </MatrixCell>
                </MatrixCells>
              </MatrixRow>
            </MatrixRows>
            <Height>1.5cm</Height>
            <Left>0.1cm</Left>
          </Matrix>
        </ReportItems>
        <Top>1cm</Top>
        <Width>27.00001cm</Width>
        <Style>
          <BorderStyle>
            <Bottom>Solid</Bottom>
          </BorderStyle>
          <BorderWidth>
            <Bottom>0.5pt</Bottom>
          </BorderWidth>
        </Style>
      </Rectangle>
    </ReportItems>
    <Height>2.9cm</Height>
  </Body>
  <Language>es-CO</Language>
  <PageFooter>
    <PrintOnFirstPage>true</PrintOnFirstPage>
    <ReportItems>
      <Line Name="lineaPiePagina1">
        <Width>18.3cm</Width>
        <Style>
          <BorderStyle>
            <Default>Solid</Default>
          </BorderStyle>
          <BorderWidth>
            <Default>0.5pt</Default>
          </BorderWidth>
        </Style>
        <ZIndex>6</ZIndex>
        <Height>0cm</Height>
      </Line>
      <Textbox Name="CambioPiePagina">
        <Top>0.1cm</Top>
        <Width>13.65cm</Width>
        <Style>
          <FontSize>6pt</FontSize>
          <TextAlign>Center</TextAlign>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
        <ZIndex>5</ZIndex>
        <CanGrow>true</CanGrow>
        <Left>2.325cm</Left>
        <Height>0.4cm</Height>
        <Value>IDAE Soluciones SAS - Cra 13 # 32 - 51 T. 3 Of: A-11   Teléfono: (57 1) 3381691 - www.idaesoluciones.com</Value>
      </Textbox>
      <Textbox Name="textbox34PIE">
        <Top>0.5cm</Top>
        <Width>1.5cm</Width>
        <Style>
          <FontSize>6pt</FontSize>
          <TextAlign>Left</TextAlign>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
        <ZIndex>4</ZIndex>
        <CanGrow>true</CanGrow>
        <Left>3cm</Left>
        <Value>=Globals!PageNumber &amp; " de " &amp; Globals!TotalPages</Value>
      </Textbox>
      <Textbox Name="textbox33PIE">
        <Top>0.5cm</Top>
        <Width>6.1cm</Width>
        <Style>
          <FontSize>6pt</FontSize>
          <TextAlign>Right</TextAlign>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
        <ZIndex>3</ZIndex>
        <CanGrow>true</CanGrow>
        <Left>10.5cm</Left>
        <Height>0.4cm</Height>
        <Value>Impreso por sammweb - www.softwaresamm.com</Value>
      </Textbox>
      <Textbox Name="textbox10PIE">
        <Top>0.5cm</Top>
        <Width>0.95cm</Width>
        <Style>
          <FontSize>6pt</FontSize>
          <FontWeight>700</FontWeight>
          <TextAlign>Right</TextAlign>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
        <ZIndex>2</ZIndex>
        <CanGrow>true</CanGrow>
        <Left>0.7875in</Left>
        <Value>Página:</Value>
      </Textbox>
      <Textbox Name="textbox11PIE">
        <Top>0.5cm</Top>
        <Width>1.85cm</Width>
        <Style>
          <FontSize>6pt</FontSize>
          <FontWeight>700</FontWeight>
          <TextAlign>Right</TextAlign>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
        <ZIndex>1</ZIndex>
        <CanGrow>true</CanGrow>
        <Left>4.7cm</Left>
        <Value>Fecha Impresión</Value>
      </Textbox>
      <Textbox Name="textbox12PIE">
        <Top>0.5cm</Top>
        <Width>3.7cm</Width>
        <Style>
          <FontSize>6pt</FontSize>
          <TextAlign>Left</TextAlign>
          <PaddingLeft>2pt</PaddingLeft>
          <PaddingRight>2pt</PaddingRight>
          <PaddingTop>2pt</PaddingTop>
          <PaddingBottom>2pt</PaddingBottom>
        </Style>
        <CanGrow>true</CanGrow>
        <Left>6.6cm</Left>
        <Value>=Globals!ExecutionTime</Value>
      </Textbox>
    </ReportItems>
    <Height>0.93492cm</Height>
    <PrintOnLastPage>true</PrintOnLastPage>
  </PageFooter>
  <TopMargin>0.5cm</TopMargin>
  <PageHeight>21cm</PageHeight>
</Report>