AccountId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The account associated with the return order.
- This is a relationship field.
- Relationship Name
- Account
- Relationship Type
- Lookup
- Refers To
- Account
|
CaseId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The case associated with the return order.
- This is a relationship field.
- Relationship Name
- Case
- Relationship Type
- Lookup
- Refers To
- Case
|
ContactId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The contact associated with the return order.
- This is a relationship field.
- Relationship Name
- Contact
- Relationship Type
- Lookup
- Refers To
- Contact
|
CurrencyIsoCode
|
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Nillable,
Restricted picklist, Sort, Update
- Description
- Available only for orgs with the multicurrency feature
enabled. ISO code for the currency of the OrderSummary
associated with the ReturnOrder.
- Possible values are:
-
DKK—Danish Krone
-
EUR—Euro
-
GBP—British Pound
-
USD—U.S. Dollar
- The default value is USD.
- This field is available in API version 49.0 and
later.
|
Description |
- Type
- textarea
- Properties
- Create, Nillable, Update
- Description
- Notes or context about the return order.
|
DestinationLocationId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The location where the items are being returned to. For
example, if the return order tracks the return of
products from a technician’s van to a warehouse, the
warehouse is the destination location.
- This is a relationship field.
- Relationship Name
- DestinationLocation
- Relationship Type
- Lookup
- Refers To
- Location
|
ExpectedArrivalDate |
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- The date when the items are expected to arrive at the
destination location.
|
ExpirationDate |
- Type
- dateTime
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Authorizations can’t be captured after their expiration
dates.
- This field is available in API version 50.0 and
later.
|
GrandTotalAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total, including adjustments and tax, of the products,
fees, and delivery charges on the return order. This
includes all return order line items associated with the
return order. This amount is equal to TotalAmount +
TotalTaxAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
LastReferencedDate |
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The date when the return order was last modified. Its
label in the user interface is Last Modified
Date.
|
LastViewedDate |
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The date when the return order was last viewed.
|
LifeCycleType |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- Specifies whether the order summary is managed by
Salesforce Order Management (MANAGED) or by an external
system (UNMANAGED). An unmanaged order summary is stored
in Salesforce for reference purposes.
-
- Some Order Management APIs reject input records
that are associated with unmanaged order
summaries.
- Order Management does not update financial
bucket fields on some records that are associated
with unmanaged order summaries.
- A user with the EditUnmanagedOrderSummaries or
B2BCommerceIntegrator permission can edit certain
fields on objects related to unmanaged order
summaries that are normally only accessible via
APIs.
- Possible values are:
-
MANAGED—Managed
-
UNMANAGED—Unmanaged
- This field is available in API version 50.0 and
later.
|
OrderId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The order associated with the return order. When you
associated a return order with an order, you can
associate the return order’s line items with order
products.
- This is a relationship field.
- Relationship Name
- Order
- Relationship Type
- Lookup
- Refers To
- Order
|
OrderSummaryId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort
- Description
- ID of the order summary associated with the return
order.
- This field is available in API version 50.0 and
later.
|
OwnerId |
- Type
- reference
- Properties
- Create, Defaulted on create, Filter, Group, Sort,
Update
- Description
- The owner of the return order.
- This is a polymorphic relationship field.
- Relationship Name
- Owner
- Relationship Type
- Lookup
- Refers To
- Group, User
|
ProductRequestId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The product request associated with the return order.
When you associated a return order with a product
request, you can associate the return order’s line items
with the product request’s line items.
A return order
might be related to a product request if the return
order tracks the return of unused products or
products to be repaired or replaced. For example, a
technician creates a product request for three
motors to prepare for a field visit. If the
technician finds that only two motors are needed,
they can create a return order to return the third
to the original location, and list the product
request in this field.
- This is a relationship field.
- Relationship Name
- ProductRequest
- Relationship Type
- Lookup
- Refers To
- ProductRequest
- This field is available only if Field Service or Health
Cloud is enabled.
|
ProductServiceCampaignId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The product service campaign associated with the return
order
- This field is available only if Field Service is
enabled.
|
ReturnOrderNumber |
- Type
- string
- Properties
- Autonumber, Defaulted on create, Filter, idLookup,
Sort
- Description
- (Read only) Auto-generated number identifying the return
order.
|
ReturnedById |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- ID of the user returning the items.
- This is a relationship field.
- Relationship Name
- ReturnedBy
- Relationship Type
- Lookup
- Refers To
- User
|
ShipFromAddress |
- Type
- address
- Properties
- Filter, Nillable
- Description
- The return shipping address. This address tracks the
location of the items at the start of the return or
repair. For example, if a customer is returning an item,
the Ship From address is the customer’s address.
|
ShipFromCity |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The city of the return shipping address. This address
tracks the location of the items at the start of the
return or repair. For example, if a customer is
returning an item, the Ship From address is the
customer’s address.
|
ShipFromCountry |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The country of the return shipping address. This address
tracks the location of the items at the start of the
return or repair. For example, if a customer is
returning an item, the Ship From address is the
customer’s address.
|
ShipFromGeocodeAccuracy |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist,
Sort, Update
- Description
- Accuracy level of the geocode for the return shipping
address. See Compound Field Considerations and Limitations for details on geolocation compound
fields.
This field is available in the API
only.
|
ShipFromLatitude |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Used with Longitude to specify the precise geolocation
of the return shipping address. Acceptable values are
numbers between –90 and 90 with up to 15 decimal places.
See Compound Field Considerations and Limitations for details on geolocation compound
fields.
This field is available in the API
only.
|
ShipFromLongitude |
- Type
- double
- Properties
- Create, Filter, Nillable, Sort, Update
- Description
- Used with Latitude to specify the precise geolocation of
the return shipping address. Acceptable values are
numbers between –180 and 180 with up to 15 decimal
places. See Compound Field Considerations and Limitations for details on geolocation compound
fields.
This field is available in the API
only.
|
ShipFromPostalCode |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The postal code of the return shipping address. This
address tracks the location of the items at the start of
the return or repair. For example, if a customer is
returning an item, the Ship From address is the
customer’s address.
|
ShipFromState |
- Type
- string
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The state of the return shipping address. This address
tracks the location of the items at the start of the
return or repair. For example, if a customer is
returning an item, the Ship From address is the
customer’s address.
|
ShipFromStreet |
- Type
- textarea
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The street of the return shipping address. This address
tracks the location of the items at the start of the
return or repair. For example, if a customer is
returning an item, the Ship From address is the
customer’s address.
|
ShipmentType |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Nillable,
Sort, Update
- Description
- The type of shipment associated with the return order.
Available values are:
-
Standard
(default value)
- Rush
- Overnight
- Next Business
Day
- Pick
Up
|
SourceLocationId |
- Type
- reference
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The items’ location at the start of the return or
repair. For example, if the return order tracks the
return of products from a technician’s service vehicle
to a warehouse, the service vehicle is the source
location.
- This is a relationship field.
- Relationship Name
- SourceLocation
- Relationship Type
- Lookup
- Refers To
- Location
|
Status |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Nillable,
Sort, Update
- Description
- The status of the return order. Available values are:
- Draft
- Submitted
- Approved
- Canceled
- Closed
- If return orders are enabled by a Salesforce Order
Management license, they must be created with a Status
corresponding to the Status Category Activated. The default
Statuses corresponding to Activated are Submitted and
Approved.
|
StatusCategory |
- Type
- picklist
- Properties
- Defaulted on create, Filter, Group, Nillable, Restricted
picklist, Sort
- Description
- Status category of the return order. Processing of the
return order depends on this value. Each status category
corresponds to one or more statuses.
- Possible values are:
- Activated
- Canceled
- Closed
- Draft
- Pending
- This field is available in API version 50.0 and
later.
|
TaxLocaleType |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The system used to handle tax on the original order
associated with the return order. Gross usually applies
to taxes like value-added tax (VAT), and Net usually
applies to taxes like sales tax.
- Possible values are:
-
Automatic
(displays most prices and taxes as combined
values)
-
Gross
(displays most prices and taxes as combined
values)
-
Net
(displays most prices and taxes as separate
values)
- This field is available in API version 50.0 and
later.
|
TotalAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Adjusted total, not including tax, of the return order
line items, including products, fees, and delivery
charges, on the ReturnOrder.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalDeliveryAdjustAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the price adjustments applied to the
delivery charges on the return order. This value only
includes adjustments to return order line items of type
code Charge.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalDeliveryAdjustAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the price adjustments applied to the
delivery charges on the return order, inclusive of tax.
This value only includes adjustments to return order
line items of type code Charge. This amount is equal to
TotalDeliveryAdjustAmount +
TotalDeliveryAdjustTaxAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalDeliveryAdjustTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalDeliveryAdjustAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalDeliveryAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total of the delivery charges on the return order. This
value only includes return order line items of type code
Charge.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalDeliveryAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the delivery charges on the return
order, inclusive of tax. This value only includes return
order line items of type code Charge. This amount is
equal to TotalDeliveryAmount +
TotalDeliveryTaxAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalDeliveryTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalDeliveryAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalFeeAdjustAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the price adjustments applied to the
fees on the return order. This value only includes
adjustments to return order line items of type Fee.
- This is a calculated field.
- This field is available in API version 56.0 and
later.
|
TotalFeeAdjustAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the price adjustments applied to the
fees on the return order, inclusive of tax. This value
only includes adjustments to return order line items of
type Fee. This amount is equal to TotalFeeAdjustAmount +
TotalFeeAdjustTaxAmount.
- This is a calculated field.
- This field is available in API version 56.0 and
later.
|
TotalFeeAdjustTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalFeeAdjustAmount.
- This is a calculated field.
- This field is available in API version 56.0 and
later.
|
TotalFeeAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total of the fees on the return order. This value only
includes return order line items of type Fee.
- This is a calculated field.
- This field is available in API version 56.0 and
later.
|
TotalFeeAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the fees on the return order, inclusive
of tax. This value only includes return order line items
of type Fee. This amount is equal to TotalFeeAmount +
TotalFeeTaxAmount.
- This is a calculated field.
- This field is available in API version 56.0 and
later.
|
TotalFeeTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalFeeAmount.
- This is a calculated field.
- This field is available in API version 56.0 and
later.
|
TotalProductAdjustAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the price adjustments applied to the
products on the return order. This value only includes
adjustments to return order line items of type code
Product.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalProductAdjustAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the price adjustments applied to the
products on the return order, inclusive of tax. This
value only includes adjustments to return order line
items of type code Product. This amount is equal to
TotalProductAdjustAmount +
TotalProductAdjustTaxAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalProductAdjustTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalProductAdjustmentAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalProductAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total of the product charges on the return order. This
value only includes return order line items of type code
Product.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalProductAmtWithTax |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Total amount of the product charges on the return order,
inclusive of tax. This value only includes return order
line items of type code Product. This amount is equal to
TotalProductAmount + TotalProductTaxAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalProductTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalProductAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|
TotalTaxAmount |
- Type
- currency
- Properties
- Filter, Nillable, Sort
- Description
- Tax on the TotalAmount.
- This is a calculated field.
- This field is available in API version 50.0 and
later.
|