PSAResAssignAnalysis_Department.dimensionTotalCapacity Method [AX 2012]

This method is used to calculate the total capacity for a dimension.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          private Hours dimensionTotalCapacity(
            OMOperatingUnitNumber _departmentNumber, 
            TransDate _dStartDate, 
            TransDate _dEndDate, 
           [CompanyInfoRecId _workerLegalEntityRecId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          private Hours dimensionTotalCapacity(
            OMOperatingUnitNumber _departmentNumber, 
            TransDate _dStartDate, 
            TransDate _dEndDate, 
           [CompanyInfoRecId _workerLegalEntityRecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          private Hours dimensionTotalCapacity(
            OMDepartmentName _departmentName, 
            TransDate _dStartDate, 
            TransDate _dEndDate)

  Microsoft Dynamics AX 2012 (FPK)
          private Hours dimensionTotalCapacity(
            OMDepartmentName _departmentName, 
            TransDate _dStartDate, 
            TransDate _dEndDate)

Run On

Called

Parameters

_departmentNumber
Type: OMOperatingUnitNumber Extended Data Type
The department the worker belongs.
_dStartDate
Type: TransDate Extended Data Type
The start date in the transaction range for fetching records in PSASchedEmplReservation.
_dEndDate
Type: TransDate Extended Data Type
The to date in the transaction range for fetching records in PSASchedEmplReservation.
_workerLegalEntityRecId
Type: CompanyInfoRecId Extended Data Type
The legal entity the worker is employed in.

Return Value

Type: Hours Extended Data Type
Calculates the total capacity for a dimension.

Community Additions

ADD
Show: