Click or drag to resize

DurationItemsIsActive Property

Returns true if the current break/meal duration is being used.

Namespace: AppOne.Web.Service.Services.V1R0.Customer.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public bool IsActive { get; set; }

Property Value

Boolean
Remarks
Returns true if the current break/meal duration is being used. There can only be one true IsActive value for a given EmpIdentifier

Note  Note
Use Case: If a user has punched in for lunch then IsActive would be true for the meal of the active duration and all other durations IsActive values would be false. If a user is not clocked in or the user is currently not on a break or meal then all values will return false.
Example
true/false
See Also