Table of Contents

Class SfOrderItem

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Order Product

SObject Name: OrderItem

Custom Object: False

public class SfOrderItem : SObject
Inheritance
SfOrderItem
Inherited Members

Properties

AvailableQuantity

Available Quantity

Name: AvailableQuantity

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "availableQuantity")]
[Updateable(false)]
[Createable(false)]
public double? AvailableQuantity { get; set; }

Property Value

double?

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

EndDate

End Date

Name: EndDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

Id

Order Product 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?

ListPrice

List Price

Name: ListPrice

SF Type: currency

Nillable: True

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

Property Value

decimal?

Order

ReferenceTo: Order

RelationshipName: Order

[JsonProperty(PropertyName = "order")]
[Updateable(false)]
[Createable(false)]
public SfOrder Order { get; set; }

Property Value

SfOrder

OrderId

Order ID

Name: OrderId

SF Type: reference

Nillable: False

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

Property Value

string

OrderItemNumber

Order Product Number

Name: OrderItemNumber

SF Type: string

AutoNumber field

Nillable: False

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

Property Value

string

OriginalOrderItem

ReferenceTo: OrderItem

RelationshipName: OriginalOrderItem

[JsonProperty(PropertyName = "originalOrderItem")]
[Updateable(false)]
[Createable(false)]
public SfOrderItem OriginalOrderItem { get; set; }

Property Value

SfOrderItem

OriginalOrderItemId

Original Order Item ID

Name: OriginalOrderItemId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "originalOrderItemId")]
[Updateable(false)]
[Createable(true)]
public string OriginalOrderItemId { 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: False

[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

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

Start Date

Name: ServiceDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

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")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalPrice { get; set; }

Property Value

decimal?

UnitPrice

Unit Price

Name: UnitPrice

SF Type: currency

Nillable: True

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

Property Value

decimal?