AccrueAt enumeration

Office 2013 and later

The cost accrual mode specifies how and when resource costs are to be charged to the cost of a task.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

public enum AccrueAt

Member nameDescription
NotSpecifiedValue=0. The cost accrual mode is not specified. This constant is used in place of a DBNull value.
StartValue=1. Costs are accrued as soon as the task assignment starts. A task assignment begins when a date is entered in the ActualStart field.
EndValue=2. Costs are not accrued until the remaining work is zero.
ProratedValue=3. Costs accrue as work is scheduled to occur and as actual work is reported. This is the default value.

The AccrueAt enumeration in the CSOM is equivalent to Resource.AccrueAt in the Microsoft.Office.Project.Server.Library namespace. The AccrueAt constants can be used with the DraftProjectResource.CostAccrual property and the PublishedProjectResource.CostAccrual property.