Table of Contents

Class SfOpportunityLineItem

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Opportunity Product

SObject Name: OpportunityLineItem

Custom Object: False

public class SfOpportunityLineItem : SObject
Inheritance
SfOpportunityLineItem
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

Line Description

Name: Description

SF Type: string

Nillable: True

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

Property Value

string

Id

Line Item ID

Name: Id

SF Type: id

Nillable: False

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

Property Value

string

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?

ListPrice

List Price

Name: ListPrice

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "listPrice")]
[Updateable(false)]
[Createable(false)]
public decimal? ListPrice { get; set; }

Property Value

decimal?

Name

Opportunity Product Name

Name: Name

SF Type: string

Nillable: True

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

Property Value

string

Opportunity

ReferenceTo: Opportunity

RelationshipName: Opportunity

[JsonProperty(PropertyName = "opportunity")]
[Updateable(false)]
[Createable(false)]
public SfOpportunity Opportunity { get; set; }

Property Value

SfOpportunity

OpportunityId

Opportunity ID

Name: OpportunityId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "opportunityId")]
[Updateable(false)]
[Createable(true)]
public string OpportunityId { get; set; }

Property Value

string

PricebookEntry

ReferenceTo: PricebookEntry

RelationshipName: PricebookEntry

[JsonProperty(PropertyName = "pricebookEntry")]
[Updateable(false)]
[Createable(false)]
public SfPricebookEntry PricebookEntry { get; set; }

Property Value

SfPricebookEntry

PricebookEntryId

Price Book Entry ID

Name: PricebookEntryId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "pricebookEntryId")]
[Updateable(false)]
[Createable(true)]
public string PricebookEntryId { get; set; }

Property Value

string

Product2

ReferenceTo: Product2

RelationshipName: Product2

[JsonProperty(PropertyName = "product2")]
[Updateable(false)]
[Createable(false)]
public SfProduct2 Product2 { get; set; }

Property Value

SfProduct2

Product2Id

Product ID

Name: Product2Id

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "product2Id")]
[Updateable(false)]
[Createable(true)]
public string Product2Id { get; set; }

Property Value

string

ProductCode

Product Code

Name: ProductCode

SF Type: string

Nillable: True

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

Property Value

string

Quantity

Quantity

Name: Quantity

SF Type: double

Nillable: False

[JsonProperty(PropertyName = "quantity")]
public double? Quantity { get; set; }

Property Value

double?

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

ServiceDate

Date

Name: ServiceDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "serviceDate")]
public DateTime? ServiceDate { get; set; }

Property Value

DateTime?

SortOrder

Sort Order

Name: SortOrder

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "sortOrder")]
public int? SortOrder { get; set; }

Property Value

int?

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?

TotalPrice

Total Price

Name: TotalPrice

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalPrice")]
public decimal? TotalPrice { get; set; }

Property Value

decimal?

UnitPrice

Sales Price

Name: UnitPrice

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "unitPrice")]
public decimal? UnitPrice { get; set; }

Property Value

decimal?