Table of Contents

Class SfProduct2

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Product

SObject Name: Product2

Custom Object: False

public class SfProduct2 : SObject
Inheritance
SfProduct2
Inherited Members

Properties

CreatedBy

ReferenceTo: User

RelationshipName: CreatedBy

[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }

Property Value

SfUser

CreatedById

Created By ID

Name: CreatedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "createdById")]
[Updateable(false)]
[Createable(false)]
public string CreatedById { get; set; }

Property Value

string

CreatedDate

Created Date

Name: CreatedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }

Property Value

DateTimeOffset?

Description

Product Description

Name: Description

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

Property Value

string

DisplayUrl

Display URL

Name: DisplayUrl

SF Type: url

Nillable: True

[JsonProperty(PropertyName = "displayUrl")]
public string DisplayUrl { get; set; }

Property Value

string

ExternalDataSourceId

External Data Source ID

Name: ExternalDataSourceId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "externalDataSourceId")]
public string ExternalDataSourceId { get; set; }

Property Value

string

ExternalId

External ID

Name: ExternalId

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "externalId")]
public string ExternalId { get; set; }

Property Value

string

Family

Product Family

Name: Family

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "family")]
public string Family { get; set; }

Property Value

string

Id

Product ID

Name: Id

SF Type: id

Nillable: False

[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }

Property Value

string

IsActive

Active

Name: IsActive

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isActive")]
public bool? IsActive { get; set; }

Property Value

bool?

IsArchived

Archived

Name: IsArchived

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isArchived")]
[Updateable(false)]
[Createable(false)]
public bool? IsArchived { get; set; }

Property Value

bool?

IsDeleted

Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isDeleted")]
[Updateable(false)]
[Createable(false)]
public bool? IsDeleted { get; set; }

Property Value

bool?

LastModifiedBy

ReferenceTo: User

RelationshipName: LastModifiedBy

[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false)]
[Createable(false)]
public SfUser LastModifiedBy { get; set; }

Property Value

SfUser

LastModifiedById

Last Modified By ID

Name: LastModifiedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "lastModifiedById")]
[Updateable(false)]
[Createable(false)]
public string LastModifiedById { get; set; }

Property Value

string

LastModifiedDate

Last Modified Date

Name: LastModifiedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "lastModifiedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastModifiedDate { get; set; }

Property Value

DateTimeOffset?

LastReferencedDate

Last Referenced Date

Name: LastReferencedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastReferencedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastReferencedDate { get; set; }

Property Value

DateTimeOffset?

LastViewedDate

Last Viewed Date

Name: LastViewedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastViewedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastViewedDate { get; set; }

Property Value

DateTimeOffset?

Name

Product Name

Name: Name

SF Type: string

Nillable: False

[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

Property Value

string

ProductCode

Product Code

Name: ProductCode

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "productCode")]
public string ProductCode { get; set; }

Property Value

string

QuantityUnitOfMeasure

Quantity Unit Of Measure

Name: QuantityUnitOfMeasure

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "quantityUnitOfMeasure")]
public string QuantityUnitOfMeasure { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

StockKeepingUnit

Product SKU

Name: StockKeepingUnit

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "stockKeepingUnit")]
public string StockKeepingUnit { get; set; }

Property Value

string

SystemModstamp

System Modstamp

Name: SystemModstamp

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }

Property Value

DateTimeOffset?