Managing Resource Overtimes

The Resource class exposes a number of properties for managing resource overtime:

Working with Resource Overtimes

To see overtime cost, overtime rate and overtime work in Microsoft Project:

  1. On the Resource sheet, select the Insert menu, and then select Column.
  2. Add the columns.

Getting Resource Overtimes in Aspose.Tasks

The following example shows how to get resource overtimes using Aspose.Tasks.

 1Project project = new Project("New Project.mpp");
 2
 3// Display overtime related parameters for all resources
 4foreach (Resource res in project.Resources)
 5{
 6    if (res.Get(Rsc.Name) != null)
 7    {
 8        Console.WriteLine(res.Get(Rsc.OvertimeCost));
 9        Console.WriteLine(res.Get(Rsc.OvertimeWork).ToString());
10        Console.WriteLine(res.Get(Rsc.OvertimeRateFormat).ToString());
11    }
12}
Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.