object TnrwReport
  Page.MarginBottom = 0.170000000000000000
  Page.MarginLeft = 0.200000000000000000
  Page.MarginRight = 0.200000000000000000
  Page.MarginTop = 0.170000000000000000
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Serviconota'
      TableName = 'Serviconota'
      Left = 5
      Top = 75
      Height = 170
      Width = 123
    end
    object TnpqQueryTable
      TableAlias = 'Escritorio'
      TableName = 'Escritorio'
      Left = 290
      Top = 13
      Height = 169
      Width = 123
    end
    object TnpqQueryTable
      TableAlias = 'Cliente'
      TableName = 'Cliente'
      Left = 464
      Top = 9
      Height = 169
      Width = 123
    end
    object TnpqQueryTable
      TableAlias = 'Caixaconta'
      TableName = 'Caixaconta'
      Left = 213
      Top = 240
      Height = 170
      Width = 123
    end
    object TnpqQueryTable
      TableAlias = 'Contareceber'
      TableName = 'Contareceber'
      Left = 574
      Top = 216
      Height = 168
      Width = 123
    end
    object TnpqQueryTable
      TableAlias = 'Pessoafinanceiro'
      TableName = 'Pessoafinanceiro'
      Left = 608
      Top = 9
    end
    object TnpqJoin
      LeftTableAlias = 'Serviconota'
      RightTableAlias = 'Escritorio'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOESCRIT'
        RightFieldAlias = 'CODIGOESCRIT'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Serviconota'
      RightTableAlias = 'Cliente'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOCLIENTE'
        RightFieldAlias = 'CODIGOCLIENTE'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Serviconota'
      RightTableAlias = 'Caixaconta'
      JoinType = npqJoinLeft
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOCAIXACONTA'
        RightFieldAlias = 'CODIGOCAIXACONTA'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Serviconota'
      RightTableAlias = 'Contareceber'
      JoinType = npqJoinLeft
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOESCRIT'
        RightFieldAlias = 'CODIGOESCRIT'
      end
      object TnpqJoinField
        LeftFieldAlias = 'SERIENS'
        RightFieldAlias = 'SERIENS'
      end
      object TnpqJoinField
        LeftFieldAlias = 'NUMERONS'
        RightFieldAlias = 'NUMERONS'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Escritorio'
      RightTableAlias = 'Pessoafinanceiro'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOESCRIT'
        RightFieldAlias = 'CODIGOPESSOAFIN'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoescrit'
      TableAlias = 'Serviconota'
      Expression = 'CODIGOESCRIT'
      Sort = npqSortAscending
      Mask = '0000'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 0
      Caption = 'Escrit'#243'rio'
    end
    object TnpqQueryValue
      ValueAlias = 'Numerons'
      TableAlias = 'Serviconota'
      Expression = 'NUMERONS'
      DataType = ftInteger
      Width = 4
      Alignment = taRightJustify
      Position = 2
      Caption = 'N'#250'mero'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigocliente'
      TableAlias = 'Serviconota'
      Expression = 'CODIGOCLIENTE'
      Mask = '0000'
      DataType = ftInteger
      Width = 4
      Alignment = taRightJustify
      Position = 3
      Caption = 'Cliente'
    end
    object TnpqQueryValue
      ValueAlias = 'Razaosocialcliente'
      TableAlias = 'Cliente'
      Expression = 'RAZAOSOCIALCLIENTE'
      DataType = ftString
      Width = 50
      Position = 4
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'Periodonota'
      TableAlias = 'Serviconota'
      Expression = 'PERIODONOTA'
      DataType = ftString
      Width = 20
      Position = 5
      Caption = 'Per'#237'odo Nota'
    end
    object TnpqQueryValue
      ValueAlias = 'Valorliquido'
      TableAlias = 'Serviconota'
      Expression = 'VALORLIQUIDO'
      DataType = ftFMTBcd
      Width = 16
      Alignment = taRightJustify
      Position = 6
      Caption = 'Valor L'#237'quido'
    end
    object TnpqQueryValue
      ValueAlias = 'Dataemissaons'
      TableAlias = 'Serviconota'
      Expression = 'DATAEMISSAONS'
      DataType = ftDate
      Width = 0
      Position = 7
      Caption = 'Data Emiss'#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrcaixaconta'
      TableAlias = 'Caixaconta'
      Expression = 'DESCRCAIXACONTA'
      DataType = ftString
      Width = 50
      Position = 8
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Vistaprazo'
      TableAlias = 'Serviconota'
      Expression = 'VISTAPRAZO'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 9
      Caption = 'Forma Pagamento'
      CtrlNames = 'Vista;Prazo'
      CtrlValues = '1;2'
    end
    object TnpqQueryValue
      ValueAlias = 'Datavctocr'
      TableAlias = 'Contareceber'
      Expression = 'DATAVCTOCR'
      DataType = ftDate
      Width = 0
      Position = 10
      Caption = 'Data Vencimento'
    end
    object TnpqQueryValue
      ValueAlias = 'Canceladans'
      TableAlias = 'Serviconota'
      Expression = 'CANCELADANS'
      DataType = ftString
      Width = 1
      Position = 11
      Caption = 'Cancelada Nota Servi'#231'o'
      CtrlNames = 'Sim'#13#10'N'#227'o'
      CtrlValues = '1'#13#10'0'
    end
    object TnpqQueryValue
      ValueAlias = 'Nome'
      TableAlias = 'Pessoafinanceiro'
      Expression = 'NOME'
      DataType = ftString
      Width = 100
      Position = 1
      Caption = 'DICSTR100'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigoescrit'
        Header = 'Codigoescrit'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEscrit]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Dataemissaons'
        Header = 'Dataemissaons'
        Position = 7
        object TnpqFilterItem
          Operator = npqFilterBetween
          Filter = '[pDataInicial]|[pDataFinal]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Canceladans'
        Header = 'Canceladans'
        Position = 11
        object TnpqFilterItem
          Filter = '1|'
        end
      end
      object TnpqPowerParam
        SeparadoresUsar = False
        object TnpqParamItem
          Alias = 'pDataInicial'
          Value = ' '
          Caption = 'Data Inicial'
          CtrlType = ntcActData
          Position = 0
          ConsultFields = 'DATAEMISSAONS'
          Requerid = True
          Dicionario = 'DICDATA'
        end
        object TnpqParamItem
          Alias = 'pDataFinal'
          Value = ' '
          Caption = 'Data Final'
          CtrlType = ntcActData
          Position = 1
          ConsultFields = 'DATAEMISSAONS'
          Requerid = True
          Dicionario = 'DICDATA'
        end
        object TnpqParamItem
          Alias = 'pCodigoEscrit'
          Value = ' '
          Caption = 'Escrit'#243'rio'
          CtrlType = ntcLinkEdit
          Position = 2
          ConsultFields = 'CODIGOESCRIT'
          ConsultMultSelect = True
        end
      end
    end
    object TnpqPowerOrderBy
      Selected = 1
      object TnpqOrderBySeq
        Alias = 'Cliente'
        object TnpqOrderByField
          Alias = 'Codigocliente'
        end
        object TnpqOrderByField
          Alias = 'Numerons'
        end
      end
      object TnpqOrderBySeq
        Alias = 'N'#250'mero'
        object TnpqOrderByField
          Alias = 'Numerons'
        end
        object TnpqOrderByField
          Alias = 'Codigocliente'
        end
      end
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '1'
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 'Cliente=0;N'#250'mero=1;Nenhum=-1;Personalizar=-2'
        Position = 4
        Hint = 'Configure a ordena'#231#227'o do relat'#243'rio.'
      end
    end
  end
  object TnpqPowerParam
    SeparadoresUsar = False
    object TnpqParamItem
      Alias = 'pDataVcto'
      ParType = npqptUser
      Position = 5
      Visible = False
    end
  end
  object TnpqSection
    Position = 96
    SectionIndex = 0
  end
  object TnpqSection
    Position = 112
    SectionIndex = 2
    GroupField = 'Step_1.Codigoescrit'
    StartPage = True
    StartNumber = True
  end
  object TnpqSection
    Position = 128
    SectionIndex = 8
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 16
    Left = 570
    Height = 16
    Width = 228
    Alignment = npqaRightJustify
    Caption = '@var(gemVTempoPag;@PageNo)'
  end
  object TnpqLabel
    Name = 'Step_1.Numerons Legenda'
    Top = 64
    Left = 18
    Height = 16
    Width = 36
    Alignment = npqaRightJustify
    Caption = 'N'#250'mero'
  end
  object TnpqLabel
    Name = 'Step_1.Numerons'
    Top = 112
    Left = 18
    Height = 16
    Width = 36
    Alignment = npqaRightJustify
    Caption = '[Step_1.Numerons]'
  end
  object TnpqLabel
    Name = 'Step_1.Codigocliente Legenda'
    Top = 64
    Left = 60
    Height = 16
    Width = 48
    Alignment = npqaRightJustify
    Caption = 'Cliente'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 80
    Left = 18
    Height = 16
    Width = 780
    Alignment = npqaCenter
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 32
    Left = 18
    Height = 16
    Width = 780
    Alignment = npqaCenter
    Caption = 'Notas Fiscais Canceladas - Per'#237'odo [pDataInicial] a [pDataFinal]'
  end
  object TnpqLabel
    Name = 'Step_1.Razaosocialcliente'
    Top = 112
    Left = 60
    Height = 16
    Width = 276
    Caption = '[Step_1.Codigocliente] [Step_1.Razaosocialcliente]'
  end
  object TnpqLabel
    Name = 'Step_1.Periodonota'
    Top = 112
    Left = 342
    Height = 16
    Width = 78
    Alignment = npqaCenter
    Caption = '[Step_1.Periodonota]'
  end
  object TnpqLabel
    Name = 'Step_1.Periodonota Legenda'
    Top = 64
    Left = 342
    Height = 16
    Width = 78
    Alignment = npqaCenter
    Caption = 'Per'#237'odo'
  end
  object TnpqLabel
    Name = 'Step_1.Dataemissaons Legenda'
    Top = 64
    Left = 426
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = 'Emiss'#227'o'
  end
  object TnpqLabel
    Name = 'Step_1.Descrcaixaconta Legenda'
    Top = 64
    Left = 558
    Height = 16
    Width = 240
    Caption = 'Cobrador'
  end
  object TnpqLabel
    Name = 'Step_1.Descrcaixaconta'
    Top = 112
    Left = 558
    Height = 16
    Width = 240
    Caption = '[Step_1.Descrcaixaconta]'
  end
  object TnpqLabel
    Name = 'Step_1.Dataemissaons'
    Top = 112
    Left = 426
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = '[Step_1.Dataemissaons]'
  end
  object TnpqLabel
    Name = 'Step_1.Datavctocr Legenda'
    Top = 64
    Left = 492
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = 'Vencimento'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 112
    Left = 492
    Height = 16
    Width = 60
    Caption = 
      '@var(gemVRetornaData;[Step_1.Vistaprazo];[Step_1.Datavctocr];[St' +
      'ep_1.Dataemissaons])'
  end
  object TnpqLabel
    Name = 'Step_1.Codigoescrit'
    Top = 16
    Left = 18
    Height = 16
    Width = 420
    Caption = '[Step_1.Codigoescrit] [Step_1.Nome]'
  end
  object TnpqParamItem
    Alias = 'ReportFor'
    Value = '1'
    ParType = npqptReportFor
    Caption = 'Modo Impress'#227'o'
    CtrlType = ntcComboBox
    CtrlNameValues = 'Gr'#225'fico=1;Texto=2'
    Position = 0
    Visible = False
    Hint = 
      'Para impress'#227'o do relat'#243'rio em "laser" ou "jato de tinta" use "G' +
      'r'#225'fico", ou para "matricial" use "Texto"'
  end
end
