标签:
set_dependent_field 是设置item之间的一种关系.如必须输入VENDOR, 才能输入VENDOR_SITE,如果VENDOR不输入,则VENDOR_SITE不能输入.
APP_FIELD.clear_dependent_fields( master_field VARCHAR2, field1 VARCHAR2, field2 VARCHAR2 DEFAULT NULL, field3 VARCHAR2 DEFAULT NULL, field4 VARCHAR2 DEFAULT NULL, field5 VARCHAR2 DEFAULT NULL, field6 VARCHAR2 DEFAULT NULL, field7 VARCHAR2 DEFAULT NULL, field8 VARCHAR2 DEFAULT NULL, field9 VARCHAR2 DEFAULT NULL, field10 VARCHAR2 DEFAULT NULL)
IF event = ‘WHEN-VALIDATE-ITEM‘ THEN app_field.clear_dependent_fields(‘CLEARS.CLEAR_TYPE_DESC‘ ,‘CLEARS.CLEAR_TYPE‘); END IF;
APP_FIELD.set_dependent_field( even VARCHAR2, master_field VARCHAR2, dependent_field VARCHAR2, invalidate BOOLEAN DEFAULT FALSE)
将两个(或多个)Item建立关联 app_field.set_dependent_field和app_field.clear_dependent_fields
标签:
原文地址:http://www.cnblogs.com/Bigbirdblog/p/4818700.html