object TnrwReport
  DllName = 'nfis\nFisORControleLivroPeriodo'
  DllNameSource = 'nfis\nFisORControleLivroPeriodo.dpr'
  Grid = nrwGridNone
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Empresa'
      TableName = 'Empresa'
      Left = 10
      Top = 10
      Height = 174
      Width = 154
    end
    object TnpqQueryTable
      TableAlias = 'VESTABHISTORICOATUAL'
      TableName = 'VESTABHISTORICOATUAL'
      Left = 265
      Top = 7
      Height = 352
      Width = 348
    end
    object TnpqJoin
      LeftTableAlias = 'Empresa'
      RightTableAlias = 'VESTABHISTORICOATUAL'
      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 = 'Codigoestab'
      TableAlias = 'VESTABHISTORICOATUAL'
      Expression = 'CODIGOESTAB'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 1
      Caption = 'Filial'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeestab'
      TableAlias = 'VESTABHISTORICOATUAL'
      Expression = 'NOMEESTAB'
      DataType = ftString
      Width = 100
      Position = 2
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'Tipoinscr'
      TableAlias = 'VESTABHISTORICOATUAL'
      Expression = 'TIPOINSCR'
      DataType = ftSmallint
      Width = 1
      Alignment = taRightJustify
      Position = 3
      Caption = 'Tipo Inscri'#231#227'o'
      CtrlNames = 'CPF;CNPJ;CEI'
      CtrlValues = '1;2;3'
    end
    object TnpqQueryValue
      ValueAlias = 'Inscrfederal'
      TableAlias = 'VESTABHISTORICOATUAL'
      Expression = 'INSCRFEDERAL'
      DataType = ftString
      Width = 18
      Position = 4
      Caption = 'CNPJ/CPF/CNO'
    end
    object TnpqQueryValue
      ValueAlias = 'Inscrestad'
      TableAlias = 'VESTABHISTORICOATUAL'
      Expression = 'INSCRESTAD'
      DataType = ftString
      Width = 25
      Position = 5
      Caption = 'Inscri'#231#227'o Estadual'
    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
        SeparadoresUsar = False
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = ' '
          Caption = 'Empresa'
          Position = 7
          ConsultFields = 'CODIGOEMPRESA'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoEstab'
          Value = ' '
          Caption = 'Filial'
          Position = 8
          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 = 1
        Visible = False
        Hint = 'Configure a ordena'#231#227'o do relat'#243'rio.'
      end
    end
  end
  object TnpqPowerParam
    SeparadoresUsar = False
    object TnpqParamItem
      Alias = 'pPag'
      ParType = npqptUser
      Position = 2
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pDataInicial'
      Value = '01/01/2008'
      ParType = npqptUser
      Caption = 'Data Inicial'
      Position = 3
      Requerid = True
      Dicionario = 'DICDATA'
      Hint = 'Informe a data inicial para filtro'
    end
    object TnpqParamItem
      Alias = 'pDataFinal'
      Value = '01/11/2011'
      ParType = npqptUser
      Caption = 'Data Final'
      Position = 4
      Requerid = True
      Dicionario = 'DICDATA'
      Hint = 'Informe a data final para filtro'
    end
    object TnpqParamItem
      Alias = 'pTipoControleLivro'
      Value = '1;2;10;3;9;4;5;6;8;7;11;12;13;19;20;15;16;17;18;21;22'
      ParType = npqptUser
      Caption = 'Tipo Livro'
      CtrlType = ntcCheckListBox
      CtrlNameValues = 
        'Registro Entradas=1;Registro Sa'#237'das=2;Registro Entradas e Sa'#237'das' +
        '=10;Registro Servi'#231'os=3;Registro Servi'#231'os Simplificado=9;Registr' +
        'o da Produ'#231#227'o e Estoque=4;Apura'#231#227'o do IPI=5;Apura'#231#227'o do ICMS=6;A' +
        'pura'#231#227'o do ICMS Simplificado=8;Resumo de Cupons Fiscais=7;Livro ' +
        'Invent'#225'rio=11;Livro Raz'#227'o=12;Livro Di'#225'rio=13;Livro Lalur IRPJ=19' +
        ';Livro Lalur CSLL=20;Registro Duplicatas a Pagar=15;Raz'#227'o Duplic' +
        'atas a Pagar=16;Registro Duplicatas a Receber=17;Raz'#227'o Duplicata' +
        's a Receber=18;Registro Servi'#231'os ISS Florian'#243'polis=21;Registro S' +
        'ervi'#231'os Tomados=22'
      Position = 5
      ConsultMultSelect = True
      Requerid = True
      Hint = 'Informe um ou mais tipos de livros para listar'
    end
    object TnpqParamItem
      Alias = 'pQuebraFilial'
      Value = '0'
      ParType = npqptUser
      Caption = 'Quebrar p'#225'gina por filial'
      Position = 6
      Requerid = True
      Dicionario = 'DICSIMNAO'
      Hint = 'Informe o tipo de quebra de p'#225'gina'
    end
    object TnpqParamItem
      Alias = 'pLivroFin'
      Value = '1'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pPeriodo'
      Value = '01/07/2010'
      ParType = npqptUser
      Position = 10
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pTipoAnexo'
      Value = '13'
      ParType = npqptUser
      Position = 11
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pLivroInic'
      Value = '1'
      ParType = npqptUser
      Position = 12
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pPagInicial'
      Value = '1'
      ParType = npqptUser
      Position = 13
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pPagFinal'
      Value = '35'
      ParType = npqptUser
      Position = 14
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pDataImpressao'
      Value = '21/03/2011 17:57:37'
      ParType = npqptUser
      Position = 15
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pUsuario'
      Value = 'ELIZANDRO'
      ParType = npqptUser
      Position = 16
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pTipoLivro'
      Value = 'Di'#225'rio'
      ParType = npqptUser
      Position = 17
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pDataPeriodoIni'
      Value = '01/01/2008'
      ParType = npqptUser
      Position = 18
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pDataPeriodoFim'
      Value = '01/11/2011'
      ParType = npqptUser
      Position = 19
      Visible = False
    end
  end
  object TnpqSection
    Position = 118
    SectionIndex = 1
  end
  object TnpqSection
    Position = 150
    SectionIndex = 8
  end
  object TnpqSection
    Position = 166
    SectionIndex = 9
  end
  object TnpqSection
    Position = 182
    SectionIndex = 10
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 150
    Left = 420
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = 'Livro Final'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta17'
    Top = 166
    Left = 228
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = '[pLivroInic]'
  end
  object TnpqLabel
    Name = 'Etiqueta13'
    Top = 166
    Left = 30
    Height = 16
    Width = 78
    Caption = '[pPeriodo]'
  end
  object TnpqLabel
    Name = 'Etiqueta8'
    Top = 150
    Left = 228
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = 'Livro Inicial'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta15'
    Top = 166
    Left = 420
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = '[pLivroFin]'
  end
  object TnpqLabel
    Name = 'Etiqueta14'
    Top = 166
    Left = 510
    Height = 16
    Width = 90
    Alignment = npqaCenter
    Caption = '[pPagFinal]'
  end
  object TnpqLabel
    Name = 'Etiqueta19'
    Top = 166
    Left = 603
    Height = 16
    Width = 88
    Alignment = npqaCenter
    Caption = '[pDataImpressao]'
  end
  object TnpqLabel
    Name = 'Etiqueta16'
    Top = 166
    Left = 330
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = '[pPagInicial]'
  end
  object TnpqLabel
    Name = 'Etiqueta10'
    Top = 150
    Left = 30
    Height = 16
    Width = 78
    Caption = 'Per'#237'odo'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta18'
    Top = 166
    Left = 126
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = '[pTipoAnexo]'
  end
  object TnpqLabel
    Name = 'Etiqueta9'
    Top = 150
    Left = 126
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = 'Tipo de Anexo'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 150
    Left = 330
    Height = 16
    Width = 84
    Alignment = npqaCenter
    Caption = 'P'#225'gina Inicial'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 150
    Left = 510
    Height = 16
    Width = 90
    Alignment = npqaCenter
    Caption = 'P'#225'gina Final'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqShape
    Name = 'Linha horizontal1'
    Top = 106
    Left = 29
    Height = 12
    Width = 760
    Brush.Style = bsClear
    ObjectType = npqObjectHorzLine
  end
  object TnpqShape
    Name = 'Linha horizontal2'
    Top = 30
    Left = 30
    Height = 12
    Width = 760
    Brush.Style = bsClear
    ObjectType = npqObjectHorzLine
  end
  object TnpqLabel
    Name = 'Step_1.Nomeestab'
    Top = 48
    Left = 30
    Height = 16
    Width = 382
    Caption = '[Step_1.Nomeestab]'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 134
    Left = 30
    Height = 16
    Width = 168
    Caption = '[pTipoLivro]'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 86
    Left = 30
    Height = 16
    Width = 759
    Alignment = npqaCenter
    Caption = 'C O N T R O L E  DE  L I V R O S '
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Step_1.Inscrfederal'
    Top = 64
    Left = 30
    Height = 16
    Width = 141
    Caption = 'CNPJ: [Step_1.Inscrfederal]'
  end
  object TnpqLabel
    Name = 'Step_1.Inscrestad'
    Top = 64
    Left = 259
    Height = 15
    Width = 153
    Caption = '[Step_1.Inscrestad]'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 64
    Left = 172
    Height = 16
    Width = 87
    Caption = 'Inscri'#231#227'o Estadual:'
  end
  object TnpqLabel
    Name = 'Etiqueta21'
    Top = 64
    Left = 549
    Height = 16
    Width = 240
    Alignment = npqaRightJustify
    Caption = 'Per'#237'odo: [pDataPeriodoIni] a [pDataPeriodoFim]'
  end
  object TnpqLabel
    Name = 'pPag'
    Top = 47
    Left = 549
    Height = 16
    Width = 239
    Alignment = npqaRightJustify
    Caption = '@var(gemVTempoPag;@PageNo)'
  end
  object TnpqLabel
    Name = 'Etiqueta11'
    Top = 150
    Left = 603
    Height = 16
    Width = 88
    Alignment = npqaCenter
    Caption = 'Data/Hora Impress'#227'o'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  end
  object TnpqLabel
    Name = 'Etiqueta20'
    Top = 166
    Left = 693
    Height = 16
    Width = 92
    Alignment = npqaCenter
    Caption = '[pUsuario]'
  end
  object TnpqLabel
    Name = 'Etiqueta12'
    Top = 150
    Left = 693
    Height = 16
    Width = 92
    Alignment = npqaCenter
    Caption = 'Usu'#225'rio'
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
  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
