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 NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
ActivatedByIdActivated By IDreference 18  
ActivatedDateActivated Datedatetime    
AdjustmentDistributionLogicAdjustment Distribution Logicpicklist 40  
AppliedDiscountApplied Discountpercent  122
AppliedDiscountAmountApplied Discount Amountcurrency  182
BillToContactIdBill To Contact IDreference 18  
BillingAddressBilling Addressaddress    
BillingCityBilling Citystring 40  
BillingCountryBilling Countrystring 80  
BillingEmailAddressBilling Email Addressemail 80  
BillingGeocodeAccuracyBilling Geocode Accuracypicklist 40  
BillingLatitudeBilling Latitudedouble  1815
BillingLongitudeBilling Longitudedouble  1815
BillingPhoneNumberBilling Phone Numberphone 40  
BillingPostalCodeBilling Zip/Postal Codestring 20  
BillingStateBilling State/Provincestring 80  
BillingStreetBilling Streettextarea 255  
CalculationStatusCalculation Statuspicklist 40  
CompanyAuthorizedByIdCompany Authorized By IDreference 18  
CompanyAuthorizedDateCompany Authorized Datedate    
ContractIdContract IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
CustomerAuthorizedByIdCustomer Authorized By IDreference 18  
CustomerAuthorizedDateCustomer Authorized Datedate    
DescriptionDescriptiontextarea 32000  
DiscountPercentDiscount Percentpercent  32
EffectiveDateOrder Start Datedate    
EndDateOrder End Datedate    
FulfillmentPlanIdFulfillment Plan IDreference 18  
GrandTotalAmountTotal with Taxcurrency  182
IdOrder IDid 18  
IsDeletedDeletedboolean    
IsLargeDealLarge Dealboolean    
IsReductionOrderReduction Orderboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastPricedDateLast Priced Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LegalEntityIdLegal Entity IDreference 18  
NameOrder Namestring 80  
OrchestrationSbmsStatusOrchestration Submission Statuspicklist 40  
OrderManagementReferenceIdentifierOrder Management Reference Identifierstring 80  
OrderNumberOrder Numberstring 30  
OrderReferenceNumberOrder Reference Numberstring 80  
OrderedDateOrdered Datedatetime    
OriginalActionTypeOriginal Action Typepicklist 40  
OriginalOrderIdOrder IDreference 18  
OwnerIdOwner IDreference 18  
PaymentTermIdPayment Term IDreference 18  
PoDatePO Datedate    
PoNumberPO Numberstring 80  
Pricebook2IdPrice Book IDreference 18  
PurchaseOrderIdPurchase Order IDreference 18  
QuoteIdQuote IDreference 18  
RelatedOrderIdOrder IDreference 18  
RelatedOrderTypeRelated Order Typepicklist 40  
SalesChannelIdSales Channel IDreference 18  
SalesStoreIdSales Store IDreference 18  
SalesTransactionTypeIdSales Transaction Type IDreference 18  
ShipToContactIdShip To Contact IDreference 18  
ShippingAddressShipping Addressaddress    
ShippingCityShipping Citystring 40  
ShippingCountryShipping Countrystring 80  
ShippingGeocodeAccuracyShipping Geocode Accuracypicklist 40  
ShippingLatitudeShipping Latitudedouble  1815
ShippingLongitudeShipping Longitudedouble  1815
ShippingPostalCodeShipping Zip/Postal Codestring 20  
ShippingStateShipping State/Provincestring 80  
ShippingStreetShipping Streettextarea 255  
StatusStatuspicklist 100  
StatusCodeStatus Categorypicklist 40  
SystemModstampSystem Modstampdatetime    
TaxLocaleTypeTax Locale Typepicklist 40  
TotalAdjDeliveryAmtWithTaxTotal Adjusted Delivery Amount with Taxcurrency  182
TotalAdjProductAmtWithTaxTotal Adjusted Product Amount with Taxcurrency  182
TotalAdjustedDeliveryAmountTotal Adjusted Delivery Amountcurrency  182
TotalAdjustedDeliveryTaxAmountTotal Adjusted Delivery Taxcurrency  182
TotalAdjustedProductAmountTotal Adjusted Product Amountcurrency  182
TotalAdjustedProductTaxAmountTotal Adjusted Product Taxcurrency  182
TotalAmountOrder Amountcurrency  182
TotalAmountOverrideTotal Amount Overridecurrency  182
TotalDeliveryAdjDistAmountTotal Delivery Distributed Adjustmentscurrency  182
TotalDeliveryAdjDistAmtWithTaxTotal Delivery Distributed Adjustments with Taxcurrency  182
TotalDeliveryAdjDistTaxAmountTotal Delivery Distributed Adjustment Taxcurrency  182
TotalProductAdjDistAmountTotal Product Distributed Adjustmentscurrency  182
TotalProductAdjDistAmtWithTaxTotal Product Distributed Adjustments with Taxcurrency  182
TotalProductAdjDistTaxAmountTotal Product Distributed Adjustment Taxcurrency  182
TotalRoundedLineAmountProduct Subtotalcurrency  182
TotalTaxAmountTotal Taxcurrency  182
TransactionTypeTransaction Typepicklist 40  
TypeOrder Typepicklist 255  
ValidationResultValidation Resultpicklist 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 NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 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 NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdOrder History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
OrderIdOrder IDreference 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 NameField LabelTypeDigitsLengthPrecisionScale
IdOrder Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
OrderAccessLevelOrder Access Levelpicklist 40  
OrderIdOrder IDreference 18  
RowCauseApex Sharing Reason IDpicklist 40  
UserOrGroupIdUser/Group IDreference 18