# Multi-Organization Access Rights

## Add a field to a mask

If you create a new field for the tables T_DOC_DAT, T_MASTER_DAT, T_ORG_DAT, T_PAC_DAT or T_PRO_DAT, you have to add this new field to the view definition manually.
Open the file <install_root>/axalant/db_util/oracle/sql/ddl_all_view.sql and add the field to the corresponding create statement of the view(s). Afterwards execute the file in sqlplus in order to create the views.
Table | View(s)
T_DOC_DAT | PDP_T_DOC_DAT, PDW_T_DOC_DAT
T_MASTER_DAT | PDP_T_MASTER_DAT, PDW_T_MASTER_DAT
T_ORG_DAT | PDW_T_ORG_DAT
T_PAC_DAT | PDW_T_PAC_DAT
T_PRO_DAT | PDW_T_PRO_DAT
If you create a new field for the entities EDB-DOCUMENT, EDB-ARTICLE, EDB-ORGANIZATION, EDB-PACKET or EDB-PROJECT, you have to add this new field to the view definition manually.
Open file <install_root>/axalant/db_util/oracle/sql/ddl_all_view.sql and add the field to the corresponding create statement of the view(s). Afterwards execute the file in sqlplus in order to create the views.
Entity | Table | View(s)
EDB-DOCUMENT | T_DOC_DAT | PDP_T_DOC_DAT, PDW_T_DOC_DAT
EDB-ARTICLE | T_MASTER_DAT | PDP_T_MASTER_DAT, PDW_T_MASTER_DAT
EDB-ORGANIZATION | T_ORG_DAT | PDW_T_ORG_DAT
EDB-PACKET | T_PAC_DAT | PDW_T_PAC_DAT
EDB-PROJECT | T_PRO_DAT | PDW_T_PRO_DAT