PS.CustomFieldCreationInformation.entityType property (ps.js)
Applies to: Project Professional 2013 | Project Server 2013
var value = PS.CustomFieldCreationInformation.get_entityType()
PS.CustomFieldCreationInformation.set_entityType(value)