Description: Initializes and executes the named statistics pack for an object and filter, optionally using the visible statistics form.
Calling convention: CIP_CallStatistics("PackName": String, "ObjectName": String; "FilterName": String; [ShowResult: Boolean = true])
Parameters:
PackName: name of an existing statistics pack.
ObjectName: source object name.
FilterName: source filter name.
ShowResult: optional display flag; defaults to TRUE. FALSE executes the pack through a temporary statistics frame.
Returns: An empty String is assigned before execution. Missing required values or an unknown pack set FALSE and raise an exception.
Availability: Default desktop environment with statistics UI support.
Example:
CIP_CallStatistics("MonthlyOEE", "ProductionLine1", "CurrentMonth", true);