Table of Contents

Class SfOrder

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Order

SObject Name: Order

Custom Object: False

public class SfOrder : SObject
Inheritance
SfOrder
Inherited Members

Properties

Account

ReferenceTo: Account

RelationshipName: Account

[JsonProperty(PropertyName = "account")]
[Updateable(false)]
[Createable(false)]
public SfAccount Account { get; set; }

Property Value

SfAccount

AccountId

Account ID

Name: AccountId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "accountId")]
public string AccountId { get; set; }

Property Value

string

ActivatedBy

ReferenceTo: User

RelationshipName: ActivatedBy

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

Property Value

SfUser

ActivatedById

Activated By ID

Name: ActivatedById

SF Type: reference

Nillable: True

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

Property Value

string

ActivatedDate

Activated Date

Name: ActivatedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "activatedDate")]
[Updateable(true)]
[Createable(false)]
public DateTimeOffset? ActivatedDate { get; set; }

Property Value

DateTimeOffset?

BillToContact

ReferenceTo: Contact

RelationshipName: BillToContact

[JsonProperty(PropertyName = "billToContact")]
[Updateable(false)]
[Createable(false)]
public SfContact BillToContact { get; set; }

Property Value

SfContact

BillToContactId

Bill To Contact ID

Name: BillToContactId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "billToContactId")]
public string BillToContactId { get; set; }

Property Value

string

BillingAddress

Billing Address

Name: BillingAddress

SF Type: address

Nillable: True

[JsonProperty(PropertyName = "billingAddress")]
[Updateable(false)]
[Createable(false)]
public Address BillingAddress { get; set; }

Property Value

Address

BillingCity

Billing City

Name: BillingCity

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "billingCity")]
public string BillingCity { get; set; }

Property Value

string

BillingCountry

Billing Country

Name: BillingCountry

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "billingCountry")]
public string BillingCountry { get; set; }

Property Value

string

BillingGeocodeAccuracy

Billing Geocode Accuracy

Name: BillingGeocodeAccuracy

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "billingGeocodeAccuracy")]
public string BillingGeocodeAccuracy { get; set; }

Property Value

string

BillingLatitude

Billing Latitude

Name: BillingLatitude

SF Type: double

Nillable: True

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

Property Value

double?

BillingLongitude

Billing Longitude

Name: BillingLongitude

SF Type: double

Nillable: True

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

Property Value

double?

BillingPostalCode

Billing Zip/Postal Code

Name: BillingPostalCode

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "billingPostalCode")]
public string BillingPostalCode { get; set; }

Property Value

string

BillingState

Billing State/Province

Name: BillingState

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "billingState")]
public string BillingState { get; set; }

Property Value

string

BillingStreet

Billing Street

Name: BillingStreet

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "billingStreet")]
public string BillingStreet { get; set; }

Property Value

string

CompanyAuthorizedBy

ReferenceTo: User

RelationshipName: CompanyAuthorizedBy

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

Property Value

SfUser

CompanyAuthorizedById

Company Authorized By ID

Name: CompanyAuthorizedById

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "companyAuthorizedById")]
public string CompanyAuthorizedById { get; set; }

Property Value

string

CompanyAuthorizedDate

Company Authorized Date

Name: CompanyAuthorizedDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

Contract

ReferenceTo: Contract

RelationshipName: Contract

[JsonProperty(PropertyName = "contract")]
[Updateable(false)]
[Createable(false)]
public SfContract Contract { get; set; }

Property Value

SfContract

ContractId

Contract ID

Name: ContractId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "contractId")]
public string ContractId { get; set; }

Property Value

string

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?

CustomerAuthorizedBy

ReferenceTo: Contact

RelationshipName: CustomerAuthorizedBy

[JsonProperty(PropertyName = "customerAuthorizedBy")]
[Updateable(false)]
[Createable(false)]
public SfContact CustomerAuthorizedBy { get; set; }

Property Value

SfContact

CustomerAuthorizedById

Customer Authorized By ID

Name: CustomerAuthorizedById

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "customerAuthorizedById")]
public string CustomerAuthorizedById { get; set; }

Property Value

string

CustomerAuthorizedDate

Customer Authorized Date

Name: CustomerAuthorizedDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

