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 = ' '
          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/01/2007'
      ParType = npqptUser
      Position = 2
      Requerid = True
      Dicionario = 'DATAFINAL'
    end
    object TnpqParamItem
      Alias = 'pRelacConta'
      Value = '1'
      ParType = npqptUser
      Caption = 'Relacionar Conta Cont'#225'bil'
      Position = 3
      Requerid = True
      Dicionario = 'DICSIMNAO'
      Hint = 'Relaciona os valores dos locais f'#237'sicos com as contas cont'#225'beis'
    end
    object TnpqParamItem
      Alias = 'pCodigo'
      Value = ' '
      ParType = npqptUser
      Position = 6
      ConsultFields = 'CODIGOLOCALFISICO'
      ConsultMultSelect = True
      Dicionario = 'CODIGOLOCALFISICO'
    end
    object TnpqParamItem
      Alias = 'pNomeEmpresa'
      Value = '2007  Empresa Padr'#227'o'
      ParType = npqptUser
      Position = 7
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pInscrFederal'
      Value = 'CNPJ: 00.578.774/0001-02'
      ParType = npqptUser
      Position = 8
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pPag'
      Value = '11/10/2007 08:49 P'#225'g:0001'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pTipo'
      Value = '3'
      ParType = npqptUser
      Position = 10
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RDescr'
      Value = '7 - 2.01  Laborat'#243'rio'
      ParType = npqptUser
      Position = 11
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RData'
      Value = '01/03/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 2'
      ParType = npqptUser
      Position = 14
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RValor'
      Value = '27,17'
      ParType = npqptUser
      Position = 15
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RSaldo'
      Value = '27,17'
      ParType = npqptUser
      Position = 16
      Visible = False
    end
  end
  object TnpqSection
    Position = 80
    SectionIndex = 1
  end
  object TnpqSection
    Position = 128
    SectionIndex = 8
  end
  object TnpqSection
    Position = 176
    SectionIndex = 9
  end
  object TnpqSection
    Position = 192
    SectionIndex = 10
  end
  object TnpqSection
    Position = 208
    SectionIndex = 11
  end
  object TnpqSection
    Position = 224
    SectionIndex = 12
  end
  object TnpqSection
    Position = 240
    SectionIndex = 13
  end
  object TnpqSection
    Position = 288
    SectionIndex = 14
  end
  object TnpqLabel
    Name = 'Etiqueta18'
    Top = 192
    Left = 30
    Height = 16
    Width = 756
    Caption = '[RTexto]'
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 96
    Left = 30
    Height = 16
    Width = 78
    Caption = 'Data'
  end
  object TnpqLabel
    Name = 'Etiqueta13'
    Top = 176
    Left = 30
    Height = 16
    Width = 78
    Caption = '[RData]'
  end
  object TnpqLabel
    Name = 'Etiqueta8'
    Top = 96
    Left = 126
    Height = 16
    Width = 204
    Caption = 'Hist'#243'rico'
  end
  object TnpqLabel
    Name = 'Etiqueta11'
    Top = 96
    Left = 588
    Height = 16
    Width = 90
    Alignment = npqaRightJustify
    Caption = 'Valor'
  end
  object TnpqLabel
    Name = 'Etiqueta12'
    Top = 96
    Left = 696
    Height = 16
    Width = 90
    Alignment = npqaRightJustify
    Caption = 'Saldo'
  end
  object TnpqLabel
    Name = 'Etiqueta17'
    Top = 176
    Left = 696
    Height = 16
    Width = 90
    Alignment = npqaRightJustify
    Caption = '[RSaldo]'
  end
  object TnpqLabel
    Name = 'Etiqueta16'
    Top = 176
    Left = 588
    Height = 16
    Width = 90
    Alignment = npqaRightJustify
    Caption = '[RValor]'
  end
  object TnpqLabel
    Name = 'Etiqueta15'
    Top = 176
    Left = 348
    Height = 16
    Width = 222
    Caption = '[RFilial]'
  end
  object TnpqLabel
    Name = 'Etiqueta10'
    Top = 96
    Left = 348
    Height = 16
    Width = 222
    Caption = 'Filial'
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 144
    Left = 30
    Height = 16
    Width = 756
    Caption = 'Local F'#237'sico: [RDescr]'
  end
  object TnpqLabel
    Name = 'Etiqueta19'
    Top = 208
    Left = 30
    Height = 16
    Width = 756
    Caption = '   Encargos'
  end
  object TnpqLabel
    Name = 'Etiqueta9'
    Top = 112
    Left = 30
    Height = 16
    Width = 756
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________'
  end
  object TnpqLabel
    Name = 'Etiqueta14'
    Top = 176
    Left = 126
    Height = 16
    Width = 204
    Caption = '[RHistorico]'
  end
  object TnpqLabel
    Name = 'Etiqueta21'
    Top = 224
    Left = 132
    Height = 16
    Width = 450
    Caption = '[RHistorico]'
  end
  object TnpqLabel
    Name = 'Etiqueta20'
    Top = 224
    Left = 588
    Height = 16
    Width = 90
    Alignment = npqaRightJustify
    Caption = '[RValor]'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 240
    Left = 30
    Height = 16
    Width = 504
    Caption = '[pNomeEmpresa]'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 256
    Left = 30
    Height = 16
    Width = 504
    Caption = '[pInscrFederal]'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 272
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 'Raz'#227'o Auxiliar por Local F'#237'sico'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 240
    Left = 540
    Height = 16
    Width = 246
    Alignment = npqaRightJustify
    Caption = '[pPag]'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 256
    Left = 540
    Height = 16
    Width = 246
    Alignment = npqaRightJustify
    Caption = 'Per'#237'odo: [pDataInicial] a [pDataFinal]'
  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
