object TnrwReport
  DllName = 'nPro\nProORMovimentacaoDoc'
  DllNameSource = 'nPro\nProORMovimentacaoDoc.dpr'
  ChaveQuebraPagina = '[Step_1.CodigoEmpresa]'
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Protocolodocemp'
      TableName = 'Protocolodocemp'
      Left = 10
      Top = 10
      Width = 196
    end
    object TnpqQueryTable
      TableAlias = 'ESTAB'
      TableName = 'ESTAB'
      Left = 387
      Top = 14
    end
    object TnpqJoin
      LeftTableAlias = 'ESTAB'
      RightTableAlias = 'Protocolodocemp'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOESTAB'
        RightFieldAlias = 'CODIGOESTAB'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoempresa'
      TableAlias = 'Protocolodocemp'
      Expression = 'CODIGOEMPRESA'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 0
      Alignment = taRightJustify
      Position = 0
      Caption = 'Empresa'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoestab'
      TableAlias = 'Protocolodocemp'
      Expression = 'CODIGOESTAB'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 0
      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 TnpqQueryValue
      ValueAlias = 'Codigodocemp'
      TableAlias = 'Protocolodocemp'
      Expression = 'CODIGODOCEMP'
      Mask = '######0'
      DataType = ftInteger
      Width = 0
      Alignment = taRightJustify
      Position = 3
      Caption = 'CODIGODOCEMP'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrdocemp'
      TableAlias = 'Protocolodocemp'
      Expression = 'DESCRDOCEMP'
      DataType = ftString
      Width = 50
      Position = 4
      Caption = 'DESCRDOCEMP'
    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'
          CtrlType = ntcLinkEdit
          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 = 6
        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'
      Hint = 'Informe a data inicial do per'#237'odo a listar'
    end
    object TnpqParamItem
      Alias = 'pDataFinal'
      Value = '31/01/2007'
      ParType = npqptUser
      Position = 2
      Requerid = True
      Dicionario = 'DATAFINAL'
      Hint = 'Informe a data final do per'#237'odo a lista'
    end
    object TnpqParamItem
      Alias = 'pDocumento'
      Value = ' '
      ParType = npqptUser
      Position = 3
      ConsultMultSelect = True
      Dicionario = 'CODIGODOCEMP'
      Hint = 'Informe o c'#243'digo do documento'
    end
    object TnpqParamItem
      Alias = 'pNomeEmpresa'
      Value = '2007  Empresa Padr'#227'o'
      ParType = npqptUser
      Position = 7
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pPag'
      Value = '14/08/2007 09:27 P'#225'g:0001'
      ParType = npqptUser
      Position = 8
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pInscrFederal'
      Value = 'CNPJ: 00.578.774/0001-02'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RDescrDocumento'
      ParType = npqptUser
      Position = 10
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RSeq'
      Value = '0005'
      ParType = npqptUser
      Position = 11
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RObservacaoMov'
      Value = 'Entregue para o cliente'
      ParType = npqptUser
      Position = 12
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RLocalMov'
      Value = 'Externo'
      ParType = npqptUser
      Position = 13
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RDepartamento'
      ParType = npqptUser
      Position = 14
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RProtocolo'
      Value = '00010'
      ParType = npqptUser
      Position = 15
      Visible = False
    end
    object TnpqParamItem
      Alias = 'RTexto'
      ParType = npqptUser
      Position = 16
      Visible = False
    end
  end
  object TnpqSection
    Position = 96
    SectionIndex = 1
  end
  object TnpqSection
    Position = 128
    SectionIndex = 8
  end
  object TnpqSection
    Position = 144
    SectionIndex = 9
  end
  object TnpqSection
    Position = 160
    SectionIndex = 10
  end
  object TnpqSection
    Position = 176
    SectionIndex = 11
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 32
    Left = 30
    Height = 16
    Width = 504
    Caption = '[pNomeEmpresa]'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 32
    Left = 540
    Height = 16
    Width = 246
    Alignment = npqaRightJustify
    Caption = '[pPag]'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 48
    Left = 30
    Height = 16
    Width = 504
    Caption = '[pInscrFederal]'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 48
    Left = 540
    Height = 16
    Width = 246
    Alignment = npqaRightJustify
    Caption = 'Per'#237'odo: [pDataInicial] a [pDataFinal]'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 64
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 'Movimenta'#231#227'o de Documento'
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 112
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________________________'
  end
  object TnpqLabel
    Name = 'Etiqueta13'
    Top = 128
    Left = 96
    Height = 16
    Width = 690
    Caption = '[Step_1.CodigoDocEmp] - [Step_1.Descrdocemp]'
  end
  object TnpqLabel
    Name = 'Etiqueta12'
    Top = 128
    Left = 30
    Height = 16
    Width = 60
    Caption = 'Documento:'
  end
  object TnpqLabel
    Name = 'Etiqueta19'
    Top = 160
    Left = 30
    Height = 16
    Width = 756
    Caption = '[RTexto]'
  end
  object TnpqLabel
    Name = 'Etiqueta18'
    Top = 144
    Left = 714
    Height = 16
    Width = 72
    Alignment = npqaRightJustify
    Caption = '[RProtocolo]'
  end
  object TnpqLabel
    Name = 'Etiqueta10'
    Top = 96
    Left = 516
    Height = 16
    Width = 192
    Caption = 'Departamento'
  end
  object TnpqLabel
    Name = 'Etiqueta17'
    Top = 144
    Left = 516
    Height = 16
    Width = 192
    Caption = '[RDepartamento]'
  end
  object TnpqLabel
    Name = 'Etiqueta9'
    Top = 96
    Left = 444
    Height = 16
    Width = 66
    Caption = 'Local'
  end
  object TnpqLabel
    Name = 'Etiqueta16'
    Top = 144
    Left = 444
    Height = 16
    Width = 66
    Caption = '[RLocalMov]'
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 96
    Left = 54
    Height = 16
    Width = 42
    Caption = 'Seq.'
  end
  object TnpqLabel
    Name = 'Etiqueta14'
    Top = 144
    Left = 54
    Height = 16
    Width = 42
    Caption = '[RSeq]'
  end
  object TnpqLabel
    Name = 'Etiqueta8'
    Top = 96
    Left = 102
    Height = 16
    Width = 336
    Caption = 'Descri'#231#227'o'
  end
  object TnpqLabel
    Name = 'Etiqueta15'
    Top = 144
    Left = 102
    Height = 16
    Width = 336
    Caption = '[RObservacaoMov]'
  end
  object TnpqLabel
    Name = 'Etiqueta11'
    Top = 96
    Left = 714
    Height = 16
    Width = 72
    Alignment = npqaRightJustify
    Caption = 'Protocolo'
  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
