Share via


WorkCalendarSched.isDateOpen Method [AX 2012]

Determines whether a date is open in a calendar.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean isDateOpen(
            CalendarId _calendarId, 
            SchedDate _schedDate, 
           [boolean _skipGlobalCaching])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean isDateOpen(CalendarId _calendarId, SchedDate _schedDate)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean isDateOpen(CalendarId _calendarId, SchedDate _schedDate)

  Microsoft Dynamics AX 2012 (FPK)
          public boolean isDateOpen(CalendarId _calendarId, SchedDate _schedDate)

  Microsoft Dynamics AX 2012 (SYS)
          public boolean isDateOpen(CalendarId _calendarId, SchedDate _schedDate)

Run On

Called

Parameters

Return Value

Type: boolean
true if the date is open; otherwise, false.

Remarks

If _calendarId is blank, the method returns true, which means that the date _schedDate is considered open.

See Also

Reference

WorkCalendarSched Class