利用API 建立Dependent Value Set

时间:2022-11-17 19:38:24
1. 建立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
)
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.增加VALUE
fnd_flex_val_api.create_independent_vset_value(v_value_set_name
,v_value
,v_storage_value --output parameter
)
fnd_flex_val_api.create_dependent_vset_value(v_value_set_name
,v_parent_value
,v_value
,v_storage_value --output parameter
)