值集維護

來源:互聯網
上載者:User
------------得到值集資料

-------------通過值集的名稱得到值集的ID

---值集表: fnd_flex_value_sets

---值集ID: flex_value_set_id

---值集名稱:flex_value_set_name

select flex_value_set_id
  from apps.fnd_flex_value_sets
 where flex_value_set_name = 'ML_INV_物料大類';
 

---通過值集ID得到值集列表

---值集列表:FND_FLEX_VALUES_VL

---列表ID:FLEX_VALUE

---列表名稱:Description

---是否啟用:ENABLED_FLAG   Y是,N否

---層次關係父:SUMMARY_FLAG   Y是,N否

---有效期間始:START_DATE_ACTIVE

---有效期間止:END_DATE_ACTIVE

--排序:attribute50

--俗稱說明:attribute48

select a.flex_value flex_no,
       a.description flex_dsc,
       attribute50,
       attribute48
  from apps.fnd_flex_values_vl a
 where a.flex_value_set_id = 1009627
   and a.enabled_flag = 'Y'
   for update;
   
   ---調整排序

select flex_value,
       attribute50
  from apps.fnd_flex_values a
 where a.flex_value_set_id = 1009627;
--Order By a.flex_value

For Update

----值集代碼修改

select *
  from apps.fnd_flex_values_tl t
 where t.flex_value_id = 59940
   and t.language = userenv('LANG')
   for update;

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.