ProjIResourceAvailabilityQuery.getResourceAvailability Method [AX 2012]

Get resource availability.

public boolean getResourceAvailability(
    Num activityId, 
    smmActivityNumber taskId, 
    PSARSEntityType activityType, 
    date startDate, 
    date endDate, 
    guid userSession, 
   [boolean includeHardBookCapacity, 
    boolean includeSoftBookCapacity, 
    boolean includeScheduleStatus])

Run On

Called

Parameters

activityId
Type: Num Extended Data Type
Activity id.
taskId
Type: smmActivityNumber Extended Data Type
Task id.
activityType
Type: PSARSEntityType Enumeration
Activity type.
startDate
Type: date
Start date.
endDate
Type: date
End date.
userSession
Type: guid
User session.
includeHardBookCapacity
Type: boolean
Include hardbook Capacity.
includeSoftBookCapacity
Type: boolean
Include softbook capacity.
includeScheduleStatus
Type: boolean
Include schedule status.

Return Value

Type: boolean
true if there is available resource, otherwise false.

Community Additions

ADD
Show: