PES_MACRO_REMAINING_RESOURCE_ALLOCATION_FROM_ASSIGNMENT

PES_MACRO_TIMEPHASE_ATTRIBUTES_TIMESCALE shows remaining resource assignments (based on total allocations) per resource for the requested timescale and storage unit. The output value of this macro is calculated as [allocation - assignment].

The parameters for this macro are:
The following example shows a call to get remaining resource allocations for assigned resources (in hours) for the Actual dimension between May 17, 2008 and May 17, 2009
SELECT * FROM PES_MACRO_REMAINING_RESOURCE_ALLOCATION_FROM_ASSIGNMENT(tmp, ,Actual,
 Hours, Calendar Month, 2008-03-17, 2009-03-17, 1)