Click or drag to resize

GetTimePunchStateModelPunchTypeId Property

Returns a comma separated list of punch type ids in the order of the next available punch type.

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public string PunchTypeId { get; set; }

Property Value

String
Remarks
Returns a comma separated list of punch type ids in the order of the next available punch type. The next available punch type is just a system recommended value; because its possible that some users can have multiple punch options.

Note  Note
Below are the associated enum types for a the ID and Name punch types.

ClockIn = 2
StartBreak = 6
EndBreak = 7
StartLunch = 4
EndLunch = 5
Transfer = 8
ClockOut = 3
Caution note  Caution
The punch statuses for a manager can differ in the different user interfaces. For example a manager view may have an "End Break" as an option, where the employee doesn't see this in their interfaces. An employee may not have the option to use breaks, then this will affect the results for the Model returned. The Model is tightly coupled with how an "Employee's View" is shown. For a better correlation of the results returned in this Model see the "Employee's Dashboard".

Payroll Policies effect the punch types that an employee can view. Be sure to review the payroll policy assigned to the user. For example if a user was assigned to a payroll policy that didn't allow breaks or meals then logging in as the employee would not allow them to punch against the "Begin Break"/"End Break" or "Begin Meal"/"End Meal" options, however these options still may be visible to a manager.
Example
"6,7,4,5,8,3,2"
See Also