object TnrwReport
  ChaveQuebraPagina = '[Step_1.Codigoempresa]'
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Empresa'
      TableName = 'Empresa'
      Left = 10
      Top = 10
      Height = 242
      Width = 153
    end
    object TnpqQueryTable
      TableAlias = 'Tabelactbctr'
      TableName = 'Tabelactbctr'
      Left = 247
      Top = 113
      Height = 185
      Width = 164
    end
    object TnpqQueryTable
      TableAlias = 'Tabelactbctrlctoctb'
      TableName = 'Tabelactbctrlctoctb'
      Left = 499
      Top = 10
      Height = 227
      Width = 199
    end
    object TnpqJoin
      LeftTableAlias = 'Tabelactbctrlctoctb'
      RightTableAlias = 'Tabelactbctr'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOTABCTBCTR'
        RightFieldAlias = 'CODIGOTABCTBCTR'
      end
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Empresa'
      RightTableAlias = 'Tabelactbctrlctoctb'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoempresa'
      TableAlias = 'Empresa'
      Expression = 'CODIGOEMPRESA'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 0
      Caption = 'Empresa'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigotabctbctr'
      TableAlias = 'Tabelactbctr'
      Expression = 'CODIGOTABCTBCTR'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 1
      Caption = 'Tabela Cont'#225'bil'
    end
    object TnpqQueryValue
      ValueAlias = 'Seq'
      TableAlias = 'Tabelactbctrlctoctb'
      Expression = 'SEQ'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 2
      Caption = 'Seq'#252#234'ncia'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeempresa'
      TableAlias = 'Empresa'
      Expression = 'NOMEEMPRESA'
      DataType = ftString
      Width = 100
      Position = 3
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrtabctbctr'
      TableAlias = 'Tabelactbctr'
      Expression = 'DESCRTABCTBCTR'
      DataType = ftString
      Width = 50
      Position = 4
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Naturlctoctb'
      TableAlias = 'Tabelactbctrlctoctb'
      Expression = 'NATURLCTOCTB'
      DataType = ftSmallint
      Width = 1
      Alignment = taRightJustify
      Position = 5
      Caption = 'Natureza'
      CtrlNames = 'D'#233'bito'#13#10'Cr'#233'dito'
      CtrlValues = '1'#13#10'-1'
    end
    object TnpqQueryValue
      ValueAlias = 'Contactb'
      TableAlias = 'Tabelactbctrlctoctb'
      Expression = 'CONTACTB'
      Mask = '#'
      DataType = ftFMTBcd
      Width = 10
      Alignment = taRightJustify
      Position = 6
      Caption = 'Conta Cont'#225'bil'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigohistctb'
      TableAlias = 'Tabelactbctrlctoctb'
      Expression = 'CODIGOHISTCTB'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 7
      Caption = 'Hist'#243'rico'
    end
    object TnpqQueryValue
      ValueAlias = 'Complhistctb'
      TableAlias = 'Tabelactbctrlctoctb'
      Expression = 'COMPLHISTCTB'
      DataType = ftString
      Width = 300
      Position = 9
      Caption = 'Complemento'
      CtrlNames = #13#10#13#10#13#10#13#10#13#10#13#10
      CtrlValues = 
        #243'digo do Imposto [CodImp]'#13#10'ome do Imposto [NomeImp]'#13#10'er'#237'odo no f' +
        'ormato m'#234's/ano [PeriodoIni]'#13#10'er'#237'odo no formato m'#234's/ano [PeriodoF' +
        'im]'#13#10'er'#237'odo no formato dia/m'#234's/ano [DataApuIni]'#13#10'er'#237'odo no forma' +
        'to dia/m'#234's/ano [DataApuFim]'#13#10'bserva'#231#227'o [OBSERV]'
    end
    object TnpqQueryValue
      ValueAlias = 'Regravalorlctoctb'
      TableAlias = 'Tabelactbctrlctoctb'
      Expression = 'REGRAVALORLCTOCTB'
      DataType = ftString
      Width = 100
      Position = 8
      Caption = 'Regra Valor Lan'#231'amento'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigoempresa'
        Header = 'Codigoempresa'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEmpresa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigotabctbctr'
        Header = 'Codigotabctbctr'
        Position = 1
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoTabCtbCtr]|'
        end
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = ' '
          Caption = 'Empresa'
          Position = 1
          ConsultFields = 'CODIGOEMPRESA'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoTabCtbCtr'
          Value = ' '
          Caption = 'Tabela Cont'#225'bil'
          Position = 2
          ConsultFields = 'CODIGOTABCTBCTR'
          ConsultMultSelect = True
          Hint = 'Informe o c'#243'digo das tabelas cont'#225'beis'
        end
      end
    end
    object TnpqPowerOrderBy
      Selected = 0
      object TnpqOrderBySeq
        Alias = 'Tab. Cont'#225'bil'
        object TnpqOrderByField
          Alias = 'Codigotabctbctr'
        end
        object TnpqOrderByField
          Alias = 'Seq'
        end
        object TnpqOrderByField
          Alias = 'Naturlctoctb'
          Sort = npqSortFldDescending
        end
      end
      object TnpqOrderBySeq
        Alias = 'Descri'#231#227'o'
        object TnpqOrderByField
          Alias = 'Descrtabctbctr'
        end
        object TnpqOrderByField
          Alias = 'Codigotabctbctr'
        end
        object TnpqOrderByField
          Alias = 'Seq'
        end
        object TnpqOrderByField
          Alias = 'Naturlctoctb'
          Sort = npqSortFldDescending
        end
      end
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '0'
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 'Tab. Cont'#225'bil=0;Descri'#231#227'o=1;Nenhum=-1;Personalizar=-2'
        Position = 3
        Hint = 'Configure a ordena'#231#227'o do relat'#243'rio.'
      end
    end
  end
  object TnpqSection
    Position = 112
    SectionIndex = 1
  end
  object TnpqSection
    Position = 112
    SectionIndex = 2
    GroupField = 'Step_1.Codigoempresa'
    StartPage = True
  end
  object TnpqSection
    Position = 128
    SectionIndex = 3
    GroupField = 'Step_1.Codigotabctbctr'
  end
  object TnpqSection
    Position = 144
    SectionIndex = 8
  end
  object TnpqSection
    Position = 160
    SectionIndex = 48
    GroupField = 'Step_1.Codigotabctbctr'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 32
    Left = 30
    Height = 16
    Width = 480
    Caption = 
      '@var(gemVFormatZero;[Step_1.Codigoempresa];4) [Step_1.Nomeempres' +
      'a]'
  end
  object TnpqLabel
    Name = 'Step_1.Complhistctb'
    Top = 128
    Left = 480
    Height = 16
    Width = 306
    Caption = '[Step_1.Complhistctb]'
  end
  object TnpqLabel
    Name = 'Step_1.Complhistctb Legenda'
    Top = 80
    Left = 480
    Height = 16
    Width = 306
    Caption = 'Complemento'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 96
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 
      '________________________________________________________________' +
      '______________________________________________________________'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 32
    Left = 516
    Height = 16
    Width = 270
    Alignment = npqaRightJustify
    Caption = '@var(gemVTempoPag;@PageNo)'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 48
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 'Tabelas Cont'#225'beis'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 112
    Left = 120
    Height = 16
    Width = 546
    Caption = '[Step_1.Codigotabctbctr]   [Step_1.Descrtabctbctr]'
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 112
    Left = 30
    Height = 16
    Width = 84
    Caption = 'Tab. Cont'#225'bil:'
  end
  object TnpqLabel
    Name = 'Step_1.Contactb Legenda'
    Top = 80
    Left = 30
    Height = 16
    Width = 84
    Alignment = npqaRightJustify
    Caption = 'Conta Cont'#225'bil'
  end
  object TnpqLabel
    Name = 'Step_1.Contactb'
    Top = 128
    Left = 30
    Height = 16
    Width = 84
    Alignment = npqaRightJustify
    Caption = '[Step_1.Contactb]'
  end
  object TnpqLabel
    Name = 'Step_1.Regravalorlctoctb Legenda'
    Top = 80
    Left = 216
    Height = 16
    Width = 252
    Caption = 'Regra Valor Lan'#231'amento'
  end
  object TnpqLabel
    Name = 'Step_1.Naturlctoctb Legenda'
    Top = 80
    Left = 132
    Height = 16
    Width = 66
    Caption = 'Natureza'
  end
  object TnpqLabel
    Name = 'Step_1.Naturlctoctb'
    Top = 128
    Left = 132
    Height = 16
    Width = 66
    Caption = '[Step_1.Naturlctoctb]'
  end
  object TnpqLabel
    Name = 'Step_1.Regravalorlctoctb'
    Top = 128
    Left = 216
    Height = 16
    Width = 252
    Caption = '[Step_1.Regravalorlctoctb]'
  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
