object TnrwReport
  Page.MarginBottom = 0.170000000000000000
  Page.MarginTop = 0.150000000000000000
  DllName = 'nOrg\nOrgOREstabTarefa.Dll'
  DllNameSource = 'nOrg\nOrgOREstabTarefa.dpr'
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Empresa'
      TableName = 'Empresa'
      Left = 9
      Top = 31
      Height = 81
      Width = 134
    end
    object TnpqQueryTable
      TableAlias = 'ESTAB'
      TableName = 'ESTAB'
      Left = 388
      Top = 9
      Width = 227
    end
    object TnpqQueryTable
      TableAlias = 'Tarefa'
      TableName = 'Tarefa'
      Left = 280
      Top = 24
      Height = 234
      Width = 267
    end
    object TnpqQueryTable
      TableAlias = 'Tarefaestab'
      TableName = 'Tarefaestab'
      Left = 58
      Top = 147
      Width = 149
    end
    object TnpqQueryTable
      TableAlias = 'Usuario'
      TableName = 'Usuario'
      Left = 606
      Top = 156
      Height = 133
      Width = 142
    end
    object TnpqJoin
      LeftTableAlias = 'Tarefaestab'
      RightTableAlias = 'ESTAB'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOESTAB'
        RightFieldAlias = 'CODIGOESTAB'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Tarefaestab'
      RightTableAlias = 'Empresa'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOEMPRESA'
        RightFieldAlias = 'CODIGOEMPRESA'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Tarefaestab'
      RightTableAlias = 'Tarefa'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOTAREFA'
        RightFieldAlias = 'CODIGOTAREFA'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Tarefaestab'
      RightTableAlias = 'Usuario'
      JoinType = npqJoinLeft
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOUSUARIORESP'
        RightFieldAlias = 'CODIGOUSUARIO'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigotarefa'
      TableAlias = 'Tarefa'
      Expression = 'CODIGOTAREFA'
      Sort = npqSortAscending
      DataType = ftInteger
      Width = 10
      Alignment = taRightJustify
      Position = 0
      Caption = 'Tarefa'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrtarefa'
      TableAlias = 'Tarefa'
      Expression = 'DESCRTAREFA'
      DataType = ftString
      Width = 70
      Position = 8
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoempresa'
      TableAlias = 'Empresa'
      Expression = 'CODIGOEMPRESA'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 1
      Caption = 'Empresa'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeempresa'
      TableAlias = 'Empresa'
      Expression = 'NOMEEMPRESA'
      DataType = ftString
      Width = 50
      Position = 9
      Caption = 'Raz'#227'o Social'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoestab'
      TableAlias = 'ESTAB'
      Expression = 'CODIGOESTAB'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 2
      Caption = 'Filial'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeestab'
      TableAlias = 'ESTAB'
      Expression = 'NOMEESTAB'
      DataType = ftString
      Width = 50
      Position = 10
      Caption = 'Identifica'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Campotarefa'
      TableAlias = 'Tarefa'
      Expression = 'CAMPOTAREFA'
      DataType = ftBlob
      Width = 1
      Position = 11
      Caption = 'Configura'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Periodotarefadia'
      TableAlias = 'Tarefa'
      Expression = 'PERIODOTAREFADIA'
      Mask = '0'
      DataType = ftSmallint
      Width = 0
      Alignment = taRightJustify
      Position = 5
      Caption = 'Dia Tarefa'
    end
    object TnpqQueryValue
      ValueAlias = 'Vctosabdomfer'
      TableAlias = 'Tarefa'
      Expression = 'VCTOSABDOMFER'
      DataType = ftSmallint
      Width = 0
      Alignment = taRightJustify
      Position = 6
      Caption = 'Tipo Controle T'#233'rmino Per'#237'odo'
      CtrlNames = 'Nenhum'#13#10'Antecipa'#13#10'Posterga'
      CtrlValues = '0'#13#10'1'#13#10'2'
    end
    object TnpqQueryValue
      ValueAlias = 'Periodotarefa'
      TableAlias = 'Tarefa'
      Expression = 'PERIODOTAREFA'
      DataType = ftString
      Width = 2
      Position = 3
      Caption = 'Per'#237'odo'
      CtrlNames = 'Indefinido'#13#10'Semanal'#13#10'Decendial'#13#10'Quinzenal'#13#10'Mensal'
      CtrlValues = '0'#13#10'1'#13#10'2'#13#10'3'#13#10'4'
    end
    object TnpqQueryValue
      ValueAlias = 'Periodotarefames'
      TableAlias = 'Tarefa'
      Expression = 'PERIODOTAREFAMES'
      DataType = ftString
      Width = 27
      Position = 12
      Caption = 'M'#234's Ocorr'#234'ncia'
    end
    object TnpqQueryValue
      ValueAlias = 'Classiftarefa'
      TableAlias = 'Tarefa'
      Expression = 'CLASSIFTAREFA'
      DataType = ftString
      Width = 30
      Position = 4
      Caption = 'Classifica'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigousuarioresp'
      TableAlias = 'Tarefaestab'
      Expression = 'CODIGOUSUARIORESP'
      Mask = '0'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 7
      Caption = 'Usu'#225'rio Respons'#225'vel'
    end
    object TnpqQueryValue
      ValueAlias = 'Nomeusuario'
      TableAlias = 'Usuario'
      Expression = 'NOMEUSUARIO'
      DataType = ftString
      Width = 20
      Position = 13
      Caption = 'Login'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigotarefa'
        Header = 'Codigotarefa'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoTarefa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigoempresa'
        Header = 'Codigoempresa'
        Position = 1
        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 TnpqFilterValue
        VFieldAlias = 'Periodotarefa'
        Header = 'Periodotarefa'
        Position = 3
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pPeriodoTarefa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Classiftarefa'
        Header = 'Classiftarefa'
        Position = 4
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pClassifTarefa]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Periodotarefadia'
        Header = 'Periodotarefadia'
        Position = 5
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pTarefaDia]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Vctosabdomfer'
        Header = 'Vctosabdomfer'
        Position = 6
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pControle]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigousuarioresp'
        Header = 'Codigousuarioresp'
        Position = 7
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoUsuario]|'
        end
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pPeriodoTarefa'
          Value = ' '
          Caption = 'Per'#237'odo'
          CtrlType = ntcCheckListBox
          CtrlNameValues = 'Indefinido=0;Semanal=1;Decendial=2;Quinzenal=3;Mensal=4'
          Position = 2
          ConsultFields = 'PERIODOTAREFA'
          ConsultMultSelect = True
          Hint = 'Informe o per'#237'odo da tarefa'
        end
        object TnpqParamItem
          Alias = 'pControle'
          Value = ' '
          Caption = 'Controle'
          CtrlType = ntcCheckListBox
          CtrlNameValues = 'Nenhum=0;Antecipa=1;Posterga=2'
          Position = 3
          ConsultFields = 'VCTOSABDOMFER'
          ConsultMultSelect = True
          Hint = 'Informe como controlar em finais de semanas e feriados'
        end
        object TnpqParamItem
          Alias = 'pCodigoTarefa'
          Value = ' '
          Caption = 'Tarefa'
          Position = 4
          ConsultFields = 'CODIGOTAREFA'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoEmpresa'
          Value = ' '
          Caption = 'Empresa'
          Position = 5
          ConsultFields = 'CODIGOEMPRESA'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoEstab'
          Value = ' '
          Caption = 'Filial'
          Position = 6
          ConsultFields = 'CODIGOESTAB'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoUsuario'
          Value = ' '
          Caption = 'Usu'#225'rio Respons'#225'vel'
          CtrlType = ntcLink
          Position = 7
          ConsultFields = 'CODIGOUSUARIO'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pClassifTarefa'
          Value = ' '
          Caption = 'Classifica'#231#227'o'
          CtrlType = ntcLink
          Position = 8
          Consult = 'nOrgDCTarefa'
          ConsultFields = 'CLASSIFTAREFA'
          ConsultMultSelect = True
          Hint = 'Informe a classifa'#231#227'o da tarefa'
        end
        object TnpqParamItem
          Alias = 'pTarefaDia'
          Value = ' '
          Caption = 'Dia Tarefa'
          CtrlType = ntcLink
          Position = 9
          Consult = 'nOrgDCTarefaRelatorio'
          ConsultFields = 'PERIODOTAREFADIA'
          ConsultMultSelect = True
          Hint = 'Informe o n'#250'mero do dia para lan'#231'amento da tarefa'
        end
      end
    end
    object TnpqPowerOrderBy
      Selected = 0
      object TnpqOrderBySeq
        Alias = 'Empresa'
        object TnpqOrderByField
          Alias = 'Codigoempresa'
        end
        object TnpqOrderByField
          Alias = 'Codigoestab'
        end
      end
      object TnpqOrderBySeq
        Alias = 'Nome Empresa'
        object TnpqOrderByField
          Alias = 'Nomeempresa'
        end
        object TnpqOrderByField
          Alias = 'Codigoempresa'
        end
        object TnpqOrderByField
          Alias = 'Nomeestab'
        end
        object TnpqOrderByField
          Alias = 'Codigoestab'
        end
      end
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '0'
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 'Empresa=0;Nome Empresa=1;Nenhum=-1;Personalizar=-2'
        Position = 11
      end
    end
  end
  object TnpqPowerParam
    object TnpqParamItem
      Alias = 'pQuebraTarefa'
      Value = '0'
      ParType = npqptUser
      Caption = 'Quebrar P'#225'gina por Tarefa'
      Position = 0
      Dicionario = 'DICSIMNAO'
      Hint = 'Informe se deseja quebrar p'#225'gina por tarefa'
    end
    object TnpqParamItem
      Alias = 'pDetalhar'
      Value = '1'
      ParType = npqptUser
      Caption = 'Detalhar Campos Extras'
      Position = 1
      Dicionario = 'DICSIMNAO'
      Hint = 'Informe se deseja imprimir campos extras da tarefa'
    end
  end
  object TnpqSection
    Position = 96
    SectionIndex = 1
  end
  object TnpqSection
    Position = 112
    SectionIndex = 8
  end
  object TnpqSection
    Position = 128
    SectionIndex = 9
  end
  object TnpqSection
    Position = 144
    SectionIndex = 10
  end
  object TnpqSection
    Position = 160
    SectionIndex = 11
  end
  object TnpqLabel
    Name = 'Etiqueta8'
    Top = 48
    Left = 558
    Height = 17
    Width = 8
    Caption = 'A'
  end
  object TnpqLabel
    Name = 'Etiqueta10'
    Top = 48
    Left = 570
    Height = 17
    Width = 8
    Caption = 'M'
  end
  object TnpqLabel
    Name = 'Etiqueta11'
    Top = 48
    Left = 582
    Height = 17
    Width = 8
    Caption = 'J'
  end
  object TnpqLabel
    Name = 'Etiqueta12'
    Top = 48
    Left = 594
    Height = 17
    Width = 8
    Caption = 'J'
  end
  object TnpqLabel
    Name = 'Etiqueta13'
    Top = 48
    Left = 606
    Height = 17
    Width = 8
    Caption = 'A'
  end
  object TnpqLabel
    Name = 'Etiqueta14'
    Top = 48
    Left = 618
    Height = 17
    Width = 8
    Caption = 'S'
  end
  object TnpqLabel
    Name = 'Etiqueta15'
    Top = 48
    Left = 630
    Height = 17
    Width = 8
    Caption = 'O'
  end
  object TnpqLabel
    Name = 'Etiqueta16'
    Top = 48
    Left = 642
    Height = 17
    Width = 8
    Caption = 'N'
  end
  object TnpqLabel
    Name = 'Etiqueta17'
    Top = 48
    Left = 654
    Height = 17
    Width = 8
    Caption = 'D'
  end
  object TnpqLabel
    Name = 'Etiqueta6'
    Top = 48
    Left = 534
    Height = 17
    Width = 8
    Caption = 'F'
  end
  object TnpqLabel
    Name = 'Step_1.Periodotarefadia Legenda'
    Top = 48
    Left = 666
    Height = 16
    Width = 18
    Alignment = npqaRightJustify
    Caption = 'Dia'
  end
  object TnpqLabel
    Name = 'Step_1.Periodotarefa Legenda'
    Top = 48
    Left = 468
    Height = 16
    Width = 48
    Caption = 'Per'#237'odo'
  end
  object TnpqLabel
    Name = 'Step_1.Vctosabdomfer Legenda'
    Top = 48
    Left = 690
    Height = 16
    Width = 60
    Alignment = npqaRightJustify
    Caption = 'Controle'
  end
  object TnpqLabel
    Name = 'Step_1.Vctosabdomfer'
    Top = 96
    Left = 690
    Height = 16
    Width = 60
    Alignment = npqaRightJustify
    Caption = '[Step_1.Vctosabdomfer]'
  end
  object TnpqLabel
    Name = 'Etiqueta9'
    Top = 48
    Left = 546
    Height = 17
    Width = 8
    Caption = 'M'
  end
  object TnpqLabel
    Name = 'Etiqueta7'
    Top = 48
    Left = 522
    Height = 17
    Width = 8
    Caption = 'J'
  end
  object TnpqLabel
    Name = 'fev'
    Top = 96
    Left = 534
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'mar'
    Top = 96
    Left = 546
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'abr'
    Top = 96
    Left = 558
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'mai'
    Top = 96
    Left = 570
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'jun'
    Top = 96
    Left = 582
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'jul'
    Top = 96
    Left = 594
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'ago'
    Top = 96
    Left = 606
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'set'
    Top = 96
    Left = 618
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'out'
    Top = 96
    Left = 630
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'nov'
    Top = 96
    Left = 642
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'dez'
    Top = 96
    Left = 654
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'Step_1.Codigotarefa'
    Top = 96
    Left = 30
    Height = 16
    Width = 288
    Caption = 
      'Tarefa: @var(gemVFormatZero;[Step_1.Codigotarefa];4) [Step_1.Des' +
      'crTarefa]'
  end
  object TnpqLabel
    Name = 'Step_1.Periodotarefa'
    Top = 96
    Left = 468
    Height = 16
    Width = 48
    Caption = '[Step_1.Periodotarefa]'
  end
  object TnpqLabel
    Name = 'jan'
    Top = 96
    Left = 522
    Height = 16
    Width = 8
  end
  object TnpqLabel
    Name = 'Step_1.Periodotarefadia'
    Top = 96
    Left = 666
    Height = 16
    Width = 18
    Alignment = npqaRightJustify
    Caption = '[Step_1.Periodotarefadia]'
  end
  object TnpqLabel
    Name = 'Movimento'
    Top = 112
    Left = 102
    Height = 16
    Width = 360
    Caption = 'Etiqueta'
  end
  object TnpqLabel
    Name = 'Step_1.Codigoempresa'
    Top = 128
    Left = 42
    Height = 16
    Width = 450
    Caption = 
      '@var(gemVFormatZero;[Step_1.Codigoempresa];4) / @var(gemVFormatZ' +
      'ero;[Step_1.Codigoestab];4) - [Step_1.Nomeempresa] / [Step_1.Nom' +
      'eestab]'
  end
  object TnpqLabel
    Name = 'Step_1.Nomeusuario Legenda'
    Top = 64
    Left = 552
    Height = 16
    Width = 120
    Caption = 'Login'
  end
  object TnpqLabel
    Name = 'Step_1.Codigousuarioresp Legenda'
    Top = 64
    Left = 498
    Height = 16
    Width = 48
    Alignment = npqaRightJustify
    Caption = 'Usu'#225'rio'
  end
  object TnpqLabel
    Name = 'Step_1.Nomeusuario'
    Top = 128
    Left = 552
    Height = 16
    Width = 120
    Caption = '[Step_1.Nomeusuario]'
  end
  object TnpqLabel
    Name = 'Step_1.Codigousuarioresp'
    Top = 128
    Left = 498
    Height = 16
    Width = 48
    Alignment = npqaRightJustify
    Caption = '[Step_1.Codigousuarioresp]'
  end
  object TnpqLabel
    Name = 'Step_1.Codigoempresa Legenda'
    Top = 64
    Left = 42
    Height = 16
    Width = 108
    Caption = 'Empresa / Filial'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 16
    Left = 594
    Height = 16
    Width = 198
    Alignment = npqaRightJustify
    Caption = '@Date @Time P'#225'g:@var(gemVFormatZero;@pageNo;4)'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 16
    Left = 30
    Height = 16
    Width = 558
    Caption = 'Controle Organizacional'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 32
    Left = 30
    Height = 16
    Width = 764
    Alignment = npqaCenter
    Caption = 'Empresa / Filial por Tarefas'
  end
  object TnpqLabel
    Name = 'CtrlValores'
    Top = 112
    Left = 468
    Height = 16
    Width = 324
    Caption = 'Etiqueta'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 144
    Left = 30
    Height = 16
    Width = 762
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '_________________'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 80
    Left = 30
    Height = 16
    Width = 762
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '_________________'
  end
  object TnpqParamItem
    Alias = 'ReportFor'
    Value = '1'
    ParType = npqptReportFor
    Caption = 'Modo Impress'#227'o'
    CtrlType = ntcComboBox
    CtrlNameValues = 'Gr'#225'fico=1;Texto=2'
    Position = 10
    Visible = False
  end
end
