SickTimeAccrualPeriod Property
Indicates how an employee accrues time off.
Syntax
ANSI (Cross Platform) int GetSickTimeAccrualPeriod();
int SetSickTimeAccrualPeriod(int iSickTimeAccrualPeriod); Unicode (Windows) INT GetSickTimeAccrualPeriod();
INT SetSickTimeAccrualPeriod(INT iSickTimeAccrualPeriod);
Possible Values
ST_NONE(0),
ST_BEGINNING_OF_YEAR(1),
ST_EVERY_HOUR_ON_PAYCHECK(2),
ST_EVERY_PAYCHECK(3)
@property (nonatomic,readwrite,assign,getter=sickTimeAccrualPeriod,setter=setSickTimeAccrualPeriod:) int sickTimeAccrualPeriod; - (int)sickTimeAccrualPeriod; - (void)setSickTimeAccrualPeriod:(int)newSickTimeAccrualPeriod;
Possible Values
ST_NONE(0),
ST_BEGINNING_OF_YEAR(1),
ST_EVERY_HOUR_ON_PAYCHECK(2),
ST_EVERY_PAYCHECK(3)
#define PID_EMPLOYEE_SICKTIMEACCRUALPERIOD 28 INQB_EXTERNAL void* INQB_CALL InQB_Employee_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Employee_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Indicates how an employee accrues time off. If sending time off hours data in an Update request, SickTimeAccrualPeriod is a required property, and cannot be set to stNone. The default value is whatever the QuickBooks user has set in the QuickBooks Employee Preferences.
Valid values:
stNone (0) | No value set. |
stBeginningOfYear (1) | Time off is added at the beginning of each year. |
stEveryHourOnPaycheck (2) | Time off is calculated by the employee's working hours. |
stEveryPaycheck (3) | Time off is accumulated for every paycheck. |
Data Type
Integer