PSAResourceSchedulingBL.insertCalendarHeader Method [AX 2012]

This method is used to calculate capacity, commitment and remaining of the worker.

NoteNote

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


  Microsoft Dynamics AX 2012 R3
          public void insertCalendarHeader(
            boolean _ignoreCalender, 
           [smmActivityNumber _activityNumber, 
            ProjId _projId, 
            QuotationId _quotationId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void insertCalendarHeader(
            boolean _ignoreCalender, 
           [smmActivityNumber _activityNumber, 
            ProjId _projId, 
            QuotationId _quotationId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void insertCalendarHeader(
            ProjWorkerRecId _projWorkerRecId, 
            CalendarId _sEmplCalendar, 
            TransDate dTrans)

  Microsoft Dynamics AX 2012 (FPK)
          public void insertCalendarHeader(
            ProjWorkerRecId _projWorkerRecId, 
            CalendarId _sEmplCalendar, 
            TransDate dTrans)

Run On

Server

Parameters

_ignoreCalender
Type: boolean
true if the employee's work calendar should be ignored; otherwise, false.
_activityNumber
Type: smmActivityNumber Extended Data Type
The current activity number.
_projId
Type: ProjId Extended Data Type
The current project ID.
_quotationId
Type: QuotationId Extended Data Type
The current quotation ID.

ExceptionCondition
Error

The calendar header is selected.

Community Additions

ADD
Show: