Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Shift getUserNextShift

From Catglobe Wiki



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