Click or drag to resize

DurationItemsIsNext Property

Returns true if the break/meal will be availble next in a shift cycle.

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

Property Value

Boolean
Remarks
Returns true if the break/meal will be availble next in a shift cycle. There should only be one IsNext=true flag for each empid grouping based on the specific Type.

Note  Note
Use Case: A user is assgined the following policy rules:
1. A manual break with 2 different time durations
2. A manual lunch with 1 time duration

When the user is clocked out
> IsNext will be true for the first break duration and false for the second duration
> IsNext will be true for the lunch duration

When the user is clocks in
> Same as above

When the user starts first break
> IsNext will be false for the first break duration and true for the second duration
> IsNext will be true for the lunch duration

When the user starts the meal and ends the meal
> IsNext will be false for the first break duration and true for the second duration
> IsNext will be false for the lunch duration

When the user starts the second break
> IsNext will be false for the first break duration and false for the second duration
> IsNext will be false for the lunch duration

Example
true/false
See Also