R30433-2 Activity - Set Responsible Person
| Code | 30433-2 |
| Entity | General.Activities.Activities Entity |
| Name | SetResponsiblePerson |
| Attribute | ResponsiblePerson |
| Layer | Front-End |
| Events | AttributeChanged(ResponsibleParty) |
| Priority | Normal |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | if (ResponsibleParty is not null)
{
IF(ResponsiblePerson is null OR ResponsiblePerson != Persons(ResponsibleParty)
ResponsiblePerson = Persons(ResponsibleParty); else { if (ResponsiblePerson is not null) ResponsiblePerson = null; } |
| Description | When Responsible Party is changed and there is a Person connected with the same party, Responsible Person should be set to the Person connected with the Responsible Party. If Responsible Party is null, Responsible Person should be null, too. |
| Message | |
| Version | Introduced: 2020.1 |
| Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.