Description: Returns the shift identifier that applies to an object at a supplied time.
Calling convention: CIP_GetSchicht (ObjectID, AHour)
Parameters:
ObjectID: object identifier used to load the shift model.
AHour: Delphi date/time value or time fraction. Despite its name, the implementation derives an hour from the fractional day.
Returns: Shift ID as Variant, or NULL when the object is invalid or no result is available.
Availability: Default; HP implementation and shift-model data are required.
Example:
ShiftID := CIP_GetSchicht (12, Now());