Click or drag to resize
Policy Class

Container class for Pay Policies.

Main class for time card calculation.

Inheritance Hierarchy

Namespace: AMG.API.Definitions.Policies
Assembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public class Policy : BaseDefinition

The Policy type exposes the following members.

Constructors
  NameDescription
Public methodPolicy
Initializes a new instance of the Policy class.
Top
Properties
  NameDescription
Public propertyActive
Indicates if the definition is active.
(Inherited from BaseDefinition.)
Public propertyBank
Bank Hours related features
Public propertyClosePeriod
Indicates if cross pay period time card should be closed on pay period's last day at ClosePeriodAt.
Public propertyClosePeriodAt

Specifies time when to close cross pay period time cards.

Used only when ClosePeriod set to true.

Only time part of DateTime is used.

Public propertyCode
Definition's code
(Inherited from BaseDefinition.)
Public propertyDefaultWorkTotal
Specifies how many hours to add to time card if time card is actually missing.
Public propertyExceptions
Options for exception reporting
Public propertyGeneralResetSG
Indicates if Swipe and Go sequence should be reset.
Public propertyGeneralResetSGTime

Specifies time when to reset Swipe and Go sequence to IN.

Only time part of DateTime is used.

Public propertyHolidays
Holiday related features
Public propertyId
ID number of definition
(Inherited from BaseDefinition.)
Public propertyIgnoreDuplicateFuncKey
Time interval in seconds for punches of same direction to be considered duplicate when occur within this interval. Last punch is being used.
Public propertyIgnoreOpposingFuncKey
Time interval in seconds for punches of opposite direction to be considered duplicate when occur within this interval. Last punch is being used.
Public propertyLinkBackOverride

Time interval in hours, that should remain until next shift's start, in order to override linking OUT punch forward to next IN punch.

MaxOutInPunch is used to define this setting.

This option is mostly important for overnight shifts.

Public propertyMaxOutInPunch

Time interval in hours to identify the maximum time period during which the OUT punches should link forward to the next IN punch.

LinkBackOverride is used to override this setting.

This option is mostly important for overnight shifts.

Public propertyMissOutPunch
Hours interval after which Clock Out action will be performed automatically by the system for the cases when it is missing.
Public propertyName
Name of definition
(Inherited from BaseDefinition.)
Public propertyOvertime
Overtime related features
Public propertyPayPeriod

Pay Period

enum PayPeriod { Weekly = 1, Biweekly, Semimonthly, Monthly, Fourweekly }
Public propertyPayStartDate
Pay Period's initial start date. Based on this value all periods back and forward are being calculated.
Public propertyReturnCall
Return Call related features
Public propertySemimonthlyDays
Semimonthly period days if PayPeriod is Semimonthly.
Public propertyStickyRoundEnd
Allowed variance (in minutes) of miscellaneous transaction's start time, within which the category can stick to the nearest transaction.
Public propertyStickyRoundStart
Allowed variance (in minutes) of miscellaneous transaction's end time, within which the category can stick to the nearest transaction.
Top
See Also