R28917 ServiceActivity - Calculate Planned Duration Minutes
Code | R28917 |
Entity | Applications.Service.ServiceActivities Entity |
Name | CalculatePlannedDurationMinutes |
Attribute | PlannedDurationMinutes |
Layer | Front-End |
Events | AttributeChanged(StartTime)
AttributeChanged(EndTime) |
Priority | - |
Modify | YES |
Action | Validate that:
If (StartTime !=null && EndTime != null) PlannedDurationMinutes = (EndTime - StartTime).TotalMinutes else if (StartTime !=null && EndTime == null) PlannedDurationMinutes = null |
Description | The current business rule calculates the timespan in minutes between StartTime and EndTime attributes and stores the result in PlannedDurationMinutes attribute. |
Message | - |
Introduced In Version | |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.