Description: Returns the total duration of the reasons held by a reason or reason-volume entry on the active DBForm.
Calling convention: CIP_GetReasonSum("ReasonEntryName": String): Float
Parameters:
ReasonEntryName: entry of type Reason or ReasonVolume on the current form.
Returns: Floating-point duration sum from the reason list. Returns 0 initially, and invalid context or entry types raise an exception.
Availability: Default only with an active DBForm.
Example:
ReasonDuration := CIP_GetReasonSum("DowntimeReasons");