object TnrwReport
  DllName = 'nFpa\nfpaORResumoINSS.Dll'
  DllNameSource = 'nFpa\nfpaORResumoINSS.dpr'
  ShowErrorEmptyQuery = True
  ReloadOnExecute = False
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'DebitoGPS'
      TableName = 'DebitoGPS'
      Left = 3
      Top = 56
      Width = 136
      Caption = 'DebitoGPS'
    end
    object TnpqQueryTable
      TableAlias = 'GrupoEmpresa'
      TableName = 'GrupoEmpresa'
      Left = 209
      Top = 9
      Height = 91
      Width = 136
      Caption = 'GrupoEmpresa'
    end
    object TnpqQueryTable
      TableAlias = 'ESTAB'
      TableName = 'ESTAB'
      Left = 213
      Top = 141
      Height = 159
      Width = 136
      Caption = 'ESTAB'
    end
    object TnpqQueryTable
      TableAlias = 'Empresa'
      TableName = 'Empresa'
      Left = 420
      Top = 79
      Height = 77
      Width = 136
      Caption = 'Empresa'
    end
    object TnpqJoin
      LeftTableAlias = 'DebitoGPS'
      RightTableAlias = 'GrupoEmpresa'
      ParamForIgnored = 'pCodigoGrupoProc'
      VirtualJoin = False
      object TnpqJoinField
        LeftFieldAlias = 'CodigoEmpresa'
        RightFieldAlias = 'CodigoEmpresaProc'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'DebitoGPS'
      RightTableAlias = 'ESTAB'
      VirtualJoin = False
      object TnpqJoinField
        LeftFieldAlias = 'CodigoEmpresa'
        RightFieldAlias = 'CodigoEmpresa'
      end
      object TnpqJoinField
        LeftFieldAlias = 'CodigoEstab'
        RightFieldAlias = 'CodigoEstab'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'DebitoGPS'
      RightTableAlias = 'Empresa'
      VirtualJoin = False
      object TnpqJoinField
        LeftFieldAlias = 'CodigoEmpresa'
        RightFieldAlias = 'CodigoEmpresa'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'DataLctoCtr'
      TableAlias = 'DebitoGPS'
      Expression = 'DataLctoCtr'
      Show = npqShowGroup
      Mask = 'MM/YYYY'
      DataType = ftDate
      Width = 12
      Position = 1
      Caption = 'Compet'#234'ncia'
    end
    object TnpqQueryValue
      ValueAlias = 'TipoGPS'
      TableAlias = 'DebitoGPS'
      Expression = 'TipoGPS'
      Show = npqShowGroup
      Mask = '0'
      DataType = ftSmallint
      Width = 40
      Position = 2
      Caption = 'Tipo da GPS'
      CtrlNames = 
        'Folha Normal;13'#186' Sal'#225'rio;Folha Complementar - Diferen'#231'a de Sal'#225'r' +
        'io;Pagamento com Reten'#231#227'o Outras Empresas;Pagamento com Reten'#231#227'o' +
        ' Terceiro;Recebimentos com Reten'#231#227'o;Reclamat'#243'ria Trabalhista, Co' +
        'ncilia'#231#227'o Pr'#233'via ou Diss'#237'dio Coletivo;Funcion'#225'rio Folha Normal;F' +
        'uncion'#225'rio 13'#186' Sal'#225'rio;Terceiro Folha Normal;Terceiro 13'#186' Sal'#225'ri' +
        'o'
      CtrlValues = '1;2;10;11;3;4;9;5;6;7;8'
    end
    object TnpqQueryValue
      ValueAlias = 'CodigoGrupoProc'
      TableAlias = 'GrupoEmpresa'
      Expression = 'CodigoGrupoProc'
      Show = npqHide
      Mask = '##0'
      DataType = ftSmallint
      Width = 5
      Alignment = taRightJustify
      Position = 0
      Caption = 'Grupo Processamento'
    end
    object TnpqQueryValue
      ValueAlias = 'CodigoEmpresa'
      TableAlias = 'DebitoGPS'
      Expression = 'CodigoEmpresa'
      Show = npqShowGroup
      Mask = '###0'
      DataType = ftSmallint
      Width = 6
      Alignment = taRightJustify
      Position = 3
      Caption = 'Empresa'
    end
    object TnpqQueryValue
      ValueAlias = 'CodigoEstab'
      TableAlias = 'DebitoGPS'
      Expression = 'CodigoEstab'
      Show = npqHide
      Mask = '###0'
      DataType = ftSmallint
      Width = 6
      Alignment = taRightJustify
      Position = 4
      Caption = 'Filial'
    end
    object TnpqQueryValue
      ValueAlias = 'ClassifOrgan'
      TableAlias = 'DebitoGPS'
      Expression = 'ClassifOrgan'
      Show = npqHide
      DataType = ftString
      Width = 22
      Position = 5
      Caption = 'Organograma'
    end
    object TnpqQueryValue
      ValueAlias = 'CodigoImposto'
      TableAlias = 'DebitoGPS'
      Expression = 'CodigoImposto'
      Show = npqShowGroup
      Mask = '###0'
      DataType = ftSmallint
      Width = 6
      Alignment = taRightJustify
      Position = 6
      Caption = 'Pagamento GPS'
    end
    object TnpqQueryValue
      ValueAlias = 'InscrFederal'
      TableAlias = 'ESTAB'
      Expression = 'InscrFederal'
      Show = npqShowGroup
      DataType = ftLargeint
      Width = 16
      Alignment = taRightJustify
      Position = 8
      Caption = 'CNPJ/CPF/CNO'
    end
    object TnpqQueryValue
      ValueAlias = 'DataVencimento'
      TableAlias = 'DebitoGPS'
      Expression = 'DataVencimento'
      Show = npqShowGroup
      Mask = 'DD/MM/YYYY'
      DataType = ftDate
      Width = 12
      Position = 9
      Caption = 'Data Vencimento'
    end
    object TnpqQueryValue
      ValueAlias = 'TipoInscr'
      TableAlias = 'ESTAB'
      Expression = 'TipoInscr'
      Show = npqShowGroup
      Mask = '0'
      DataType = ftSmallint
      Width = 6
      Position = 10
      Caption = 'Tipo de Inscri'#231#227'o'
      CtrlNames = 'CPF'#13#10'CNPJ'#13#10'CNO'
      CtrlValues = '1'#13#10'2'#13#10'3'
    end
    object TnpqQueryValue
      ValueAlias = 'ValorINSS'
      Expression = 
        'DebitoGPS.ValorSegurado+ DebitoGPS.ValorEmpresa - DebitoGPS.Valo' +
        'rDeducao - DebitoGPS.ValorCompensacaoMObra - DebitoGPS.ValorComp' +
        'ensacao '
      Show = npqShowSum
      DataType = ftString
      Width = 25
      Position = 11
      Caption = 'ValorINSS'
    end
    object TnpqQueryValue
      ValueAlias = 'NomeEmpresa'
      TableAlias = 'Empresa'
      Expression = 'NomeEmpresa'
      Show = npqShowGroup
      DataType = ftString
      Width = 52
      Position = 13
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'ValorTerceiro'
      TableAlias = 'DebitoGPS'
      Expression = 'ValorTerceiro'
      Show = npqShowSum
      Mask = '###,###,###,##0.00'
      DataType = ftFloat
      Width = 18
      Alignment = taRightJustify
      Position = 12
      Caption = 'Terceiros'
    end
    object TnpqQueryValue
      ValueAlias = 'Variacaoimposto'
      TableAlias = 'DebitoGPS'
      Expression = 'VARIACAOIMPOSTO'
      Show = npqShowGroup
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 7
      Caption = 'Varia'#231#227'o Imposto'
    end
    object TnpqQueryValue
      ValueAlias = 'Formadebito'
      TableAlias = 'DebitoGPS'
      Expression = 'FORMADEBITO'
      Show = npqShowGroup
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 14
      Caption = 'Forma D'#233'bito'
      CtrlNames = 'Normal'#13#10'Fora do Limite'#13#10'Acumulado'
      CtrlValues = '0'#13#10'1'#13#10'2'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'CodigoGrupoProc'
        Header = 'CodigoGrupoProc'
        Position = 0
        object TnpqFilterItem
          Filter = '[pCodigoGrupoProc]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'DataLctoCtr'
        Header = 'DataLctoCtr'
        Position = 1
        object TnpqFilterItem
          Filter = '[pDataInicial]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'TipoGPS'
        Header = 'TipoGPS'
        Position = 2
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pTipoGPSCheck]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'CodigoEmpresa'
        Header = 'CodigoEmpresa'
        Position = 3
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEmpresa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'CodigoEstab'
        Header = 'CodigoEstab'
        Position = 4
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoEstab]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'ClassifOrgan'
        Header = 'ClassifOrgan'
        Position = 5
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pClassifOrgan]|'
        end
      end
      object TnpqPowerParam
        SeparadoresUsar = False
        object TnpqParamItem
          Alias = 'pDataInicial'
          Value = ' '
          Caption = 'Compet'#234'ncia'
          CtrlType = ntcActData
          Position = 1
          Requerid = True
          Dicionario = 'DICDATAMESANO'
        end
        object TnpqParamItem
          Alias = 'pTipoGPSCheck'
          Value = ' '
          Caption = 'Tipo da GPS'
          CtrlType = ntcCheckListBox
          CtrlNameValues = 
            'Folha Normal=1;13'#186' Sal'#225'rio=2;Folha Complementar - Diferen'#231'a de S' +
            'al'#225'rio=10;Pagamento com Reten'#231#227'o Outras Empresas=11;Pagamento co' +
            'm Reten'#231#227'o Terceiro=3;Recebimentos com Reten'#231#227'o=4'
          Position = 2
          ConsultFields = 'TipoGPS'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoGrupoProc'
          Value = ' '
          Caption = 'Grupo Processamento'
          CtrlType = ntcLinkEdit
          Position = 4
          Consult = 'nfpaDCGrupoProcessam'
          ConsultFields = 'CodigoGrupoProc'
          Dicionario = 'CODIGOGRUPOPROC'
        end
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = ' '
          Caption = 'Empresa'
          CtrlType = ntcLinkEdit
          Position = 5
          Consult = 'ngemDCEmpresa'
          ConsultFields = 'CodigoEmpresa'
          ConsultMultSelect = True
          Dicionario = 'CODIGOEMPRESA'
        end
        object TnpqParamItem
          Alias = 'pCodigoEstab'
          Value = ' '
          Caption = 'Filial'
          CtrlType = ntcLinkEdit
          Position = 6
          Consult = 'ngemDCEstab'
          ConsultFields = 'CodigoEstab'
          ConsultMultSelect = True
          Dicionario = 'CODIGOESTAB'
        end
        object TnpqParamItem
          Alias = 'pClassifOrgan'
          Value = ' '
          Caption = 'Organograma'
          CtrlType = ntcLinkEdit
          Position = 7
          Consult = 'nfpaDCOrganograma'
          ConsultFields = 'ClassifOrgan'
          ConsultMultSelect = True
          Dicionario = 'CLASSIFORGAN'
        end
      end
    end
    object TnpqPowerOrderBy
      Selected = 1
      object TnpqOrderBySeq
        Alias = 'Empresa'
        object TnpqOrderByField
          Alias = 'CodigoEmpresa'
        end
      end
      object TnpqOrderBySeq
        Alias = 'NomeEmpresa'
        object TnpqOrderByField
          Alias = 'NomeEmpresa'
        end
        object TnpqOrderByField
          Alias = 'CodigoEmpresa'
        end
      end
      object TnpqOrderBySeq
        Alias = 'Inscri'#231#227'o'
        object TnpqOrderByField
          Alias = 'InscrFederal'
        end
      end
      object TnpqOrderBySeq
        Alias = 'Pagamento GPS'
        object TnpqOrderByField
          Alias = 'CodigoPgtoGPS'
        end
        object TnpqOrderByField
          Alias = 'NomeEmpresa'
        end
      end
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '1'
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 
          'Empresa=0;NomeEmpresa=1;Inscri'#231#227'o=2;Pagamento GPS=3;Nenhum=-1;Pe' +
          'rsonalizar=-2'
        Position = 8
      end
    end
  end
  object TnpqPowerParam
    SeparadoresUsar = False
    object TnpqParamItem
      Alias = 'pListarForaLimite'
      Value = '0'
      ParType = npqptUser
      Caption = 'Imprimir valores Fora do Limite'
      CtrlType = ntcComboBox
      Position = 3
      Dicionario = 'DICSIMNAO'
    end
    object TnpqParamItem
      Alias = 'pLiquido'
      Value = '44,00'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'pCodigoIdioma'
      ParType = npqptUser
      Position = 10
      Dicionario = 'CODIGOIDIOMA'
    end
  end
  object TnpqSection
    Position = 96
    SectionIndex = 1
  end
  object TnpqSection
    Position = 112
    SectionIndex = 8
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 32
    Left = 30
    Height = 16
    Width = 156
    Caption = 'Folha de Pagamento'
  end
  object TnpqLabel
    Name = 'Data'
    Top = 32
    Left = 606
    Height = 16
    Width = 114
    Alignment = npqaRightJustify
    Caption = '@Date @Time'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 32
    Left = 726
    Height = 16
    Width = 60
    Alignment = npqaRightJustify
    Caption = 'P'#225'g:@var(gemVFormatZero;@pageNo;4)'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 48
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 'Rela'#231#227'o GPS para D'#233'bito em Conta'
  end
  object TnpqLabel
    Name = 'Step_1.NomeEmpresa Legenda'
    Top = 64
    Left = 30
    Height = 16
    Width = 222
    Caption = 'Raz'#227'o Social'
  end
  object TnpqLabel
    Name = 'Step_1.Compet Legenda'
    Top = 64
    Left = 258
    Height = 16
    Width = 48
    Alignment = npqaCenter
    Caption = 'M'#234's/Ano'
  end
  object TnpqLabel
    Name = 'Step_1.CodigoPgtoGPS Legenda'
    Top = 64
    Left = 312
    Height = 16
    Width = 78
    Alignment = npqaRightJustify
    Caption = 'Pgto GPS'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 64
    Left = 396
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = 'Venc GPS'
  end
  object TnpqLabel
    Name = 'Step_1.InscrFederal Legenda'
    Top = 64
    Left = 462
    Height = 16
    Width = 108
    Alignment = npqaRightJustify
    Caption = 'CNPJ/CPF/CNO'
  end
  object TnpqLabel
    Name = 'Step_1.ValorINSS Legenda'
    Top = 64
    Left = 576
    Height = 16
    Width = 72
    Alignment = npqaRightJustify
    Caption = 'Valor INSS'
  end
  object TnpqLabel
    Name = 'Step_1.Terceiros Legenda'
    Top = 64
    Left = 654
    Height = 16
    Width = 66
    Alignment = npqaRightJustify
    Caption = 'Out Ent'
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 64
    Left = 726
    Height = 16
    Width = 60
    Alignment = npqaRightJustify
    Caption = 'Liq GPS'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 80
    Left = 30
    Height = 16
    Width = 756
    Alignment = npqaCenter
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '________________________________________________________________' +
      '____________________'
  end
  object TnpqLabel
    Name = 'Step_1.CodigoEmpresa'
    Top = 96
    Left = 30
    Height = 16
    Width = 222
    Caption = '@var(gemVNomeEmpresa;[CodigoEmpresa];'#39#39';'#39#39';'#39#39';True)'
  end
  object TnpqLabel
    Name = 'Step_1.Compet'
    Top = 96
    Left = 258
    Height = 16
    Width = 48
    Alignment = npqaCenter
    Caption = '[Step_1.DataLctoCtr]'
  end
  object TnpqLabel
    Name = 'Step_1.CodigoPgtoGPS'
    Top = 96
    Left = 312
    Height = 16
    Width = 78
    Alignment = npqaRightJustify
    Caption = '[Step_1.CodigoImposto]/[Step_1.Variacaoimposto]'
  end
  object TnpqLabel
    Name = 'Step_1.DataVcto'
    Top = 96
    Left = 396
    Height = 16
    Width = 60
    Alignment = npqaCenter
    Caption = '[Step_1.DataVencimento]'
  end
  object TnpqLabel
    Name = 'Step_1.InscrFederal'
    Top = 96
    Left = 462
    Height = 16
    Width = 108
    Alignment = npqaRightJustify
    Caption = '[Step_1.InscrFederal]'
  end
  object TnpqLabel
    Name = 'Step_1.ValorINSS'
    Top = 96
    Left = 576
    Height = 16
    Width = 72
    Alignment = npqaRightJustify
    Caption = '[Step_1.ValorINSS]'
  end
  object TnpqLabel
    Name = 'Step_1.Terceiros'
    Top = 96
    Left = 654
    Height = 16
    Width = 66
    Alignment = npqaRightJustify
    Caption = '[Step_1.ValorTerceiro]'
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 96
    Left = 726
    Height = 16
    Width = 60
    Alignment = npqaRightJustify
    Caption = '[pLiquido]'
  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
