Difference between revisions of "Shift getUserNextShift"
Line 1: | Line 1: | ||
[[Category:General_Functions]] | [[Category:General_Functions]] | ||
− | | + | {{HelpFiles}} |
====Shift_getUserNextShift==== | ====Shift_getUserNextShift==== |
Revision as of 09:43, 12 December 2011
Shift_getUserNextShift
Return the next shift of a user
Syntax
Shift_getUserNextShift(userResourceId)
Arguments
- userResourceId: is a number expression
Return value
array which is Shift Object:
Index |
Data type |
Value |
OBJECT_TYPE |
number |
25 |
SHIFT_ID |
number |
Id of next shift |
SHIFT_USER_RESOURCE_ID |
number |
User resource id of this shift |
SHIFT_TEAM_ID |
number |
Shift team id of this shift |
SHIFT_FACILITY_RESOURCE_ID |
number |
Group resource id of this shift |
SHIFT_DAYS_UNTIL_DEMANDS_ARE_DECREASED |
number |
DUDAD of this shift |
SHIFT_DISAPPROVE_DAYS |
number |
Disapprove days of this shift |
SHIFT_START_DATE |
array |
Start date datetime object array of this shift (with timezone of specfied user) |
SHIFT_END_DATE |
array |
End date datetime object array of this shift (with timezone of specfied user) Example array nextShift = Shift_getUserNextShift(789456); print(nextShift); Availability Version 5.8
|