src-db/database/model/views/AD_FIELD_V.xml
changeset 9910 6767429386d8
parent 7031 2aac4501bbd5
child 9911 444911e2b851
equal deleted inserted replaced
9909:56a1306e07a0 9910:6767429386d8
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="VIEW AD_FIELD_V">
     2   <database name="VIEW AD_FIELD_V">
     3     <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
     3     <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>
     4 FROM ad_field f
       
     5 JOIN ad_tab t ON f.ad_tab_id = t.ad_tab_id
       
     6 LEFT JOIN ad_fieldgroup fg ON f.ad_fieldgroup_id = fg.ad_fieldgroup_id
       
     7 LEFT JOIN ad_column c ON f.ad_column_id = c.ad_column_id
       
     8 JOIN ad_table tbl ON c.ad_table_id = tbl.ad_table_id
       
     9 JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id
       
    10 LEFT JOIN ad_val_rule vr ON c.ad_val_rule_id = vr.ad_val_rule_id
       
    11 WHERE f.isactive = 'Y' AND c.isactive = 'Y']]></view>
       
    12   </database>
     4   </database>