Office 2013 and later

Integer identification number of the Cost Type assignment custom field that corresponds to the Cost Type resource custom field.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public static readonly int COST_TYPE_MD_PROP_ID_SECONDARY

Value = 255885313. Project Server adds the COST_TYPE_MD_PROP_ID_SECONDARY field value to MD_PROP_ID in an assignment custom field when a Cost Type custom field value is saved for an assignment.


When creating or editing an assignment custom field, do not specify the MD_PROP_ID property. Project Server automatically populates the MD_PROP_ID value when the custom field is created.