object TnrwReport
  DllName = 'nCtb\nCtbORPlPadRegraAudCtb.Dll'
  DllNameSource = 'nCtb\nCtbORPlPadRegraAudCtb.dpr'
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Plpadregraaudctb'
      TableName = 'Plpadregraaudctb'
      Left = 306
      Top = 30
      Height = 238
      Width = 167
    end
    object TnpqQueryTable
      TableAlias = 'Cfgplanopadrao'
      TableName = 'Cfgplanopadrao'
      Left = 23
      Top = 4
      Height = 119
      Width = 149
    end
    object TnpqQueryTable
      TableAlias = 'Gruauditoria'
      TableName = 'Gruauditoria'
      Left = 39
      Top = 138
      Height = 136
      Width = 168
    end
    object TnpqJoin
      LeftTableAlias = 'Cfgplanopadrao'
      RightTableAlias = 'Plpadregraaudctb'
      RightTableDetail = False
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOPADRAO'
        RightFieldAlias = 'CODIGOPADRAO'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Gruauditoria'
      RightTableAlias = 'Plpadregraaudctb'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOGRUAUDITORIA'
        RightFieldAlias = 'CODIGOGRUAUDITORIA'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigopadrao'
      TableAlias = 'Plpadregraaudctb'
      Expression = 'CODIGOPADRAO'
      Sort = npqSortAscending
      DataType = ftSmallint
      Width = 3
      Alignment = taRightJustify
      Position = 0
      Caption = 'Plano Padr'#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigoregraaudctb'
      TableAlias = 'Plpadregraaudctb'
      Expression = 'CODIGOREGRAAUDCTB'
      Mask = '#'
      DataType = ftFMTBcd
      Width = 0
      Alignment = taRightJustify
      Position = 1
      Caption = 'C'#243'digo da Regra'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrregraaudctb'
      TableAlias = 'Plpadregraaudctb'
      Expression = 'DESCRREGRAAUDCTB'
      DataType = ftString
      Width = 50
      Position = 2
      Caption = 'Descri'#231#227'o Regra'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigogruauditoria'
      TableAlias = 'Plpadregraaudctb'
      Expression = 'CODIGOGRUAUDITORIA'
      DataType = ftSmallint
      Width = 4
      Alignment = taRightJustify
      Position = 3
      Caption = 'C'#243'digo do Grupo'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrplano'
      TableAlias = 'Cfgplanopadrao'
      Expression = 'DESCRPLANO'
      DataType = ftString
      Width = 50
      Position = 4
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrgruauditoria'
      TableAlias = 'Gruauditoria'
      Expression = 'DESCRGRUAUDITORIA'
      DataType = ftString
      Width = 50
      Position = 5
      Caption = 'Descri'#231#227'o do Grupo'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigopadrao'
        Header = 'Codigopadrao'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoPadrao]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigoregraaudctb'
        Header = 'Codigoregraaudctb'
        Position = 1
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pCodigoPadrao'
          Value = ' '
          CtrlType = ntcLinkEdit
          Position = 4
          ConsultFields = 'CODIGOPADRAO'
          ConsultMultSelect = True
          Dicionario = 'CODIGOPADRAO'
        end
      end
    end
    object TnpqPowerOrderBy
      Selected = 0
      object TnpqOrderBySeq
        Alias = 'C'#243'digo'
        object TnpqOrderByField
          Alias = 'Codigoregraaudctb'
        end
      end
      object TnpqOrderBySeq
        Alias = 'Descri'#231#227'o'
        object TnpqOrderByField
          Alias = 'Descrregraaudctb'
        end
        object TnpqOrderByField
          Alias = 'Codigoregraaudctb'
        end
      end
      object TnpqOrderBySeq
        Alias = 'Descri'#231#227'o do Grupo'
        object TnpqOrderByField
          Alias = 'Descrgruauditoria'
        end
        object TnpqOrderByField
          Alias = 'Codigoregraaudctb'
        end
      end
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '0'
        ParType = npqptOrderBy
        Caption = 'Ordenar Regra'
        CtrlType = ntcComboBox
        CtrlNameValues = 
          'C'#243'digo=0;Descri'#231#227'o=1;Descri'#231#227'o do Grupo=2;Nenhum=-1;Personalizar' +
          '=-2'
        Position = 3
        Hint = 'Configure a ordena'#231#227'o do relat'#243'rio.'
      end
    end
  end
  object TnpqPowerParam
    object TnpqParamItem
      Alias = 'pImpContasSaldo'
      Value = '1'
      ParType = npqptUser
      Caption = 'Imprimir Contas com Controle de Saldo'
      Position = 0
      Dicionario = 'DICSIMNAO'
    end
    object TnpqParamItem
      Alias = 'pLinhaBranco'
      Value = '1'
      ParType = npqptUser
      Caption = 'Pular Linha a Cada Regra'
      CtrlType = ntcComboBox
      Position = 1
      Dicionario = 'DICSIMNAO'
    end
    object TnpqParamItem
      Alias = 'pOrdenarSeq'
      Value = 'SEQ'
      ParType = npqptUser
      Caption = 'Ordenar Sequ'#234'ncia'
      CtrlType = ntcComboBox
      CtrlNameValues = 'C'#243'digo=SEQ;Tipo=TIPOREGRAAUDCTB'
      Position = 2
    end
    object TnpqParamItem
      Alias = 'R11'
      Value = '2'
      ParType = npqptUser
      Position = 6
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R12'
      Value = 'Confronto'
      ParType = npqptUser
      Position = 7
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R13'
      Value = '69  Materiais Semi-Acabados'
      ParType = npqptUser
      Position = 8
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R14'
      Value = 'Cr'#233'dito'
      ParType = npqptUser
      Position = 9
      Visible = False
    end
    object TnpqParamItem
      Alias = 'R15'
      Value = 'Somar'
      ParType = npqptUser
      Position = 10
      Visible = False
    end
  end
  object TnpqSection
    Position = 112
    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 TnpqLabel
    Name = 'Step_1.Operacao'
    Top = 128
    Left = 714
    Height = 16
    Width = 76
    Caption = '[R15]'
  end
  object TnpqLabel
    Name = 'Step_1.Tiposaldo'
    Top = 128
    Left = 630
    Height = 16
    Width = 78
    Caption = '[R14]'
  end
  object TnpqLabel
    Name = 'Step_1.Descrconta'
    Top = 128
    Left = 210
    Height = 16
    Width = 414
    Caption = '[R13]'
  end
  object TnpqLabel
    Name = 'Step9'
    Top = 112
    Left = 30
    Height = 16
    Width = 450
    Caption = 
      'Regra: @var(gemVFormatZero;[Step_1.Codigoregraaudctb];4) [Step_1' +
      '.Descrregraaudctb]'
  end
  object TnpqLabel
    Name = 'Step10'
    Top = 112
    Left = 480
    Height = 16
    Width = 306
    Caption = 'Grupo: [Step_1.Descrgruauditoria]'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 96
    Left = 30
    Height = 16
    Width = 760
    Alignment = npqaCenter
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '_______________________________________'
  end
  object TnpqLabel
    Name = 'Step_1.Seq'
    Top = 128
    Left = 30
    Height = 16
    Width = 96
    Alignment = npqaRightJustify
    Caption = '[R11]'
  end
  object TnpqLabel
    Name = 'Step12'
    Top = 128
    Left = 132
    Height = 16
    Width = 72
    Caption = '[R12]'
  end
  object TnpqLabel
    Name = 'Step1'
    Top = 32
    Left = 30
    Height = 16
    Width = 582
    Caption = '@var(gemVFormatZero;[Step_1.Codigopadrao];4) [Step_1.descrplano]'
  end
  object TnpqLabel
    Name = 'Step2'
    Top = 32
    Left = 618
    Height = 16
    Width = 167
    Alignment = npqaRightJustify
    Caption = '@var(gemVTempoPag;@PageNo)'
  end
  object TnpqLabel
    Name = 'Step3'
    Top = 48
    Left = 30
    Height = 16
    Width = 760
    Alignment = npqaCenter
    Caption = 'Regras de Auditoria Plano Padr'#227'o'
  end
  object TnpqLabel
    Name = 'Step7'
    Top = 80
    Left = 630
    Height = 16
    Width = 78
    Caption = 'Saldo'
  end
  object TnpqLabel
    Name = 'Step8'
    Top = 80
    Left = 714
    Height = 16
    Width = 72
    Caption = 'Opera'#231#227'o'
  end
  object TnpqLabel
    Name = 'Step4'
    Top = 80
    Left = 30
    Height = 16
    Width = 96
    Alignment = npqaRightJustify
    Caption = 'Seq'
  end
  object TnpqLabel
    Name = 'Step5'
    Top = 80
    Left = 132
    Height = 16
    Width = 72
    Caption = 'Tipo'
  end
  object TnpqLabel
    Name = 'Step6'
    Top = 80
    Left = 210
    Height = 16
    Width = 414
    Caption = 'Conta'
  end
  object TnpqParamItem
    Alias = 'ReportFor'
    Value = '1'
    ParType = npqptReportFor
    Caption = 'Modo Impress'#227'o'
    CtrlType = ntcComboBox
    CtrlNameValues = 'Gr'#225'fico=1;Texto=2'
    Position = 5
  end
end
