/
var
/
www
/
html
/
sugar12
/
cache_old
/
modules
/
ContractTypes
/
Upload File
HOME
<?php $GLOBALS["dictionary"]["ContractType"]=array ( 'favorites' => false, 'table' => 'contract_types', 'archive' => false, 'comment' => 'Specifies the types of contracts available', 'fields' => array ( 'id' => array ( 'name' => 'id', 'vname' => 'LBL_ID', 'type' => 'id', 'required' => true, 'reportable' => true, 'duplicate_on_record_copy' => 'no', 'comment' => 'Unique identifier', 'mandatory_fetch' => true, ), 'name' => array ( 'name' => 'name', 'vname' => 'LBL_NAME', 'type' => 'name', 'dbType' => 'varchar', 'len' => 255, 'unified_search' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => true, 'boost' => 1.55, ), 'required' => true, 'importable' => 'required', 'duplicate_merge' => 'enabled', 'merge_filter' => 'selected', 'duplicate_on_record_copy' => 'always', ), 'date_entered' => array ( 'name' => 'date_entered', 'vname' => 'LBL_DATE_ENTERED', 'type' => 'datetime', 'group' => 'created_by_name', 'comment' => 'Date record created', 'enable_range_search' => true, 'options' => 'date_range_search_dom', 'studio' => array ( 'portaleditview' => false, ), 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'massupdate' => false, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, ), ), 'date_modified' => array ( 'name' => 'date_modified', 'vname' => 'LBL_DATE_MODIFIED', 'type' => 'datetime', 'group' => 'modified_by_name', 'comment' => 'Date record last modified', 'enable_range_search' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'sortable' => true, ), 'studio' => array ( 'portaleditview' => false, ), 'options' => 'date_range_search_dom', 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'massupdate' => false, ), 'modified_user_id' => array ( 'name' => 'modified_user_id', 'rname' => 'user_name', 'id_name' => 'modified_user_id', 'vname' => 'LBL_MODIFIED', 'type' => 'assigned_user_name', 'table' => 'users', 'isnull' => false, 'group' => 'modified_by_name', 'dbType' => 'id', 'reportable' => true, 'comment' => 'User who last modified record', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'type' => 'id', 'aggregations' => array ( 'modified_user_id' => array ( 'type' => 'MyItems', 'label' => 'LBL_AGG_MODIFIED_BY_ME', ), ), ), 'processes' => array ( 'types' => array ( 'RR' => false, 'ALL' => true, ), ), ), 'modified_by_name' => array ( 'name' => 'modified_by_name', 'vname' => 'LBL_MODIFIED', 'type' => 'relate', 'reportable' => false, 'source' => 'non-db', 'rname' => 'full_name', 'table' => 'users', 'id_name' => 'modified_user_id', 'module' => 'Users', 'link' => 'modified_user_link', 'duplicate_merge' => 'disabled', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'sort_on' => array ( 0 => 'last_name', ), 'exportable' => true, ), 'created_by' => array ( 'name' => 'created_by', 'rname' => 'user_name', 'id_name' => 'modified_user_id', 'vname' => 'LBL_CREATED', 'type' => 'assigned_user_name', 'table' => 'users', 'isnull' => false, 'dbType' => 'id', 'group' => 'created_by_name', 'comment' => 'User who created record', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'type' => 'id', 'aggregations' => array ( 'created_by' => array ( 'type' => 'MyItems', 'label' => 'LBL_AGG_CREATED_BY_ME', ), ), ), 'processes' => array ( 'types' => array ( 'RR' => false, 'ALL' => true, ), ), ), 'created_by_name' => array ( 'name' => 'created_by_name', 'vname' => 'LBL_CREATED', 'type' => 'relate', 'reportable' => false, 'link' => 'created_by_link', 'rname' => 'full_name', 'source' => 'non-db', 'table' => 'users', 'id_name' => 'created_by', 'module' => 'Users', 'duplicate_merge' => 'disabled', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'sort_on' => array ( 0 => 'last_name', ), 'exportable' => true, ), 'description' => array ( 'name' => 'description', 'vname' => 'LBL_DESCRIPTION', 'type' => 'text', 'comment' => 'Full text of the note', 'full_text_search' => array ( 'enabled' => true, 'searchable' => true, 'boost' => 0.5, ), 'rows' => 6, 'cols' => 80, 'duplicate_on_record_copy' => 'always', ), 'deleted' => array ( 'name' => 'deleted', 'vname' => 'LBL_DELETED', 'type' => 'bool', 'default' => '0', 'reportable' => false, 'duplicate_on_record_copy' => 'no', 'comment' => 'Record deletion indicator', ), 'created_by_link' => array ( 'name' => 'created_by_link', 'type' => 'link', 'relationship' => 'contracttypes_created_by', 'vname' => 'LBL_CREATED_USER', 'link_type' => 'one', 'module' => 'Users', 'bean_name' => 'User', 'source' => 'non-db', 'side' => 'right', ), 'modified_user_link' => array ( 'name' => 'modified_user_link', 'type' => 'link', 'relationship' => 'contracttypes_modified_user', 'vname' => 'LBL_MODIFIED_USER', 'link_type' => 'one', 'module' => 'Users', 'bean_name' => 'User', 'source' => 'non-db', 'side' => 'right', ), 'activities' => array ( 'name' => 'activities', 'type' => 'link', 'relationship' => 'contracttype_activities', 'vname' => 'LBL_ACTIVITY_STREAM', 'link_type' => 'many', 'module' => 'Activities', 'bean_name' => 'Activity', 'source' => 'non-db', ), 'list_order' => array ( 'name' => 'list_order', 'vname' => 'LBL_LIST_ORDER', 'type' => 'int', 'len' => '4', 'comment' => 'Relative order in drop down list', 'importable' => 'required', ), 'documents' => array ( 'name' => 'documents', 'type' => 'link', 'relationship' => 'contracttype_documents', 'source' => 'non-db', 'vname' => 'LBL_DOCUMENTS', ), 'following' => array ( 'massupdate' => false, 'name' => 'following', 'vname' => 'LBL_FOLLOWING', 'type' => 'bool', 'source' => 'non-db', 'comment' => 'Is user following this record', 'studio' => 'false', 'link' => 'following_link', 'rname' => 'id', 'rname_exists' => true, ), 'following_link' => array ( 'name' => 'following_link', 'type' => 'link', 'relationship' => 'contracttypes_following', 'source' => 'non-db', 'vname' => 'LBL_FOLLOWING', 'reportable' => false, ), 'my_favorite' => array ( 'massupdate' => false, 'name' => 'my_favorite', 'vname' => 'LBL_FAVORITE', 'type' => 'bool', 'source' => 'non-db', 'comment' => 'Favorite for the user', 'studio' => array ( 'list' => false, 'recordview' => false, 'basic_search' => false, 'advanced_search' => false, ), 'link' => 'favorite_link', 'rname' => 'id', 'rname_exists' => true, ), 'favorite_link' => array ( 'name' => 'favorite_link', 'type' => 'link', 'relationship' => 'contracttypes_favorite', 'source' => 'non-db', 'vname' => 'LBL_FAVORITE', 'reportable' => false, 'workflow' => false, 'full_text_search' => array ( 'type' => 'favorites', 'enabled' => true, 'searchable' => false, 'aggregations' => array ( 'favorite_link' => array ( 'type' => 'MyItems', 'options' => array ( 'field' => 'user_favorites', ), ), ), ), ), 'tag' => array ( 'name' => 'tag', 'vname' => 'LBL_TAGS', 'type' => 'tag', 'link' => 'tag_link', 'source' => 'non-db', 'module' => 'Tags', 'relate_collection' => true, 'studio' => array ( 'portal' => false, 'base' => array ( 'popuplist' => false, 'popupsearch' => false, ), 'mobile' => array ( 'wirelesseditview' => true, 'wirelessdetailview' => true, ), ), 'massupdate' => false, 'exportable' => true, 'sortable' => false, 'rname' => 'name', 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, ), ), 'tag_link' => array ( 'name' => 'tag_link', 'type' => 'link', 'vname' => 'LBL_TAGS_LINK', 'relationship' => 'contracttypes_tags', 'source' => 'non-db', 'exportable' => false, 'duplicate_merge' => 'disabled', ), 'commentlog' => array ( 'name' => 'commentlog', 'vname' => 'LBL_COMMENTLOG', 'type' => 'collection', 'displayParams' => array ( 'type' => 'commentlog', 'fields' => array ( 0 => 'entry', 1 => 'date_entered', 2 => 'created_by_name', ), 'max_num' => 100, ), 'links' => array ( 0 => 'commentlog_link', ), 'order_by' => 'date_entered:asc', 'source' => 'non-db', 'module' => 'CommentLog', 'studio' => array ( 'listview' => false, 'recordview' => true, 'wirelesseditview' => false, 'wirelessdetailview' => true, 'wirelesslistview' => false, 'wireless_basic_search' => false, 'wireless_advanced_search' => false, ), 'full_text_search' => array ( 'enabled' => true, 'searchable' => true, ), ), 'commentlog_link' => array ( 'name' => 'commentlog_link', 'type' => 'link', 'vname' => 'LBL_COMMENTLOG_LINK', 'relationship' => 'contracttypes_commentlog', 'source' => 'non-db', 'exportable' => false, 'duplicate_merge' => 'disabled', ), 'locked_fields' => array ( 'name' => 'locked_fields', 'vname' => 'LBL_LOCKED_FIELDS', 'type' => 'locked_fields', 'link' => 'locked_fields_link', 'source' => 'non-db', 'module' => 'pmse_BpmProcessDefinition', 'relate_collection' => true, 'studio' => false, 'massupdate' => false, 'exportable' => false, 'sortable' => false, 'rname' => 'pro_locked_variables', 'collection_fields' => array ( 0 => 'pro_locked_variables', ), 'full_text_search' => array ( 'enabled' => false, 'searchable' => false, ), 'hideacl' => true, ), 'locked_fields_link' => array ( 'name' => 'locked_fields_link', 'type' => 'link', 'vname' => 'LBL_LOCKED_FIELDS_LINK', 'relationship' => 'contracttypes_locked_fields', 'source' => 'non-db', 'exportable' => false, 'duplicate_merge' => 'disabled', ), 'sync_key' => array ( 'is_sync_key' => true, 'name' => 'sync_key', 'vname' => 'LBL_SYNC_KEY', 'type' => 'varchar', 'enforced' => '', 'required' => false, 'massupdate' => false, 'readonly' => true, 'default' => NULL, 'isnull' => true, 'no_default' => false, 'comments' => 'External default id of the remote integration record', 'help' => '', 'importable' => 'true', 'duplicate_merge' => 'disabled', 'merge_filter' => 'disabled', 'duplicate_on_record_copy' => 'no', 'audited' => true, 'reportable' => true, 'unified_search' => false, 'calculated' => false, 'len' => '100', 'size' => '20', 'studio' => array ( 'recordview' => true, 'wirelessdetailview' => true, 'listview' => false, 'wirelesseditview' => false, 'wirelesslistview' => false, 'wireless_basic_search' => false, 'wireless_advanced_search' => false, 'portallistview' => false, 'portalrecordview' => false, 'portaleditview' => false, ), ), ), 'acls' => array ( 'SugarACLDeveloperOrAdmin' => array ( 'aclModule' => 'Contracts', 'allowUserRead' => true, ), 'SugarACLLockedFields' => true, ), 'relationships' => array ( 'contracttypes_modified_user' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'ContractTypes', 'rhs_table' => 'contract_types', 'rhs_key' => 'modified_user_id', 'relationship_type' => 'one-to-many', ), 'contracttypes_created_by' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'ContractTypes', 'rhs_table' => 'contract_types', 'rhs_key' => 'created_by', 'relationship_type' => 'one-to-many', ), 'contracttype_activities' => array ( 'lhs_module' => 'ContractTypes', 'lhs_table' => 'contract_types', 'lhs_key' => 'id', 'rhs_module' => 'Activities', 'rhs_table' => 'activities', 'rhs_key' => 'id', 'rhs_vname' => 'LBL_ACTIVITY_STREAM', 'relationship_type' => 'many-to-many', 'join_table' => 'activities_users', 'join_key_lhs' => 'parent_id', 'join_key_rhs' => 'activity_id', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'ContractTypes', ), 'contracttypes_following' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'ContractTypes', 'rhs_table' => 'contract_types', 'rhs_key' => 'id', 'relationship_type' => 'user-based', 'join_table' => 'subscriptions', 'join_key_lhs' => 'created_by', 'join_key_rhs' => 'parent_id', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'ContractTypes', 'user_field' => 'created_by', ), 'contracttypes_favorite' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'ContractTypes', 'rhs_table' => 'contract_types', 'rhs_key' => 'id', 'relationship_type' => 'user-based', 'join_table' => 'sugarfavorites', 'join_key_lhs' => 'modified_user_id', 'join_key_rhs' => 'record_id', 'relationship_role_column' => 'module', 'relationship_role_column_value' => 'ContractTypes', 'user_field' => 'created_by', ), 'contracttypes_tags' => array ( 'lhs_module' => 'ContractTypes', 'lhs_table' => 'contract_types', 'lhs_key' => 'id', 'rhs_module' => 'Tags', 'rhs_table' => 'tags', 'rhs_key' => 'id', 'relationship_type' => 'many-to-many', 'join_table' => 'tag_bean_rel', 'join_key_lhs' => 'bean_id', 'join_key_rhs' => 'tag_id', 'relationship_role_column' => 'bean_module', 'relationship_role_column_value' => 'ContractTypes', 'dynamic_subpanel' => true, ), 'contracttypes_commentlog' => array ( 'lhs_module' => 'ContractTypes', 'lhs_table' => 'contract_types', 'lhs_key' => 'id', 'rhs_module' => 'CommentLog', 'rhs_table' => 'commentlog', 'rhs_key' => 'id', 'relationship_type' => 'many-to-many', 'join_table' => 'commentlog_rel', 'join_key_lhs' => 'record_id', 'join_key_rhs' => 'commentlog_id', 'relationship_role_column' => 'module', 'relationship_role_column_value' => 'ContractTypes', ), 'contracttypes_locked_fields' => array ( 'lhs_module' => 'ContractTypes', 'lhs_table' => 'contract_types', 'lhs_key' => 'id', 'rhs_module' => 'pmse_BpmProcessDefinition', 'rhs_table' => 'pmse_bpm_process_definition', 'rhs_key' => 'id', 'relationship_type' => 'many-to-many', 'join_table' => 'locked_field_bean_rel', 'join_key_lhs' => 'bean_id', 'join_key_rhs' => 'pd_id', 'relationship_role_column' => 'bean_module', 'relationship_role_column_value' => 'ContractTypes', ), ), 'indices' => array ( 'id' => array ( 'name' => 'idx_contracttypes_pk', 'type' => 'primary', 'fields' => array ( 0 => 'id', ), ), 'date_modified' => array ( 'name' => 'idx_contract_types_del_d_m', 'type' => 'index', 'fields' => array ( 0 => 'deleted', 1 => 'date_modified', 2 => 'id', ), ), 'deleted' => array ( 'name' => 'idx_contract_types_id_del', 'type' => 'index', 'fields' => array ( 0 => 'id', 1 => 'deleted', ), ), 'date_entered' => array ( 'name' => 'idx_contract_types_del_d_e', 'type' => 'index', 'fields' => array ( 0 => 'deleted', 1 => 'date_entered', 2 => 'id', ), ), 'name_del' => array ( 'name' => 'idx_contract_types_name_del', 'type' => 'index', 'fields' => array ( 0 => 'name', 1 => 'deleted', ), ), 'sync_key' => array ( 'name' => 'idx_contract_types_skey', 'type' => 'unique', 'fields' => array ( 0 => 'sync_key', ), ), ), 'name_format_map' => array ( ), 'visibility' => array ( ), 'duplicate_check' => array ( 'enabled' => true, 'FilterDuplicateCheck' => array ( 'filter_template' => array ( 0 => array ( 'name' => array ( '$starts' => '$name', ), ), ), 'ranking_fields' => array ( 0 => array ( 'in_field_name' => 'name', 'dupe_field_name' => 'name', ), ), ), ), 'templates' => array ( 'basic' => 'basic', 'following' => 'following', 'favorite' => 'favorite', 'taggable' => 'taggable', 'commentlog' => 'commentlog', 'lockable_fields' => 'lockable_fields', 'integrate_fields' => 'integrate_fields', ), 'custom_fields' => false, 'has_pii_fields' => false, 'related_calc_fields' => array ( ), );