---
schema_version: "1"
id: b216912f2b950c4c2791daa2a919dfbc82270bedb2e9aed58ae16f6f35b6bba5
title: SfdcPartnerOrder
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_sfdcpartnerorder.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_sfdcpartnerorder.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5f1a2fbfa7fb04c34a0429a18aced6f64350efe46ed33e789a3fa9eb4fa2e5d5
description: Represents the order record generated after a customer accepts an offer and initiates a purchase. Orders are viewable from the Go-To-Market App in the Partner Business Org (PBO). This object is available in API version 64.0 and later.
---
# SfdcPartnerOrder

Represents the order record generated after a customer accepts an offer and initiates a purchase. Orders are viewable from the Go-To-Market App in the Partner Business Org (PBO). This object is available in API version 64.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search()

## Fields

| Field | Details |
| --- | --- |
| AcceptedDate | 
Type

date

Properties

Filter, Group, Nillable, Sort

Description

The date the offer is accepted, which triggers order creation.



 |
| BillingFrequency | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The frequency with which the customer is billed for their purchases.

Possible values are:

- 1: Monthly
- 3: Quarterly
- 6: Bi-annually
- 12: Annually





 |
| ContractTerm | 

Type

int

Properties

Filter, Group, Sort

Description

The duration of the contract between the customer and the partner in months. The fixed value is 12.



 |
| CustBillingAddress | 

Type

address

Properties

Filter, Nillable

Description

The billing address of the customer.



 |
| CustBillingCity | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The billing city of the customer.



 |
| CustBillingCountry | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The billing country of the customer.



 |
| CustBillingGeocodeAccuracy | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Accuracy level of geocoded billing address.

Possible values are:

- Address
- Block
- City
- County
- ExtendedZip
- NearAddress
- Neighborhood
- State
- Street
- Unknown
- Zip





 |
| CustBillingLatitude | 

Type

double

Properties

Filter, Nillable, Sort

Description

The latitude geo-coordinate for customer billing address.



 |
| CustBillingLongitude | 

Type

double

Properties

Filter, Nillable, Sort

Description

The longitude geo-coordinate for customer billing address .



 |
| CustBillingPostalCode | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The postal/zip code of the customer billing address.



 |
| CustBillingState | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The state of the customer billing address.



 |
| CustBillingStreet | 

Type

textarea

Properties

Filter, Group, Nillable, Sort

Description

The billing street of the customer.



 |
| CustShippingAddress | 

Type

address

Properties

Filter, Nillable

Description

Compound field for the customer shipping address.



 |
| CustShippingCity | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The shipping city of the customer.



 |
| CustShippingCountry | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The shipping country of the customer.



 |
| CustShippingGeocodeAccuracy | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Accuracy level of the geocoded shipping address.

Possible values are:

- Address
- Block
- City
- County
- ExtendedZip
- NearAddress
- Neighborhood
- State
- Street
- Unknown
- Zip





 |
| CustShippingLatitude | 

Type

double

Properties

Filter, Nillable, Sort

Description

The latitude geo-coordinate for customer shipping address.



 |
| CustShippingLongitude | 

Type

double

Properties

Filter, Nillable, Sort

Description

The longitude geo-coordinate for customer shipping address.



 |
| CustShippingPostalCode | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The postal/zip code of the shipping address.



 |
| CustShippingState | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The state of the customer shipping address.



 |
| CustShippingStreet | 

Type

textarea

Properties

Filter, Group, Nillable, Sort

Description

The street of the customer shipping address.



 |
| CustomerBillingEmailAddress | 

Type

email

Properties

Filter, Group, Nillable, Sort

Description

The default email address of the customer who receives billing details, used to seed new offers. This is typically someone in the accounting department.



 |
| CustomerName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Derived field. Returns the company name, which is stored in the Name field from the related SfdcCustomerForPartner record.



 |
| CustomerPaymentTerms | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

The terms of payment for the customer. Indicates that the customer has 30 days from the invoice date to pay for services. Provides invoice due date.

Possible values are:

- NET 30

The default value is NET 30.



 |
| CustomerPurchaseOrderNumber | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The purchase order number that is internal to customer's organization and provided during private offer process. This value is added to the customer invoice.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate), but not viewed it.



 |
| LicenseProvisionedStatus | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

The status of the license provisioning process, indicating whether a license has been provisioned.

Possible values are:

- Error
- Expired
- New
- Pending
- Provisioned

The default value is New.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The name of the order.



 |
| OfferAcceptedBy | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The first and last name of the user who accepted the offer.



 |
| OrderNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, Sort

Description

The unique ID associated with the order.



 |
| OrderPrebillDays | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Represents the number of days, before the service date, that an invoice is sent to a customer. Harcoded value is 1.



 |
| OrderType | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

The type of order, which indicates whether an order is net new or an addition to a previous order.

Possible values are:

- Add-On
- Initial

The default value is Initial.



 |
| OriginatingOfferId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the partner offer that was accepted to originate this order.

This field is a relationship field.

Relationship Name

OriginatingOffer

Refers To

SfdcPartnerOffer



 |
| ParentOrderId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The associated initial order. Contains a value for non-initial order types, like add-on and reduction.

This field is a relationship field.

Relationship Name

ParentOrder

Refers To

SfdcPartnerOrder



 |
| PartnerOrderStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The status of the order.

Possible values are:

- Activated
- Error
- Expired
- New
- Processing





 |
| PartnerPurchaseOrderNumber | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Represents the purchase order number provided during the private offer creation process. This value is available to Salesforce and can be used by the partner to reconcile transactions, but isn't shared with the customer.



 |
| PaymentMethod | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

The possible payment methods available to the customer.

Possible values are:

- ACH

The default value is ACH.



 |
| SentByUserId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the user who sent the partner order.

This field is a relationship field.

Relationship Name

SentByUser

Refers To

User



 |
| ServiceEndDate | 

Type

date

Properties

Filter, Group, Nillable, Sort

Description

Derived field. The date when the contract terms end. Service end date is calculated as ServiceStartDate + ContractTerm in months.



 |
| ServiceStartDate | 

Type

date

Properties

Filter, Group, Sort

Description

The date and time when the order is activated, if it is converted from an offer.



 |
| ServiceTerm | 

Type

double

Properties

Filter, Nillable, Sort

Description

Period between Service Start date and Service End date.



 |
| SfdcCustomerForPartnerId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The customer associated with the order.

This field is a relationship field.

Relationship Name

SfdcCustomerForPartner

Refers To

SfdcCustomerForPartner



 |
| SfdcPartnerTermSetId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

Partner term set associated with the offer.

This field is a relationship field.

Relationship Name

SfdcPartnerTermSet

Refers To

SfdcPartnerTermSet



 |
| SubTotal | 

Type

currency

Properties

Filter, Nillable, Sort

Description

Derived field. Formula summing all offer item line item totals and the contract term. Excludes taxes.



 |
| TermsAndConditions | 

Type

textarea

Properties

Nillable

Description

The terms and conditions set forth by the partner.



 |
| TotalProducts | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Derived field. The number of individual products in the order.

This field is a calculated field.



 |