object TnrwReport
  DllName = 'nInv\nInvORSaldos'
  DllNameSource = 'nInv\nInvORSaldos.dpr'
  ChaveQuebraPagina = '[Step_1.CodigoEmpresa]'
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Empresa'
      TableName = 'Empresa'
      Left = 31
      Top = 26
      Width = 123
    end
    object TnpqQueryTable
      TableAlias = 'ESTAB'
      TableName = 'ESTAB'
      Left = 331
      Height = 114
      Width = 154
    end
    object TnpqQueryTable
      TableAlias = 'Cfgempresainv'
      TableName = 'Cfgempresainv'
      Left = 330
      Top = 141
      Height = 133
      Width = 150
    end
    object TnpqJoin
      LeftTableAlias = 'Empresa'
      RightTableAlias = 'ESTAB'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Empresa'
      RightTableAlias = 'Cfgempresainv'
      JoinType = npqJoinLeft
      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 = 'Nomeempresa'
      TableAlias = 'Empresa'
      Expression = 'NOMEEMPRESA'
      DataType = ftString
      Width = 50
      Position = 1
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeestab'
      TableAlias = 'ESTAB'
      Expression = 'NOMEESTAB'
      DataType = ftString
      Width = 50
      Position = 3
      Caption = 'Identifica'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoestab'
      TableAlias = 'ESTAB'
      Expression = 'CODIGOESTAB'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 2
      Caption = 'Filial'
    end
    object TnpqQueryValue
      ValueAlias = 'Qtdecasadecimal'
      TableAlias = 'Cfgempresainv'
      Expression = 'QTDECASADECIMAL'
      DataType = ftSmallint
      Width = 1
      Alignment = taRightJustify
      Position = 4
      Caption = 'N'#250'mero Casas Decimais para o Custo Unit'#225'rio'
      CtrlNames = '2'#13#10'3'#13#10'4'#13#10'5'#13#10'6'
      CtrlValues = '2'#13#10'3'#13#10'4'#13#10'5'#13#10'6'
    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 = 2
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEstab]|'
        end
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = ' '
          CtrlType = ntcLink
          Position = 3
          ConsultFields = 'CODIGOEMPRESA'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoEstab'
          Value = ' '
          Caption = 'Filial'
          Position = 4
          ConsultFields = 'CODIGOESTAB'
          ConsultMultSelect = True
        end
      end
    end
    object TnpqPowerOrderBy
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = ' '
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 'Nenhum=-1;Personalizar=-2'
        Position = 6
        Visible = False
      end
    end
  end
  object TnpqPowerParam
    object TnpqParamItem
      Alias = 'pDataInicial'
      Value = '01/04/2005'
      ParType = npqptUser
      Caption = 'Per'#237'odo'
      Position = 1
      Consult = 'nInvDCLctoInvPeriodo'
      ConsultFields = 'DATAINVENT'
      Requerid = True
      Dicionario = 'DATAINVENT'
    end
    object TnpqParamItem
      Alias = 'pDataSaldo'
      Value = ' '
      ParType = npqptUser
      Caption = 'Saldo existente em'
      Position = 2
      DataTypesAsString = 'tiString'
      Dicionario = 'DICDATA'
    end
    object TnpqParamItem
      Alias = 'pClassifGrupoProduto'
      Value = ' '
      ParType = npqptUser
      Caption = 'Conta/Grupo'
      CtrlType = ntcLink
      Position = 5
      Consult = 'nGemDCGrupoProduto'
      ConsultFields = 'CLASSIFGRUPOPRODUTO'
      DataTypesAsString = 'tiString'
    end
    object TnpqParamItem
      Alias = 'pMotivoInventario'
      ParType = npqptUser
      Position = 6
      Requerid = True
      Dicionario = 'MOTIVOINVENTARIO'
    end
    object TnpqParamItem
      Alias = 'R1'
      Value = 'S'
      ParType = npqptUser
      Position = 8
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R2'
      Value = 'Total da empresa:'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R3'
      Value = '1.876,66'
      ParType = npqptUser
      Position = 10
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R4'
      Value = 'Saldos em  1 de abril de 2005'
      ParType = npqptUser
      Position = 11
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pNomeEstab'
      Value = '0001 Matriz'
      ParType = npqptUser
      Position = 12
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pNomeEmpresa'
      Value = '0015 Papelaria e Bazar Bem Estar Ltda'
      ParType = npqptUser
      Position = 13
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pInscrFederal'
      Value = 'CNPJ: 03.773.152/0001-15'
      ParType = npqptUser
      Position = 14
      Visible = False
    end
  end
  object TnpqSection
    Position = 128
    SectionIndex = 1
  end
  object TnpqSection
    Position = 144
    SectionIndex = 8
  end
  object TnpqSection
    Position = 160
    SectionIndex = 9
  end
  object TnpqSection
    Position = 176
    SectionIndex = 10
  end
  object TnpqSection
    Position = 192
    SectionIndex = 11
  end
  object TnpqSection
    Position = 208
    SectionIndex = 12
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 128
    Left = 96
    Height = 16
    Width = 18
    Alignment = npqaCenter
    Caption = '[R1]'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 96
    Left = 96
    Height = 16
    Width = 18
    Alignment = npqaCenter
    Caption = 'S'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 96
    Left = 120
    Height = 16
    Width = 486
    Caption = 'Conta/Grupo'
  end
  object TnpqLabel
    Name = 'gemVTempoPag'
    Top = 32
    Left = 624
    Height = 16
    Width = 162
    Alignment = npqaRightJustify
    Caption = '@var(gemVTempoPag;@PageNo)'
  end
  object TnpqLabel
    Name = 'Etiqueta8'
    Top = 128
    Left = 612
    Height = 16
    Width = 120
    Alignment = npqaRightJustify
    Caption = '[R3]'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 96
    Left = 612
    Height = 16
    Width = 120
    Alignment = npqaRightJustify
    Caption = 'Saldo'
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 128
    Left = 120
    Height = 16
    Width = 486
    Caption = '[R2]'
  end
  object TnpqLabel
    Name = 'pEstab'
    Top = 160
    Left = 30
    Height = 16
    Width = 756
    Caption = 'Filial: [pNomeEstab]'
  end
  object TnpqLabel
    Name = 'R3'
    Top = 176
    Left = 612
    Height = 16
    Width = 120
    Alignment = npqaRightJustify
    Caption = '[R3]'
  end
  object TnpqLabel
    Name = 'R2'
    Top = 176
    Left = 120
    Height = 16
    Width = 486
    Alignment = npqaRightJustify
    Caption = '[R2]'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 192
    Left = 30
    Height = 16
    Width = 756
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________________________________________' +
      '____________'
  end
  object TnpqLabel
    Name = 'R4'
    Top = 64
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = '[R4]'
  end
  object TnpqLabel
    Name = 'Etiqueta9'
    Top = 112
    Left = 30
    Height = 16
    Width = 756
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________'
  end
  object TnpqLabel
    Name = 'pNomeEmpresa'
    Top = 32
    Left = 30
    Height = 16
    Width = 588
    Caption = '[pNomeEmpresa]'
  end
  object TnpqLabel
    Name = 'pInscrFederal'
    Top = 48
    Left = 30
    Height = 16
    Width = 756
    Caption = '[pInscrFederal]'
  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
