R21127-3 Project Task - Task Type And Project Should Have Equal Project Type
| Code | 21127-3 |
| Entity | Projects.ProjectTasks Entity |
| Name | TaskTypeAndProjectShouldHaveEqualProjectType |
| Attribute | TaskType, ProjectType |
| Layer | Back-End |
| Events | Commit |
| Priority | Normal |
| Modify | NO |
| Applicable Legislations | ALL // no condition needed |
| Action | Validate that: ProjectTask .TaskType.ProjectType == null OR ProjectTask .Project.ProjectType == null OR ProjectTask .TaskType.ProjectType != null AND ProjectTask .Project.ProjectType != null AND ProjectTask .TaskType.ProjectType == ProjectTask .Project.ProjectType |
| Description | Validates that the Project Type of the Task Type is the same as the Project Type of the Project. |
| Message | The Project Type of Task Type '{TaskType.Name}' and the Project Type of Project '{Project.Name}' should be equal. |
| Version | 2016 |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.