opportunityproduct EntityType
Description: Association between an opportunity and a product.
Entity Set path: [organization URI]/api/data/v8.0/opportunityproducts
Base Type: crmbaseentity EntityType
Display Name: Opportunity Product
Primary Key: opportunityproductid
Primary Name Attribute: productidname
Properties
Single-valued navigation properties
Collection-valued navigation properties
Operations bound to opportunityproduct
Operations using the opportunityproduct entity type.
Properties
Properties represent fields of data stored in the entity. Some properties are not writable.
Name | Type | Details |
---|---|---|
_createdby_value |
Edm.Guid |
Description: Shows who created the record. Computed property Read-only property |
_createdonbehalfby_value |
Edm.Guid |
Description: Shows who created the record on behalf of another user. Computed property Read-only property |
_modifiedby_value |
Edm.Guid |
Description: Shows who last updated the record. Computed property Read-only property |
_modifiedonbehalfby_value |
Edm.Guid |
Description: Unique identifier of the delegate user who last modified the opportunityproduct. Computed property Read-only property |
_opportunityid_value |
Edm.Guid |
Description: Unique identifier of the opportunity with which the opportunity product is associated. Computed property Read-only property |
_ownerid_value |
Edm.Guid |
Description: Unique identifier of the user or team who owns the opportunity product. Read-only property |
_productid_value |
Edm.Guid |
Description: Choose the product to include on the opportunity to link the product's pricing and other information to the opportunity. Computed property Read-only property |
_transactioncurrencyid_value |
Edm.Guid |
Description: Choose the local currency for the record to make sure budgets are reported in the correct currency. Computed property Read-only property |
_uomid_value |
Edm.Guid |
Description: Choose the unit of measurement for the base unit quantity for this purchase, such as each or dozen. Computed property Read-only property |
baseamount |
Edm.Decimal |
Description: Shows the total price of the opportunity product, based on the price per unit, volume discount, and quantity. Display Name: Amount |
baseamount_base |
Edm.Decimal |
Description: Shows the Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area. Display Name: Amount (Base) Read-only property |
createdon |
Edm.DateTimeOffset |
Description: Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options. Display Name: Created On Read-only property |
description |
Edm.String |
Description: Type additional information to describe the opportunity product, such as manufacturing details. Display Name: Description |
entityimage |
Edm.Binary |
Description: The default image for the entity. Display Name: Entity Image |
entityimage_timestamp |
Edm.Int64 |
Description: Read-only property |
entityimage_url |
Edm.String |
Description: Read-only property |
entityimageid |
Edm.Guid |
Description: For internal use only. Display Name: Entity Image Id Read-only property |
exchangerate |
Edm.Decimal |
Description: Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency. Display Name: Exchange Rate Read-only property |
extendedamount |
Edm.Decimal |
Description: Shows the total amount due for the opportunity product, calculated on the Amount value minus the Manual Discount amount. Display Name: Extended Amount |
extendedamount_base |
Edm.Decimal |
Description: Shows the Extended Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area. Display Name: Extended Amount (Base) Read-only property |
importsequencenumber |
Edm.Int32 |
Description: Unique identifier of the data import or data migration that created this record. Display Name: Import Sequence Number |
ispriceoverridden |
Edm.Boolean |
Description: Select whether the pricing on the opportunity product reflects an override of the product catalog pricing. Default Options: 1 : Override Price Display Name: Price Overridden |
isproductoverridden |
Edm.Boolean |
Description: For system use only. Default Options: 1 : Write-In Display Name: Select Product |
lineitemnumber |
Edm.Int32 |
Description: Type the line item number for the opportunity product to easily identify the product in the opportunity documents and make sure it's listed in the correct order. Display Name: Line Item Number |
manualdiscountamount |
Edm.Decimal |
Description: Type the manual discount amount for the opportunity product to deduct any negotiated or other savings from the product total. Display Name: Manual Discount Amount |
manualdiscountamount_base |
Edm.Decimal |
Description: Shows the Manual Discount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area. Display Name: Manual Discount Amount (Base) Read-only property |
modifiedon |
Edm.DateTimeOffset |
Description: Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options. Display Name: Modified On Read-only property |
opportunityproductid |
Edm.Guid |
Description: Unique identifier of the opportunity product. Display Name: Opportunity Product |
opportunitystatecode |
Edm.Int32 |
Description: Select the status of the opportunity product. Default Options: 0 : Open Display Name: Opportunity Status Read-only property |
overriddencreatedon |
Edm.DateTimeOffset |
Description: Date and time that the record was migrated. Display Name: Record Created On |
owningbusinessunit |
Edm.Guid |
Description: Unique identifier of the business unit that owns the opportunity product. Display Name: Owning Business Unit Read-only property |
owninguser |
Edm.Guid |
Description: Unique identifier of the user who owns the opportunity product. Display Name: Owning User Read-only property |
parentbundleid |
Edm.Guid |
Description: Choose the parent bundle associated with this product Display Name: Parent Bundle |
priceperunit |
Edm.Decimal |
Description: Shows the price per unit of the opportunity product, based on the price list specified on the parent opportunity. Display Name: Price Per Unit |
priceperunit_base |
Edm.Decimal |
Description: Shows the Price Per Unit field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area. Display Name: Price Per Unit (Base) Read-only property |
pricingerrorcode |
Edm.Int32 |
Description: Select the pricing error for the opportunity product. Default Options: 0 : None Display Name: Pricing Error |
productassociationid |
Edm.Guid |
Description: Unique identifier of the product line item association with bundle in the opportunity Display Name: Bundle Item Association |
productdescription |
Edm.String |
Description: Type a detailed product description or additional notes about the opportunity product, such as talking points or product updates, that will assist the sales team when they discuss the product with the customer. Display Name: Write-In Product |
producttypecode |
Edm.Int32 |
Description: Product Type Default Options: 1 : Product Display Name: Product type |
propertyconfigurationstatus |
Edm.Int32 |
Description: Status of the property configuration. Default Options: 0 : Edit Display Name: Property Configuration |
quantity |
Edm.Decimal |
Description: Type the amount or quantity of the product the customer would like to purchase. Display Name: Quantity |
sequencenumber |
Edm.Int32 |
Description: Shows the ID of the data that maintains the sequence. Display Name: Sequence Number |
tax |
Edm.Decimal |
Description: Type the tax amount to be applied on the opportunity product. Display Name: Tax |
tax_base |
Edm.Decimal |
Description: Shows the Tax field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area. Display Name: Tax (Base) Read-only property |
timezoneruleversionnumber |
Edm.Int32 |
Description: For internal use only. Display Name: Time Zone Rule Version Number |
utcconversiontimezonecode |
Edm.Int32 |
Description: Time zone code that was in use when the record was created. Display Name: UTC Conversion Time Zone Code |
versionnumber |
Edm.Int64 |
Description: Version number of the opportunity product. Display Name: Version Number Read-only property |
volumediscountamount |
Edm.Decimal |
Description: Shows the discount amount per unit if a specified volume is purchased. Configure volume discounts in the Product Catalog in the Settings area. Display Name: Volume Discount Read-only property |
volumediscountamount_base |
Edm.Decimal |
Description: Shows the Volume Discount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area. Display Name: Volume Discount (Base) Read-only property |
Single-valued navigation properties
Single-valued navigation properties represent lookup fields where a single entity can be referenced.
Name | Type | Partner |
---|---|---|
createdby |
lk_opportunityproductbase_createdby |
|
createdonbehalfby |
lk_opportunityproduct_createdonbehalfby |
|
modifiedby |
lk_opportunityproductbase_modifiedby |
|
modifiedonbehalfby |
lk_opportunityproduct_modifiedonbehalfby |
|
opportunityid |
product_opportunities |
|
parentbundleid_opportunityproduct |
opportunityproduct_parent_opportunityproduct |
|
productassociationid_productassociation |
productAssociation_opportunity_product |
|
productid |
opportunity_products |
|
transactioncurrencyid |
transactioncurrency_opportunityproduct |
|
uomid |
unit_of_measurement_opportunity_products |
Collection-valued navigation properties
Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.
Name | Type | Partner |
---|---|---|
OpportunityProduct_AsyncOperations |
regardingobjectid_opportunityproduct |
|
OpportunityProduct_BulkDeleteFailures |
regardingobjectid_opportunityproduct |
|
opportunityproduct_parent_opportunityproduct |
parentbundleid_opportunityproduct |
Operations bound to opportunityproduct
The following operations are bound to the opportunityproduct entity type.
Name | Bound to |
---|---|
Entity |
Operations using the opportunityproduct entity type.
The following operations use the opportunityproduct entity type in a parameter or return type.
Name | How used | Description |
---|---|---|
entity Parameter |
Retrieve all the property instances (dynamic property instances) for a product added to an opportunity, quote, order, or invoice. |
另请参阅
其他资源
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.