WorkCalendarSched.isDateOpen Method [AX 2012]

Determines whether a date is open in a calendar.

NoteNote

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

_calendarId
Type: CalendarId Extended Data Type
The calendar to examine.
_schedDate
Type: SchedDate Extended Data Type
The date to check for.
_skipGlobalCaching
Type: boolean

Return Value

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

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

Show: