Skip to content

有害部落格同好會

2013/03/15 / Oracle EBS

使用 API 建立 valueset

使用 API 如下:

--1-1. 建立 independent SET
fnd_flex_val_api.create_valueset_independent(
       v_set_name,
       v_description,
       v_security,
       v_enable_longlist,
       v_format_type,
       v_maximum_size,
       v_numbers_only,
       v_uppercase_only,
       v_right_justify_zero_fill,
       v_min_value,
       v_max_value);
 
--1-2. 建立 dependent SET
fnd_flex_val_api.create_valueset_dependent(
       v_set_name,
       v_description,
       v_security,
       v_enable_longlist,
       v_format_type,
       v_maximum_size,
       v_numbers_only,
       v_uppercase_only,
       v_right_justify_zero_fill,
       v_min_value,
       v_max_value,
       v_parent_value_set,
       v_default_value,
       v_default_meaning);
 
-- 2.刪除SET
fnd_flex_val_api.delete_valueset(v_value_set_name);
 
-- 3-1. 增加 independent VALUE
fnd_flex_val_api.create_independent_vset_value(
   v_value_set_name,
   v_value,
   v_storage_value --output parameter
);
 
-- 3-2. 增加 dependent VALUE
fnd_flex_val_api.create_dependent_vset_value(
   v_value_set_name,
   v_parent_value,
   v_value,
   v_storage_value --output parameter
);

--1-1. 建立 independent SET fnd_flex_val_api.create_valueset_independent( v_set_name, v_description, v_security, v_enable_longlist, v_format_type, v_maximum_size, v_numbers_only, v_uppercase_only, v_right_justify_zero_fill, v_min_value, v_max_value); --1-2. 建立 dependent SET fnd_flex_val_api.create_valueset_dependent( v_set_name, v_description, v_security, v_enable_longlist, v_format_type, v_maximum_size, v_numbers_only, v_uppercase_only, v_right_justify_zero_fill, v_min_value, v_max_value, v_parent_value_set, v_default_value, v_default_meaning); -- 2.刪除SET fnd_flex_val_api.delete_valueset(v_value_set_name); -- 3-1. 增加 independent VALUE fnd_flex_val_api.create_independent_vset_value( v_value_set_name, v_value, v_storage_value --output parameter ); -- 3-2. 增加 dependent VALUE fnd_flex_val_api.create_dependent_vset_value( v_value_set_name, v_parent_value, v_value, v_storage_value --output parameter );

Sample Code:

DECLARE
  v_storage_value VARCHAR2(1000);
BEGIN
  -- Test statements here
  fnd_flex_val_api.create_dependent_vset_value(
     p_flex_value_set_name => 'XIN_INV_MINOR_CATEGORY',
     p_parent_flex_value   => 'SubPart',
     p_flex_value          => 'AA123', --v_value,
     p_description         => 'AA123D',
     x_storage_value       => v_storage_value --output parameter
     );
  dbms_output.put_line('out:' || v_storage_value);
END;

DECLARE v_storage_value VARCHAR2(1000); BEGIN -- Test statements here fnd_flex_val_api.create_dependent_vset_value( p_flex_value_set_name => 'XIN_INV_MINOR_CATEGORY', p_parent_flex_value => 'SubPart', p_flex_value => 'AA123', --v_value, p_description => 'AA123D', x_storage_value => v_storage_value --output parameter ); dbms_output.put_line('out:' || v_storage_value); END;

Post navigation

Previous Post:

關於 pipe row 應用, split or merge 字串

Next Post:

隱藏或禁止點選 Master Item 特定 tab canvas

分類

  • 新奇有趣の搶先報導
    • Raspberry Pi
    • 手機相關
    • 推薦軟體
    • 新鮮有趣
    • 生活資訊
  • 想破腦袋の程式技巧
    • Oracle EBS
    • Database
    • Excel, VBA
    • php
    • JavaScript, VBScript
    • VS.NET
    • Others
    • Windows
    • SAP
  • 撩動心弦の短文小品
  • 聚沙成塔の理財守則
  • 不可不知の職場實錄
  • 剎那永恆の生活翦影

近期文章

  • 受保護的內容: 如何透過Personalize功能呼叫另一form來回傳值
  • Win10 / 8 / 7 無法安裝 SSD
  • 受保護的內容: 樹梅派+遠端連線
  • EBS R12 取得客戶的phone, email, URL資料
  • 受保護的內容: 管控Workflow Administrator Role

友站

  • Masaya396's 協奏曲
  • 老塗的咁仔店

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

Tag Cloud

你目前使用的瀏覽器不支援 HTML5 的 CANVAS 標籤。

  • VB6
  • Win7
  • Oracle DB
  • SQL
  • LDAP
  • MySql
  • 感情
  • VBA
  • WinXP
  • CSS
  • php
  • excel
  • 管理
  • SAP
  • EBS 12.1.3
  • VB.Net
  • EBS 11.5.10
  • HTC
  • javascript
  • Oracle EBS
© 2025 有害部落格同好會 - Powered by SimplyNews