R38865 Activity - Set Subject with Responsible Party When Target Party Is Missing
Code | R38865 |
Entity | General.Activities.Activities Entity |
Name | SetSubjectWithResponsiblePartyWhenTargetPartyIsMissing |
Attribute | Subject |
Layer | Front-End |
Events | AttributeChanged(TargetParty, SystemType, Responsible party) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IF ((TargetParty IS NULL AND ResponsibleParty IS NOT NULL) AND (Subject IS NULL OR Subject = SystemSubject(SystemType, TargetParty.OldValue) OR Subject = SystemSubject(SystemType, ResponsibleParty.OldValue) )) THEN Subject = SystemSubject(SystemType, ResponsibleParty) |
Description | When Target Party is cleared (null), but Responsible Party is available, and the Subject field has not been manually modified, the system should auto-fill Subject using the format SystemType / Responsible Party. This ensures meaningful values even in the absence of a Target Party, while preserving any user-entered Subject text. |
Message | |
Version | v.25 |
Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.