object TnrwReport
  Page.MarginBottom = 0.150000000000000000
  Page.MarginTop = 0.170000000000000000
  object TnpqQuery
    QueryName = 'Step_1'
    QueryType = npqSelect
    Unions.Strings = (
      'Step_1')
    object TnpqQueryTable
      TableAlias = 'Unidmedconversao'
      TableName = 'Unidmedconversao'
      Left = 87
      Top = 60
      Height = 117
      Width = 169
    end
    object TnpqQueryTable
      TableAlias = 'Unidademedida'
      TableName = 'Unidademedida'
      Left = 376
      Top = 2
      Height = 97
      Width = 136
    end
    object TnpqQueryTable
      TableAlias = 'Unidademedida_1'
      TableName = 'Unidademedida'
      Left = 342
      Top = 136
      Height = 92
      Width = 130
    end
    object TnpqJoin
      LeftTableAlias = 'Unidmedconversao'
      RightTableAlias = 'Unidademedida'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOUNIDMEDORIG'
        RightFieldAlias = 'CODIGOUNIDMED'
      end
    end
    object TnpqJoin
      LeftTableAlias = 'Unidmedconversao'
      RightTableAlias = 'Unidademedida_1'
      object TnpqJoinField
        LeftFieldAlias = 'CODIGOUNIDMEDDEST'
        RightFieldAlias = 'CODIGOUNIDMED'
      end
    end
    object TnpqQueryValue
      ValueAlias = 'Codigounidmedorig'
      TableAlias = 'Unidmedconversao'
      Expression = 'CODIGOUNIDMEDORIG'
      Sort = npqSortAscending
      Mask = '0000'
      DataType = ftSmallint
      Width = 9
      Alignment = taRightJustify
      Position = 0
      Caption = 'Unidade Medida Origem'
    end
    object TnpqQueryValue
      ValueAlias = 'Codigounidmeddest'
      TableAlias = 'Unidmedconversao'
      Expression = 'CODIGOUNIDMEDDEST'
      DataType = ftSmallint
      Width = 9
      Alignment = taRightJustify
      Position = 1
      Caption = 'Unidade Medida Destino'
    end
    object TnpqQueryValue
      ValueAlias = 'Valorconversao'
      TableAlias = 'Unidmedconversao'
      Expression = 'VALORCONVERSAO'
      Mask = '#.#0,000000000'
      DataType = ftFMTBcd
      Width = 19
      Alignment = taRightJustify
      Position = 2
      Caption = 'Valor Convers'#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrunidmed'
      TableAlias = 'Unidademedida'
      Expression = 'DESCRUNIDMED'
      DataType = ftString
      Width = 50
      Position = 3
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Descrunidmed_1'
      TableAlias = 'Unidademedida_1'
      Expression = 'DESCRUNIDMED'
      DataType = ftString
      Width = 50
      Position = 5
      Caption = 'Descri'#231#227'o'
    end
    object TnpqQueryValue
      ValueAlias = 'Siglaunidmed'
      TableAlias = 'Unidademedida'
      Expression = 'SIGLAUNIDMED'
      DataType = ftString
      Width = 5
      Position = 4
      Caption = 'Sigla'
    end
    object TnpqQueryValue
      ValueAlias = 'Siglaunidmed_1'
      TableAlias = 'Unidademedida_1'
      Expression = 'SIGLAUNIDMED'
      DataType = ftString
      Width = 5
      Position = 6
      Caption = 'Sigla'
    end
    object TnpqPowerFilter
      object TnpqFilterValue
        VFieldAlias = 'Codigounidmedorig'
        Header = 'Codigounidmedorig'
        Position = 0
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoUnidMed]|'
        end
      end
      object TnpqFilterValue
        VFieldAlias = 'Codigounidmeddest'
        Header = 'Codigounidmeddest'
        Position = 1
        object TnpqFilterItem
          Operator = npqFilterInclusion
          Filter = '[pCodigoUnidMed1]|'
        end
      end
      object TnpqPowerParam
        object TnpqParamItem
          Alias = 'pCodigoUnidMed'
          Value = ' '
          Caption = 'Unidade Medida Origem'
          CtrlType = ntcLink
          Position = 0
          ConsultFields = 'CODIGOUNIDMED'
          ConsultMultSelect = True
        end
        object TnpqParamItem
          Alias = 'pCodigoUnidMed1'
          Value = ' '
          Caption = 'Unidade Medida Destino'
          CtrlType = ntcLink
          Position = 1
          ConsultFields = 'CODIGOUNIDMED'
          ConsultMultSelect = True
          Dicionario = 'CODIGOUNIDMED'
        end
      end
    end
    object TnpqPowerOrderBy
      Selected = 1
      object TnpqOrderBySeq
        Alias = 'Unidade Medida'
        object TnpqOrderByField
          Alias = 'Codigounidmeddest'
        end
      end
      object TnpqOrderBySeq
        Alias = 'Descri'#231#227'o'
        object TnpqOrderByField
          Alias = 'Descrunidmed_1'
        end
        object TnpqOrderByField
          Alias = 'Codigounidmeddest'
        end
      end
      object TnpqParamItem
        Alias = 'oStep_1'
        Value = '1'
        ParType = npqptOrderBy
        Caption = 'Ordenar'
        CtrlType = ntcComboBox
        CtrlNameValues = 'Unidade Medida=0;Descri'#231#227'o=1;Nenhum=-1;Personalizar=-2'
        Position = 2
      end
    end
  end
  object TnpqSection
    Position = 96
    SectionIndex = 1
  end
  object TnpqSection
    Position = 112
    SectionIndex = 2
    GroupField = 'Step_1.Codigounidmedorig'
  end
  object TnpqSection
    Position = 128
    SectionIndex = 8
  end
  object TnpqSection
    Position = 160
    SectionIndex = 49
    GroupField = 'Step_1.Codigounidmedorig'
  end
  object TnpqLabel
    Name = 'Step_1.Codigounidmeddest Legenda'
    Top = 64
    Left = 42
    Height = 16
    Width = 138
    Alignment = npqaRightJustify
    Caption = 'Unidade Medida Destino'
  end
  object TnpqLabel
    Name = 'Step_1.Codigounidmeddest'
    Top = 112
    Left = 42
    Height = 16
    Width = 138
    Alignment = npqaRightJustify
    Caption = '[Step_1.Codigounidmeddest]'
  end
  object TnpqLabel
    Name = 'Step_1.Descrunidmed_1 Legenda'
    Top = 64
    Left = 186
    Height = 16
    Width = 300
    Caption = 'Descri'#231#227'o'
  end
  object TnpqLabel
    Name = 'Step_1.Valorconversao'
    Top = 112
    Left = 534
    Height = 16
    Width = 198
    Alignment = npqaRightJustify
    Caption = '[Step_1.Valorconversao]'
  end
  object TnpqLabel
    Name = 'Step_1.Siglaunidmed_1 Legenda'
    Top = 64
    Left = 492
    Height = 16
    Width = 38
    Caption = 'Sigla'
  end
  object TnpqLabel
    Name = 'Step_1.Descrunidmed_1'
    Top = 112
    Left = 186
    Height = 16
    Width = 300
    Caption = '[Step_1.Descrunidmed_1]'
  end
  object TnpqLabel
    Name = 'Step_1.Siglaunidmed_1'
    Top = 112
    Left = 492
    Height = 16
    Width = 38
    Caption = '[Step_1.Siglaunidmed_1]'
  end
  object TnpqLabel
    Name = 'Step_1.Valorconversao Legenda'
    Top = 64
    Left = 534
    Height = 16
    Width = 198
    Alignment = npqaRightJustify
    Caption = 'Valor Convers'#227'o'
  end
  object TnpqLabel
    Name = 'Step_1.Codigounidmedorig'
    Top = 96
    Left = 30
    Height = 16
    Width = 414
    Caption = 
      'Unidade de Medida: [Step_1.Codigounidmedorig] [Step_1.Descrunidm' +
      'ed]     [Step_1.Siglaunidmed]'
  end
  object TnpqLabel
    Name = 'Step_1.Codigounidmeddest1'
    Top = 128
    Left = 30
    Height = 16
    Width = 288
    Caption = 'Quantidade Convers'#245'es: @Count([Step_1.Codigounidmeddest])'
  end
  object TnpqLabel
    Name = 'Etiqueta1'
    Top = 16
    Left = 30
    Height = 16
    Width = 456
    Caption = 'Controle Organizacional'
  end
  object TnpqLabel
    Name = 'Etiqueta2'
    Top = 16
    Left = 552
    Height = 16
    Width = 238
    Alignment = npqaRightJustify
    Caption = '@Date @Time P'#225'g:@var(gemVFormatZero;@pageNo;4)'
  end
  object TnpqLabel
    Name = 'Etiqueta3'
    Top = 32
    Left = 30
    Height = 16
    Width = 762
    Alignment = npqaCenter
    Caption = 'Convers'#245'es Unidades de Medida'
  end
  object TnpqLabel
    Name = 'Etiqueta4'
    Top = 80
    Left = 30
    Height = 16
    Width = 762
    Alignment = npqaCenter
    Caption = 
      '________________________________________________________________' +
      '________________________________________________________________' +
      '_____________________________________'
  end
  object TnpqLabel
    Name = 'Etiqueta5'
    Top = 144
    Left = 30
    Height = 16
    Width = 762
    Alignment = npqaCenter
    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 = 3
    Visible = False
  end
end
