src-db/database/model/views/AD_FIELD_V.xml
changeset 9910 6767429386d8
parent 7031 2aac4501bbd5
child 9911 444911e2b851
--- a/src-db/database/model/views/AD_FIELD_V.xml	Thu Jan 24 13:16:12 2013 +0100
+++ b/src-db/database/model/views/AD_FIELD_V.xml	Mon Feb 04 09:27:53 2013 +0100
@@ -1,12 +1,4 @@
 <?xml version="1.0"?>
   <database name="VIEW AD_FIELD_V">
-    <view name="AD_FIELD_V"><![CDATA[SELECT t.ad_window_id, f.ad_tab_id, f.ad_field_id, tbl.ad_table_id, f.ad_column_id, f.name, f.description, f.help, f.isdisplayed, f.displaylogic, f.displaylength, f.seqno, f.sortno, f.issameline, f.isfieldonly, f.isreadonly, f.isencrypted AS isencryptedfield, c.columnname, c.fieldlength, c.vformat, c.defaultvalue, c.iskey, c.isparent, c.ismandatory, c.isidentifier, c.istranslated, c.ad_reference_value_id, c.callout, c.ad_reference_id, c.ad_val_rule_id, c.ad_process_id, c.readonlylogic, c.isupdateable, c.isencrypted AS isencryptedcolumn, c.isselectioncolumn, tbl.tablename, c.valuemin, c.valuemax, fg.name AS fieldgroup, vr.code AS validationcode
-FROM ad_field f
-JOIN ad_tab t ON f.ad_tab_id = t.ad_tab_id
-LEFT JOIN ad_fieldgroup fg ON f.ad_fieldgroup_id = fg.ad_fieldgroup_id
-LEFT JOIN ad_column c ON f.ad_column_id = c.ad_column_id
-JOIN ad_table tbl ON c.ad_table_id = tbl.ad_table_id
-JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id
-LEFT JOIN ad_val_rule vr ON c.ad_val_rule_id = vr.ad_val_rule_id
-WHERE f.isactive = 'Y' AND c.isactive = 'Y']]></view>
+    <view name="AD_FIELD_V"><![CDATA[SELECT t.ad_window_id, f.ad_tab_id, f.ad_field_id, tbl.ad_table_id,  f.ad_column_id, f.name, f.description, f.help, f.isdisplayed,  f.displaylogic, f.displaylength, f.seqno, f.sortno, f.issameline,  f.isfieldonly, f.isreadonly, f.isencrypted AS isencryptedfield,  c.columnname, c.fieldlength, c.vformat, c.defaultvalue, c.iskey, c.isparent,  c.ismandatory, c.isidentifier, c.istranslated, c.ad_reference_value_id,  c.callout, c.ad_reference_id, c.ad_val_rule_id, c.ad_process_id,  c.readonlylogic, c.isupdateable, c.isencrypted AS isencryptedcolumn,  c.isselectioncolumn, tbl.tablename, c.valuemin, c.valuemax,  fg.name AS fieldgroup, vr.code AS validationcode FROM ad_field f JOIN ad_tab t ON f.ad_tab_id = t.ad_tab_id LEFT JOIN ad_fieldgroup fg ON f.ad_fieldgroup_id = fg.ad_fieldgroup_id LEFT JOIN ad_column c ON f.ad_column_id = c.ad_column_id JOIN ad_table tbl ON c.ad_table_id = tbl.ad_table_id JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id LEFT JOIN ad_val_rule vr ON c.ad_val_rule_id = vr.ad_val_rule_id WHERE f.isactive = 'Y' AND c.isactive = 'Y']]></view>
   </database>