MdaLinkedDimensions

Finds dimensions that have been made available in other dimensions by MDAs (multi-dimension availabilities).

Use this class for example if you want to know all the staff that are available at a given location (during a specific time frame).

This class simply returns which dimensions have been made available using multi-dimension availability records (MDAs). It does not check other factors, such as blocking reservations or capacity, to find out if these dimensions are actually unoccupied. There are other global methods more suitable for that use case.

More information about MDAs can be found here: Multi-Dimensional Availabilities

Methods

Description

This method takes a dimension scope, a date range, and a list to specify which kind of dimensions you want to be in the result. It returns the dimensions that have been made available in the given scope.

Signature

global static B25.MdaLinkedDimensions.Result getLinkedIds(B25.MdaLinkedDimensions.Context)

Parameters

B25.MdaLinkedDimensions.Context

An instance of B25.MdaLinkedDimensions.Context. This class wraps the input parameters.

Return Type

B25.MdaLinkedDimensions.Result

An instance of B25.MdaLinkedDimensions.Result. This contains a list of available dimensions mapped by their dimension type (i.e. ‘B25__Staff__c’ or ‘B25__Resource__c’).

Inner Classes

Description

This class wraps the input parameters, which contain a dimension scope, a date range, and a list to specify which kind of dimensions you want to be in the result.

Properties

A list of the source dimensions. For example, this could contain all the room ids at a certain location, when you want to know all the staff that have been made available in these rooms.

A list of strings specifying the target dimension types that you want to be in the result (i.e. ‘B25__Staff__c’ or ‘B25__Resource__c’).

The start of the range you are interested in. The result will only contain target dimensions that have been made available in the source dimensions within the specified date range.

The end of the range you are interested in. The result will only contain target dimensions that have been made available in the source dimensions within the specified date range.

Description

This class wraps the result, which contains a list of available time ranges mapped by date and dimension.

Properties

A list of available dimensions mapped by their dimension type (i.e. ‘B25__Staff__c’ or ‘B25__Resource__c’).