ProjResourceAssignmentBaseQuery.getResourceAssignment Method [AX 2012]

Retrieves Worker resource assignment information for the specified Worker resources, for a project within the specified date range.

public boolean getResourceAssignment(
    PSATmpResourceSelection resources, 
    Num activityId, 
    date startDate, 
    date endDate, 
    guid userSession)

Run On

Server

Parameters

resources
Type: PSATmpResourceSelection Table
Worker resource selection.
activityId
Type: Num Extended Data Type
Project Id.
startDate
Type: date
Start date of the date range.
endDate
Type: date
End date of the date range.
userSession
Type: guid
User session to use.

Return Value

Type: boolean
true when Worker resource assignment information is retrieved successfully.

This method clears the Resource capacity table then adds Hour capacity, Hard-booked capacity, Soft-booked capacity, Employment hour capacity and calculates Schedules status for the specified Worker resources.

Community Additions

ADD
Show: