Order
Represents an order associated with a contract or an account.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see Order in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccountId | Account ID | reference | 18 | |||
ActivatedById | Activated By ID | reference | 18 | |||
ActivatedDate | Activated Date | datetime | ||||
AdjustmentDistributionLogic | Adjustment Distribution Logic | picklist | 40 | |||
AppliedDiscount | Applied Discount | percent | 12 | 2 | ||
AppliedDiscountAmount | Applied Discount Amount | currency | 18 | 2 | ||
BillToContactId | Bill To Contact ID | reference | 18 | |||
BillingAddress | Billing Address | address | ||||
BillingCity | Billing City | string | 40 | |||
BillingCountry | Billing Country | string | 80 | |||
BillingEmailAddress | Billing Email Address | 80 | ||||
BillingGeocodeAccuracy | Billing Geocode Accuracy | picklist | 40 | |||
BillingLatitude | Billing Latitude | double | 18 | 15 | ||
BillingLongitude | Billing Longitude | double | 18 | 15 | ||
BillingPhoneNumber | Billing Phone Number | phone | 40 | |||
BillingPostalCode | Billing Zip/Postal Code | string | 20 | |||
BillingState | Billing State/Province | string | 80 | |||
BillingStreet | Billing Street | textarea | 255 | |||
CalculationStatus | Calculation Status | picklist | 40 | |||
CompanyAuthorizedById | Company Authorized By ID | reference | 18 | |||
CompanyAuthorizedDate | Company Authorized Date | date | ||||
ContractId | Contract ID | reference | 18 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CurrencyIsoCode | Currency ISO Code | picklist | 3 | |||
CustomerAuthorizedById | Customer Authorized By ID | reference | 18 | |||
CustomerAuthorizedDate | Customer Authorized Date | date | ||||
Description | Description | textarea | 32000 | |||
DiscountPercent | Discount Percent | percent | 3 | 2 | ||
EffectiveDate | Order Start Date | date | ||||
EndDate | Order End Date | date | ||||
FulfillmentPlanId | Fulfillment Plan ID | reference | 18 | |||
GrandTotalAmount | Total with Tax | currency | 18 | 2 | ||
Id | Order ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsLargeDeal | Large Deal | boolean | ||||
IsReductionOrder | Reduction Order | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastPricedDate | Last Priced Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
LegalEntityId | Legal Entity ID | reference | 18 | |||
Name | Order Name | string | 80 | |||
OrchestrationSbmsStatus | Orchestration Submission Status | picklist | 40 | |||
OrderManagementReferenceIdentifier | Order Management Reference Identifier | string | 80 | |||
OrderNumber | Order Number | string | 30 | |||
OrderReferenceNumber | Order Reference Number | string | 80 | |||
OrderedDate | Ordered Date | datetime | ||||
OriginalActionType | Original Action Type | picklist | 40 | |||
OriginalOrderId | Order ID | reference | 18 | |||
OwnerId | Owner ID | reference | 18 | |||
PaymentTermId | Payment Term ID | reference | 18 | |||
PoDate | PO Date | date | ||||
PoNumber | PO Number | string | 80 | |||
Pricebook2Id | Price Book ID | reference | 18 | |||
PurchaseOrderId | Purchase Order ID | reference | 18 | |||
QuoteId | Quote ID | reference | 18 | |||
RelatedOrderId | Order ID | reference | 18 | |||
RelatedOrderType | Related Order Type | picklist | 40 | |||
SalesChannelId | Sales Channel ID | reference | 18 | |||
SalesStoreId | Sales Store ID | reference | 18 | |||
SalesTransactionTypeId | Sales Transaction Type ID | reference | 18 | |||
ShipToContactId | Ship To Contact ID | reference | 18 | |||
ShippingAddress | Shipping Address | address | ||||
ShippingCity | Shipping City | string | 40 | |||
ShippingCountry | Shipping Country | string | 80 | |||
ShippingGeocodeAccuracy | Shipping Geocode Accuracy | picklist | 40 | |||
ShippingLatitude | Shipping Latitude | double | 18 | 15 | ||
ShippingLongitude | Shipping Longitude | double | 18 | 15 | ||
ShippingPostalCode | Shipping Zip/Postal Code | string | 20 | |||
ShippingState | Shipping State/Province | string | 80 | |||
ShippingStreet | Shipping Street | textarea | 255 | |||
Status | Status | picklist | 100 | |||
StatusCode | Status Category | picklist | 40 | |||
SystemModstamp | System Modstamp | datetime | ||||
TaxLocaleType | Tax Locale Type | picklist | 40 | |||
TotalAdjDeliveryAmtWithTax | Total Adjusted Delivery Amount with Tax | currency | 18 | 2 | ||
TotalAdjProductAmtWithTax | Total Adjusted Product Amount with Tax | currency | 18 | 2 | ||
TotalAdjustedDeliveryAmount | Total Adjusted Delivery Amount | currency | 18 | 2 | ||
TotalAdjustedDeliveryTaxAmount | Total Adjusted Delivery Tax | currency | 18 | 2 | ||
TotalAdjustedProductAmount | Total Adjusted Product Amount | currency | 18 | 2 | ||
TotalAdjustedProductTaxAmount | Total Adjusted Product Tax | currency | 18 | 2 | ||
TotalAmount | Order Amount | currency | 18 | 2 | ||
TotalAmountOverride | Total Amount Override | currency | 18 | 2 | ||
TotalDeliveryAdjDistAmount | Total Delivery Distributed Adjustments | currency | 18 | 2 | ||
TotalDeliveryAdjDistAmtWithTax | Total Delivery Distributed Adjustments with Tax | currency | 18 | 2 | ||
TotalDeliveryAdjDistTaxAmount | Total Delivery Distributed Adjustment Tax | currency | 18 | 2 | ||
TotalProductAdjDistAmount | Total Product Distributed Adjustments | currency | 18 | 2 | ||
TotalProductAdjDistAmtWithTax | Total Product Distributed Adjustments with Tax | currency | 18 | 2 | ||
TotalProductAdjDistTaxAmount | Total Product Distributed Adjustment Tax | currency | 18 | 2 | ||
TotalRoundedLineAmount | Product Subtotal | currency | 18 | 2 | ||
TotalTaxAmount | Total Tax | currency | 18 | 2 | ||
TransactionType | Transaction Type | picklist | 40 | |||
Type | Order Type | picklist | 255 | |||
ValidationResult | Validation Result | picklist | 40 |
Feed tracking for Order.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
BestCommentId | Best Comment ID | reference | 18 | |||
Body | Body | textarea | 10000 | |||
CommentCount | Comment Count | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Id | Feed Item ID | id | 18 | |||
InsertedById | InsertedBy ID | reference | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsRichText | Is Rich Text | boolean | ||||
LastModifiedDate | Last Modified Date | datetime | ||||
LikeCount | Like Count | int | 9 | |||
LinkUrl | Link URL | url | 1000 | |||
NetworkScope | Network Scope | picklist | 40 | |||
ParentId | Parent ID | reference | 18 | |||
RelatedRecordId | Related Record ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 | |||
Type | Feed Item Type | picklist | 40 | |||
Visibility | Visibility | picklist | 40 |
Represents historical information about changes that have been made to the standard fields of the associated order, or to any custom fields with history tracking enabled.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see OrderHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Order History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
OrderId | Order ID | reference | 18 |
Represents a sharing entry on an Order. This object is available in API version 48.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see OrderShare in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
Id | Order Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
OrderAccessLevel | Order Access Level | picklist | 40 | |||
OrderId | Order ID | reference | 18 | |||
RowCause | Apex Sharing Reason ID | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |