object TnrwReport
  DllName = 'nPat\nPatORRazao'
  DllNameSource = 'nPat\nPatORRazao.dpr'
  ChaveQuebraPagina = '[Step_1.CodigoEmpresa]'
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'ESTAB'
      TableName = 'ESTAB'
      Left = 10
      Top = 10
      Height = 326
      Width = 314
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoempresa'
      TableAlias = 'ESTAB'
      Expression = 'CODIGOEMPRESA'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 0
      Caption = 'Empresa'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoestab'
      TableAlias = 'ESTAB'
      Expression = 'CODIGOESTAB'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 1
      Caption = 'Filial'
    end
    object TnpqQueryValue
      ValueAlias = 'Apelidoestab'
      TableAlias = 'ESTAB'
      Expression = 'APELIDOESTAB'
      DataType = ftString
      Width = 10
      Position = 2
      Caption = 'Identifica'#231#227'o'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigoempresa'
        Header = 'Codigoempresa'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEmpresa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigoestab'
        Header = 'Codigoestab'
        Position = 1
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEstab]|'
        end
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = '4'
          Caption = 'Empresa'
          Position = 4
          ConsultFields = 'CODIGOEMPRESA'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoEstab'
          Value = ' '
          Caption = 'Filial'
          Position = 5
          ConsultFields = 'CODIGOESTAB'
          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 = 17
        Visible = False
        Hint = 'Configure a ordena'#231#227'o do relat'#243'rio.'
      end
    end
  end
  object TnpqPowerParam
    object TnpqParamItem
      Alias = 'pDataInicial'
      Value = '01/01/2007'
      ParType = npqptUser
      Position = 1
      Requerid = True
      Dicionario = 'DATAINICIAL'
    end
    object TnpqParamItem
      Alias = 'pDataFinal'
      Value = '31/12/2007'
      ParType = npqptUser
      Position = 2
      Requerid = True
      Dicionario = 'DATAFINAL'
    end
    object TnpqParamItem
      Alias = 'pImpRelCadaFilial'
      Value = '1'
      ParType = npqptUser
      Caption = 'Imprimir um Relat'#243'rio para cada Filial'
      Position = 3
      Requerid = True
      Dicionario = 'dicsimnao'
      Hint = 
        'Informe "Sim" para imprimir um relat'#243'rio para cada filial da emp' +
        'resa, caso contr'#225'rio informe "N'#227'o"'
    end
    object TnpqParamItem
      Alias = 'pCodigo'
      Value = ' '
      ParType = npqptUser
      Caption = 'Conta Cont'#225'bil'
      Position = 6
      ConsultMultSelect = True
      Dicionario = 'CONTACTB'
    end
    object TnpqParamItem
      Alias = 'pNomeEmpresa'
      Value = '0004  Agroflorestal Tozzo SA'
      ParType = npqptUser
      Position = 7
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pInscrFederal'
      Value = 'CNPJ: 02.298.006/0001-12'
      ParType = npqptUser
      Position = 8
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pPag'
      Value = '18/05/2009 15:08 P'#225'g:0006'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pTipo'
      Value = '1'
      ParType = npqptUser
      Position = 10
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RDescr'
      Value = '923524 - 9.1.3.02.01.07.07  VACAS P/RECRIA'
      ParType = npqptUser
      Position = 11
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RData'
      Value = '31/12/2007'
      ParType = npqptUser
      Position = 12
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RHistorico'
      Value = 'Saldo Atual'
      ParType = npqptUser
      Position = 13
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RFilial'
      Value = 'Filial'
      ParType = npqptUser
      Position = 14
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RValor'
      ParType = npqptUser
      Position = 15
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RSaldo'
      Value = '67.129,59'
      ParType = npqptUser
      Position = 16
      Visible = False
    end
  end
  object TnpqSection
    Position = 32
    SectionIndex = 1
  end
  object TnpqSection
    Position = 80
    SectionIndex = 8
  end
  object TnpqSection
    Position = 128
    SectionIndex = 9
  end
  object TnpqSection
    Position = 144
    SectionIndex = 10
  end
  object TnpqSection
    Position = 160
    SectionIndex = 11
  end
  object TnpqSection
    Position = 176
    SectionIndex = 12
  end
  object TnpqSection
    Position = 192
    SectionIndex = 13
  end
  object TnpqSection
    Position = 240
    SectionIndex = 14
  end
  object TnpqLabel
    Name = 'Etiqueta17'
    Top = 128
    Left = 660
    Height = 16
    Width = 126
    Alignment = npqaRightJustify
    Caption = '[RSaldo]'
  end
  object TnpqLabel
    Name = 'Etiqueta13'
    Top = 128
    Left = 30
    Height = 16
    Width = 90
    Caption = '[RData]'
  end
  object TnpqLabel
    Name = 'Etiqueta11'
    Top = 48
    Left = 534
    Height = 16
    Width = 114
    Alignment = npqaRightJustify
    Caption = 'Valor'
  end
  object TnpqLabel
    Name = 'Etiqueta16'
    Top = 128
    Left = 534
    Height = 16
    Width = 114
    Alignment = npqaRightJustify
    Caption = '[RValor]'
  end
  object TnpqLabel
    Name = 'Etiqueta12'
    Top = 48
    Left = 660
    Height = 16
    Width = 126
    Alignment = npqaRightJustify
    Caption = 'Saldo'
  end
  object TnpqLabel
    Name = 'Etiqueta8'
    Top = 48
    Left = 132
    Height = 16
    Width = 216
    Caption = 'Hist'#243'rico'
  end
  object TnpqLabel
    Name = 'Etiqueta14'
    Top = 128
    Left = 132
    Height = 16
    Width = 216
    Caption = '[RHistorico]'
  end
  object TnpqLabel
    Name = 'Etiqueta18'
    Top = 144
    Left = 30
    Height = 16
    Width = 756
    Caption = '[RTexto]'
  end
  object TnpqLabel
    Name = 'Etiqueta10'
    Top = 48
    Left = 360
    Height = 16
    Width = 162
    Caption = 'Filial'
  end
  object TnpqLabel
    Name = 'Etiqueta15'
    Top = 128
    Left = 360
    Height = 16
    Width = 162
    Caption = '[RFilial]'
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 96
    Left = 30
    Height = 16
    Width = 756
    Caption = 'Conta: [RDescr]'
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 48
    Left = 30
    Height = 16
    Width = 90
    Caption = 'Data'
  end
  object TnpqLabel
    Name = 'Etiqueta19'
    Top = 160
    Left = 30
    Height = 16
    Width = 756
    Caption = '   Encargos'
  end
  object TnpqLabel
    Name = 'Etiqueta9'
    Top = 64
    Left = 30
    Height = 16
    Width = 756
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 208
    Left = 30
    Height = 16
    Width = 504
    Caption = '[pInscrFederal]'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 224
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 'Raz'#227'o Auxiliar por Conta Cont'#225'bil'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 192
    Left = 542
    Height = 16
    Width = 246
    Alignment = npqaRightJustify
    Caption = '[pPag]'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 208
    Left = 542
    Height = 16
    Width = 246
    Alignment = npqaRightJustify
    Caption = 'Per'#237'odo: [pDataInicial] a [pDataFinal]'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 192
    Left = 30
    Height = 16
    Width = 504
    Caption = '[pNomeEmpresa]'
  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