Description

Description

Name: Description

SF Type: textarea

Nillable: True

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

Property Value

string

EffectiveDate

Order Start Date

Name: EffectiveDate

SF Type: date

Nillable: False

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

Property Value

DateTime?

EndDate

Order End Date

Name: EndDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

Id

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

IsReductionOrder

Reduction Order

Name: IsReductionOrder

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isReductionOrder")]
[Updateable(false)]
[Createable(true)]
public bool? IsReductionOrder { 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

Order Name

Name: Name

SF Type: string

Nillable: True

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

Property Value

string

OrderNumber

Order Number

Name: OrderNumber

SF Type: string

AutoNumber field

Nillable: False

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

Property Value

string

OrderReferenceNumber

Order Reference Number

Name: OrderReferenceNumber

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "orderReferenceNumber")]
public string OrderReferenceNumber { get; set; }

Property Value

string

OriginalOrder

ReferenceTo: Order

RelationshipName: OriginalOrder

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

Property Value

SfOrder

OriginalOrderId

Order ID

Name: OriginalOrderId

SF Type: reference

Nillable: True

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

Property Value

string

OwnerId

Owner ID

Name: OwnerId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }

Property Value

string

PoDate

PO Date

Name: PoDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

PoNumber

PO Number

Name: PoNumber

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "poNumber")]
public string PoNumber { get; set; }

Property Value

string

Pricebook2

ReferenceTo: Pricebook2

RelationshipName: Pricebook2

[JsonProperty(PropertyName = "pricebook2")]
[Updateable(false)]
[Createable(false)]
public SfPricebook2 Pricebook2 { get; set; }

Property Value

SfPricebook2

Pricebook2Id

Price Book ID

Name: Pricebook2Id

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "pricebook2Id")]
public string Pricebook2Id { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

ShipToContact

ReferenceTo: Contact

RelationshipName: ShipToContact

[JsonProperty(PropertyName = "shipToContact")]
[Updateable(false)]
[Createable(false)]
public SfContact ShipToContact { get; set; }

Property Value

SfContact

ShipToContactId

Ship To Contact ID

Name: ShipToContactId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "shipToContactId")]
public string ShipToContactId { get; set; }

Property Value

string

ShippingAddress

Shipping Address

Name: ShippingAddress

SF Type: address

Nillable: True

[JsonProperty(PropertyName = "shippingAddress")]
[Updateable(false)]
[Createable(false)]
public Address ShippingAddress { get; set; }

Property Value

Address

ShippingCity

Shipping City

Name: ShippingCity

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "shippingCity")]
public string ShippingCity { get; set; }

Property Value

string

ShippingCountry

Shipping Country

Name: ShippingCountry

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "shippingCountry")]
public string ShippingCountry { get; set; }

Property Value

string

ShippingGeocodeAccuracy

Shipping Geocode Accuracy

Name: ShippingGeocodeAccuracy

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "shippingGeocodeAccuracy")]
public string ShippingGeocodeAccuracy { get; set; }

Property Value

string

ShippingLatitude

Shipping Latitude

Name: ShippingLatitude

SF Type: double

Nillable: True

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

Property Value

double?

ShippingLongitude

Shipping Longitude

Name: ShippingLongitude

SF Type: double

Nillable: True

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

Property Value

double?

ShippingPostalCode

Shipping Zip/Postal Code

Name: ShippingPostalCode

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "shippingPostalCode")]
public string ShippingPostalCode { get; set; }

Property Value

string

ShippingState

Shipping State/Province

Name: ShippingState

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "shippingState")]
public string ShippingState { get; set; }

Property Value

string

ShippingStreet

Shipping Street

Name: ShippingStreet

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "shippingStreet")]
public string ShippingStreet { get; set; }

Property Value

string

Status

Status

Name: Status

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "status")]
public string Status { get; set; }

Property Value

string

StatusCode

Status Category

Name: StatusCode

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "statusCode")]
[Updateable(true)]
[Createable(false)]
public string StatusCode { 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?

TotalAmount

Order Amount

Name: TotalAmount

SF Type: currency

Nillable: False

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

Property Value

decimal?

Type

Order Type

Name: Type

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "type")]
public string Type { get; set; }

Property Value

string