Table of Contents

Class SfContract

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Contract

SObject Name: Contract

Custom Object: False

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

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

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

CompanySigned

ReferenceTo: User

RelationshipName: CompanySigned

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

Property Value

SfUser

CompanySignedDate

Company Signed Date

Name: CompanySignedDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

CompanySignedId

Company Signed By ID

Name: CompanySignedId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "companySignedId")]
public string CompanySignedId { get; set; }

Property Value

string

ContractNumber

Contract Number

Name: ContractNumber

SF Type: string

AutoNumber field

Nillable: False

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

Property Value

string

ContractTerm

Contract Term

Name: ContractTerm

SF Type: int

Nillable: True

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

Property Value

int?

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?

CustomerSigned

ReferenceTo: Contact

RelationshipName: CustomerSigned

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

Property Value

SfContact

CustomerSignedDate

Customer Signed Date

Name: CustomerSignedDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

CustomerSignedId

Customer Signed By ID

Name: CustomerSignedId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "customerSignedId")]
public string CustomerSignedId { get; set; }

Property Value

string

CustomerSignedTitle

Customer Signed Title

Name: CustomerSignedTitle

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "customerSignedTitle")]
public string CustomerSignedTitle { get; set; }

Property Value

string

Description

Description

Name: Description

SF Type: textarea

Nillable: True

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

Property Value

string

EndDate

Contract End Date

Name: EndDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

Id

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

LastActivityDate

Last Activity

Name: LastActivityDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "lastActivityDate")]
[Updateable(false)]
[Createable(false)]
public DateTime? LastActivityDate { get; set; }

Property Value

DateTime?

LastApprovedDate

Last Approved Date

Name: LastApprovedDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

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?

Owner

ReferenceTo: User

RelationshipName: Owner

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

Property Value

SfUser

OwnerExpirationNotice

Owner Expiration Notice

Name: OwnerExpirationNotice

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "ownerExpirationNotice")]
public string OwnerExpirationNotice { 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

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

SpecialTerms

Special Terms

Name: SpecialTerms

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "specialTerms")]
public string SpecialTerms { get; set; }

Property Value

string

StartDate

Contract Start Date

Name: StartDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

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(false)]
[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?