ItemType must be created with some Properties in order to perform system functions correctly. They are System Property, including:
System will throw error when Property is a System Property and the new name is not identical to original name. But there is another logic if Property name does not be changed.
The modification of Required, Length, Precision, Scale, and Default Value will affect column definition of database table. When column definition of database table changed, there are 3 rules to prevent illegal modification on Property:
- classification
- keyed_name
- id
- created_by_id
- created_on
- modified_by_id
- modified_on
- current_state
- state
- locked_by_id
- is_current
- major_rev
- minor_rev
- is_released
- not_lockable
- css
- source_id
- related_id
- behavior
- sort_order
- config_id
- new_version
- generation
- permission_id
- managed_by_id
- owned_by_id
- itemtype
- release_date
- effective_date
- superseded_date
- team_id
System will throw error when Property is a System Property and the new name is not identical to original name. But there is another logic if Property name does not be changed.
The modification of Required, Length, Precision, Scale, and Default Value will affect column definition of database table. When column definition of database table changed, there are 3 rules to prevent illegal modification on Property:
- Length, Precision, Scale, and Data Type can not be changed. In other words, system will throw error if one of them changes.
- If Default Value need to change, Required should retain original value
- When Property is classification, managed_by_id, owned_by_id, or team_id, change Required is allowed.
Comments
Post a Comment