ProjActivityReservationDateQuery.getActivityReservationsQuery Method [AX 2012]

Gets the Activity resource reservations query using the specified arguments

public Query getActivityReservationsQuery(
    RecId resourceId, 
    SelectableDataArea resourceDataArea, 
    Array projects, 
    date startDate, 
    date endDate)

Run On

Called

Parameters

resourceId
Type: RecId Extended Data Type
Worker resource Id
resourceDataArea
Type: SelectableDataArea Extended Data Type
Worker resource Data area
projects
Type: Array Class
List of projects to include in the query
startDate
Type: date
Start date of the reservations
endDate
Type: date
End date of the reservations

Return Value

Type: Query Class
A Query using the specified arguments

This method dynamically creates an Activity resource reservations query using the specified Resource, ResourceDataArea, date range and list of projects

Community Additions

ADD
Show: