This topic has not yet been rated - Rate this topic

ProjectResourceFields enumeration (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Specifies the resource fields that are available as a parameter for the getResourceFieldAsync method.

Last modified: February 26, 2014

ProjectResourceFields={
    Accrual: 0,
    ActualCost: 1,
    ActualOvertimeCost: 2,
    ActualOvertimeWork: 3,
    ActualOvertimeWorkProtected: 4,
    ActualWork: 5,
    ActualWorkProtected: 6,
    BaseCalendar: 7,
    Baseline10BudgetCost: 8,
    Baseline10BudgetWork: 9,
    Baseline10Cost: 10,
    Baseline10Work: 11,
    Baseline1BudgetCost: 12,
    Baseline1BudgetWork: 13,
    Baseline1Cost: 14,
    Baseline1Work: 15,
    Baseline2BudgetCost: 16,
    Baseline2BudgetWork: 17,
    Baseline2Cost: 18,
    Baseline2Work: 19,
    Baseline3BudgetCost: 20,
    Baseline3BudgetWork: 21,
    Baseline3Cost: 22,
    Baseline3Work: 23,
    Baseline4BudgetCost: 24,
    Baseline4BudgetWork: 25,
    Baseline4Cost: 26,
    Baseline4Work: 27,
    Baseline5BudgetCost: 28,
    Baseline5BudgetWork: 29,
    Baseline5Cost: 30,
    Baseline5Work: 31,
    Baseline6BudgetCost: 32,
    Baseline6BudgetWork: 33,
    Baseline6Cost: 34,
    Baseline6Work: 35,
    Baseline7BudgetCost: 36,
    Baseline7BudgetWork: 37,
    Baseline7Cost: 38,
    Baseline7Work: 39,
    Baseline8BudgetCost: 40,
    Baseline8BudgetWork: 41,
    Baseline8Cost: 42,
    Baseline8Work: 43,
    Baseline9BudgetCost: 44,
    Baseline9BudgetWork: 45,
    Baseline9Cost: 46,
    Baseline9Work: 47,
    BaselineBudgetCost: 48,
    BaselineBudgetWork: 49,
    BaselineCost: 50,
    BaselineWork: 51,
    BudgetCost: 52,
    BudgetWork: 53,
    ResourceCalendarGUID: 54,
    Code: 55,
    Cost1: 56,
    Cost10: 57,
    Cost2: 58,
    Cost3: 59,
    Cost4: 60,
    Cost5: 61,
    Cost6: 62,
    Cost7: 63,
    Cost8: 64,
    Cost9: 65,
    ResourceCreationDate: 66,
    Date1: 67,
    Date10: 68,
    Date2: 69,
    Date3: 70,
    Date4: 71,
    Date5: 72,
    Date6: 73,
    Date7: 74,
    Date8: 75,
    Date9: 76,
    Duration1: 77,
    Duration10: 78,
    Duration2: 79,
    Duration3: 80,
    Duration4: 81,
    Duration5: 82,
    Duration6: 83,
    Duration7: 84,
    Duration8: 85,
    Duration9: 86,
    Email: 87,
    End: 88,
    Finish1: 89,
    Finish10: 90,
    Finish2: 91,
    Finish3: 92,
    Finish4: 93,
    Finish5: 94,
    Finish6: 95,
    Finish7: 96,
    Finish8: 97,
    Finish9: 98,
    Flag10: 99,
    Flag1: 100,
    Flag11: 101,
    Flag12: 102,
    Flag13: 103,
    Flag14: 104,
    Flag15: 105,
    Flag16: 106,
    Flag17: 107,
    Flag18: 108,
    Flag19: 109,
    Flag2: 110,
    Flag20: 111,
    Flag3: 112,
    Flag4: 113,
    Flag5: 114,
    Flag6: 115,
    Flag7: 116,
    Flag8: 117,
    Flag9: 118,
    Group: 119,
    Units: 120,
    Name: 121,
    Notes: 122,
    Number1: 123,
    Number10: 124,
    Number11: 125,
    Number12: 126,
    Number13: 127,
    Number14: 128,
    Number15: 129,
    Number16: 130,
    Number17: 131,
    Number18: 132,
    Number19: 133,
    Number2: 134,
    Number20: 135,
    Number3: 136,
    Number4: 137,
    Number5: 138,
    Number6: 139,
    Number7: 140,
    Number8: 141,
    Number9: 142,
    OvertimeCost: 143,
    OvertimeRate: 144,
    OvertimeWork: 145,
    PercentWorkComplete: 146,
    CostPerUse: 147,
    Generic: 148,
    OverAllocated: 149,
    RegularWork: 150,
    RemainingCost: 151,
    RemainingOvertimeCost: 152,
    RemainingOvertimeWork: 153,
    RemainingWork: 154,
    ResourceGUID: 155,
    Cost: 156,
    Work: 157,
    Start: 158,
    Start1: 159,
    Start10: 160,
    Start2: 161,
    Start3: 162,
    Start4: 163,
    Start5: 164,
    Start6: 165,
    Start7: 166,
    Start8: 167,
    Start9: 168,
    StandardRate: 169,
    Text1: 170,
    Text10: 171,
    Text11: 172,
    Text12: 173,
    Text13: 174,
    Text14: 175,
    Text15: 176,
    Text16: 177,
    Text17: 178,
    Text18: 179,
    Text19: 180,
    Text2: 181,
    Text20: 182,
    Text21: 183,
    Text22: 184,
    Text23: 185,
    Text24: 186,
    Text25: 187,
    Text26: 188,
    Text27: 189,
    Text28: 190,
    Text29: 191,
    Text3: 192,
    Text30: 193,
    Text4: 194,
    Text5: 195,
    Text6: 196,
    Text7: 197,
    Text8: 198,
    Text9: 199
 }

For an explanation of the resource fields, see the properties of the Resource object in VBA Help.The following table describes a few of the constants in the ProjectResourceFields enumeration.

Member

Description

ActualCost

The calculated actual cost of the resource for assignments in the project.

ActualWork

The actual work that the resource has done on assignments in the project.

BaselineCost

The baseline cost for the resource, for assignments in the project.

Name

The name of the resource.

Cost

The calculated cost of the resource for assignments in the project.

ResourceGUID

The GUID of the enterprise resource, for a project that is stored in Project Server.

StandardRate

The standard rate of pay for the resource, in cost per hour.

Text1

The value of the local Text1 custom field for the resource.

Units

The percentage of work units that the resource is assigned in the project If the resource is working full-time on the project, Units = 100.

A ProjectResourceFields constant can be used as a parameter of the getResourceFieldAsync method.

Supported clients

Project Standard 2013, Project Professional 2013, and Project 2013 SP1

Library

Project-15.js

Namespace

Office

For more information about working with fields in Project, see the Available fields reference topic. In Project Help, search for Available fields.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.