object TnrwReport
  Page.MarginBottom = 0.150000000000000000
  Page.MarginLeft = 0.150000000000000000
  Page.MarginRight = 0.150000000000000000
  Page.MarginTop = 0.170000000000000000
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Impostobaixa'
      TableName = 'Impostobaixa'
      Left = 530
      Top = 5
      Width = 198
    end
    object TnpqQueryTable
      TableAlias = 'Imposto'
      TableName = 'Imposto'
      Left = 301
      Top = 175
      Height = 127
      Width = 192
    end
    object TnpqQueryTable
      TableAlias = 'Impostocontrole'
      TableName = 'Impostocontrole'
      Left = 27
      Top = 41
      Height = 249
      Width = 196
    end
    object TnpqQueryTable
      TableAlias = 'Empresa'
      TableName = 'Empresa'
      Left = 388
      Top = 82
      Height = 88
      Width = 130
    end
    object TnpqJoin
      LeftTableAlias = 'Impostocontrole'
      RightTableAlias = 'Impostobaixa'
      object TnpqJoinField
        LeftFieldAlias = 'CHAVECONTROLEIMPOSTO'
        RightFieldAlias = 'CHAVECONTROLEIMPOSTO'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Impostocontrole'
      RightTableAlias = 'Imposto'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOIMPOSTO'
        RightFieldAlias = 'CODIGOIMPOSTO'
      end
      object TnpqJoinField
        LeftFieldAlias = 'VARIACAOIMPOSTO'
        RightFieldAlias = 'VARIACAOIMPOSTO'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Impostocontrole'
      RightTableAlias = 'Empresa'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoimposto'
      TableAlias = 'Impostocontrole'
      Expression = 'CODIGOIMPOSTO'
      Sort = npqSortAscending
      Mask = '0000'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 0
      Caption = 'Imposto'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrimposto'
      TableAlias = 'Imposto'
      Expression = 'DESCRIMPOSTO'
      DataType = ftString
      Width = 50
      Position = 4
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoempresa'
      TableAlias = 'Impostocontrole'
      Expression = 'CODIGOEMPRESA'
      Mask = '0000'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 2
      Caption = 'Empresa'
    end
    object TnpqQueryValue
      ValueAlias = 'Statusimposto'
      TableAlias = 'Impostocontrole'
      Expression = 'STATUSIMPOSTO'
      DataType = ftSmallint
      Width = 1
      Alignment = taRightJustify
      Position = 3
      Caption = 'Situa'#231#227'o'
      CtrlNames = 'Aberto'#13#10'Parcial'#13#10'Total'
      CtrlValues = '1'#13#10'2'#13#10'3'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeempresa'
      TableAlias = 'Empresa'
      Expression = 'NOMEEMPRESA'
      DataType = ftString
      Width = 50
      Position = 5
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'Valorpgtoimposto'
      TableAlias = 'Impostobaixa'
      Expression = 'VALORPGTOIMPOSTO'
      DataType = ftFMTBcd
      Width = 16
      Alignment = taRightJustify
      Position = 9
      Caption = 'Valor'
    end
    object TnpqQueryValue
      ValueAlias = 'Seqimpostobaixa'
      TableAlias = 'Impostobaixa'
      Expression = 'SEQIMPOSTOBAIXA'
      Sort = npqSortAscending
      Mask = '00'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 7
      Caption = 'Seq'#252#234'ncia'
    end
    object TnpqQueryValue
      ValueAlias = 'Datapgtoimposto'
      TableAlias = 'Impostobaixa'
      Expression = 'DATAPGTOIMPOSTO'
      DataType = ftDate
      Width = 0
      Position = 8
      Caption = 'Data Pagamento'
    end
    object TnpqQueryValue
      ValueAlias = 'Observimpostobaixa'
      TableAlias = 'Impostobaixa'
      Expression = 'OBSERVIMPOSTOBAIXA'
      DataType = ftString
      Width = 50
      Position = 10
      Caption = 'Observa'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Valorimposto'
      TableAlias = 'Impostocontrole'
      Expression = 'VALORIMPOSTO'
      DataType = ftFMTBcd
      Width = 16
      Alignment = taRightJustify
      Position = 6
      Caption = 'Valor'
    end
    object TnpqQueryValue
      ValueAlias = 'Chavecontroleimposto'
      TableAlias = 'Impostobaixa'
      Expression = 'CHAVECONTROLEIMPOSTO'
      Sort = npqSortAscending
      Mask = '0000'
      DataType = ftInteger
      Width = 4
      Alignment = taRightJustify
      Position = 1
      Caption = 'Chave Imposto'
    end
    object TnpqQueryValue
      ValueAlias = 'Datapgtoimposto_1'
      TableAlias = 'Impostobaixa'
      Expression = 'DATAPGTOIMPOSTO'
      DataType = ftDate
      Width = 0
      Position = 11
      Caption = 'Data Pagamento'
    end
    object TnpqQueryValue
      ValueAlias = 'Datainicialapuracao'
      TableAlias = 'Impostocontrole'
      Expression = 'DATAINICIALAPURACAO'
      DataType = ftDate
      Width = 0
      Position = 12
      Caption = 'Data Inicial Apura'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Datafinalapuracao'
      TableAlias = 'Impostocontrole'
      Expression = 'DATAFINALAPURACAO'
      Mask = '0000'
      DataType = ftDate
      Width = 0
      Position = 13
      Caption = 'Data Final Apura'#231#227'o'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigoimposto'
        Header = 'Codigoimposto'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoImposto]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Chavecontroleimposto'
        Header = 'Chavecontroleimposto'
        Position = 1
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pChaveControleImpos]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigoempresa'
        Header = 'Codigoempresa'
        Position = 2
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEmpresa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Statusimposto'
        Header = 'Statusimposto'
        Position = 3
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pStatusImposto]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Datapgtoimposto'
        Header = 'Datapgtoimposto'
        Position = 8
        object TnpqFilterItem
          Operator = npqFilterGE
          Filter = '[pDataInicialPgto]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Datapgtoimposto_1'
        Header = 'Datapgtoimposto_1'
        Position = 11
        object TnpqFilterItem
          Operator = npqFilterLE
          Filter = '[pDataFinalPgto]|'
        end
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pStatusImposto'
          Value = ' '
          Caption = 'Situa'#231#227'o'
          CtrlType = ntcCheckListBox
          CtrlNameValues = 'Aberto=1;Parcial=2;Total=3'
          Position = 0
          ConsultFields = 'STATUSIMPOSTO'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pDataInicialPgto'
          Value = ' '
          Caption = 'Data Inicial Pagamento'
          CtrlType = ntcActData
          Position = 1
          ConsultFields = 'DATAPGTOIMPOSTO'
          Dicionario = 'DICDATA'
        end
        object TnpqParamItem
          Alias = 'pDataFinalPgto'
          Value = ' '
          Caption = 'Data Final Pagamento'
          CtrlType = ntcActData
          Position = 2
          ConsultFields = 'DATAPGTOIMPOSTO'
          Dicionario = 'DICDATA'
        end
        object TnpqParamItem
          Alias = 'pChaveControleImpos'
          Value = ' '
          Caption = 'Chave Imposto'
          Position = 3
          ConsultFields = 'CHAVECONTROLEIMPOSTO'
          ConsultMultSelect = True
          Dicionario = 'CHAVECONTROLEIMPOSTO'
        end
        object TnpqParamItem
          Alias = 'pCodigoImposto'
          Value = ' '
          Caption = 'Imposto'
          CtrlType = ntcLink
          Position = 4
          ConsultFields = 'CODIGOIMPOSTO'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = ' '
          Caption = 'Empresa'
          CtrlType = ntcLink
          Position = 5
          ConsultFields = 'CODIGOEMPRESA'
          ConsultMultSelect = True
        end
      end
    end
    object TnpqPowerOrderBy
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '-1'
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 'Nenhum=-1;Personalizar=-2'
        Position = 7
      end
    end
  end
  object TnpqSection
    Position = 96
    SectionIndex = 1
  end
  object TnpqSection
    Position = 112
    SectionIndex = 2
    GroupField = 'Step_1.Codigoimposto'
  end
  object TnpqSection
    Position = 128
    SectionIndex = 8
  end
  object TnpqSection
    Position = 144
    SectionIndex = 49
    GroupField = 'Step_1.Codigoimposto'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 16
    Left = 18
    Height = 16
    Width = 130
    Caption = 'Financeiro'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 16
    Left = 540
    Height = 16
    Width = 262
    Alignment = npqaRightJustify
    Caption = '@var(gemVTempoPag;@PageNo)'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 32
    Left = 12
    Height = 16
    Width = 792
    Alignment = npqaCenter
    Caption = 'Cr'#233'ditos por Imposto'
  end
  object TnpqLabel
    Name = 'Step_1.Descrimposto'
    Top = 96
    Left = 18
    Height = 16
    Width = 786
    Caption = '[Step_1.Codigoimposto] [Step_1.Descrimposto]'
  end
  object TnpqLabel
    Name = 'Step_1.Chavecontroleimposto Legenda'
    Top = 64
    Left = 18
    Height = 16
    Width = 54
    Alignment = npqaRightJustify
    Caption = 'Chave/Seq.'
  end
  object TnpqLabel
    Name = 'Step_1.Seqimpostobaixa'
    Top = 112
    Left = 18
    Height = 16
    Width = 54
    Alignment = npqaRightJustify
    Caption = '[Step_1.Chavecontroleimposto]/[Step_1.Seqimpostobaixa]'
  end
  object TnpqLabel
    Name = 'Step_1.Nomeempresa'
    Top = 112
    Left = 78
    Height = 16
    Width = 300
    Caption = '[Step_1.Codigoempresa] [Step_1.Nomeempresa]'
  end
  object TnpqLabel
    Name = 'Step_1.Codigoempresa Legenda'
    Top = 64
    Left = 78
    Height = 16
    Width = 300
    Caption = 'Empresa'
  end
  object TnpqLabel
    Name = 'Step_1.Datapgtoimposto'
    Top = 112
    Left = 516
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = '[Step_1.Datapgtoimposto]'
  end
  object TnpqLabel
    Name = 'Step_1.Datafinalapuracao Legenda'
    Top = 64
    Left = 450
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = 'Final Ap.'
  end
  object TnpqLabel
    Name = 'Step_1.Datafinalapuracao'
    Top = 112
    Left = 450
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = '[Step_1.Datafinalapuracao]'
  end
  object TnpqLabel
    Name = 'Step_1.Datainicialapuracao Legenda'
    Top = 64
    Left = 384
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = 'Inicial Ap.'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 80
    Left = 18
    Height = 16
    Width = 786
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________'
  end
  object TnpqLabel
    Name = 'Step_1.Datapgtoimposto Legenda'
    Top = 64
    Left = 516
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = 'Pagamento'
  end
  object TnpqLabel
    Name = 'Step_1.Statusimposto Legenda'
    Top = 64
    Left = 582
    Height = 16
    Width = 48
    Caption = 'Situa'#231#227'o'
  end
  object TnpqLabel
    Name = 'Step_1.Statusimposto'
    Top = 112
    Left = 582
    Height = 16
    Width = 48
    Caption = '[Step_1.Statusimposto]'
  end
  object TnpqLabel
    Name = 'Step_1.Valorimposto'
    Top = 112
    Left = 636
    Height = 16
    Width = 78
    Alignment = npqaRightJustify
    Caption = '[Step_1.Valorimposto]'
  end
  object TnpqLabel
    Name = 'Step_1.Valorpgtoimposto'
    Top = 112
    Left = 720
    Height = 16
    Width = 84
    Alignment = npqaRightJustify
    Caption = '[Step_1.Valorpgtoimposto]'
  end
  object TnpqLabel
    Name = 'Step_1.Valorimposto Legenda'
    Top = 64
    Left = 636
    Height = 16
    Width = 78
    Alignment = npqaRightJustify
    Caption = 'Valor Imposto'
  end
  object TnpqLabel
    Name = 'Step_1.Valorpgtoimposto Legenda'
    Top = 64
    Left = 720
    Height = 16
    Width = 84
    Alignment = npqaRightJustify
    Caption = 'Valor Pagamento'
  end
  object TnpqLabel
    Name = 'Step_1.Datainicialapuracao'
    Top = 112
    Left = 384
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = '[Step_1.Datainicialapuracao]'
  end
  object TnpqLabel
    Name = 'Step_1.Valorpgtoimposto1'
    Top = 128
    Left = 720
    Height = 16
    Width = 84
    Alignment = npqaRightJustify
    Caption = '@Sum([Step_1.Valorpgtoimposto])'
  end
  object TnpqLabel
    Name = 'Step_1.Valorpgtoimposto Legenda1'
    Top = 128
    Left = 618
    Height = 16
    Width = 96
    Alignment = npqaRightJustify
    Caption = 'Valor Total'
  end
  object TnpqParamItem
    Alias = 'ReportFor'
    Value = '1'
    ParType = npqptReportFor
    Caption = 'Modo Impress'#227'o'
    CtrlType = ntcComboBox
    CtrlNameValues = 'Gr'#225'fico=1;Texto=2'
    Position = 6
    Visible = False
  end
end
