Description: Loads object records through an optional filter and returns the selected entry values as a two-dimensional Variant array.
Calling convention: CIP_GetObjectData("ObjectName": String, "FiterName": String, ["EntryName1, EntryName2, ..., EntryNameN": String],[OutRowCount: Integer], [OutFieldCount: Integer]): VarArray
Parameters:
ObjectName: registered object name.
FiterName: registered filter name; an empty String requests unfiltered data. The parameter name is misspelled in the registration.
EntryName1, EntryName2, ..., EntryNameN: optional comma-separated entry-name list.
OutRowCount: optional output argument receiving the row count.
OutFieldCount: optional output argument receiving the field count.
Returns: Two-dimensional Variant array. The current implementation is unsafe when the filter is empty or the data-container pack does not resolve to exactly one container.
Availability: Default; reads object data and can modify the optional output arguments.
Example:
Data := CIP_GetObjectData("Production", "Today", "DATA_ID,Quantity", RowCount, FieldCount);