Udostępnij za pośrednictwem


productassociation EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Description: Instance of a product added to a bundle or kit.

Entity Set path:[organization URI]/api/data/v8.2/productassociations

Base Type: crmbaseentity EntityType

Display Name: Product Association

Primary Key: productassociationid

Primary Name Attribute: productidname

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name

Type

Details

createdon

Edm.DateTimeOffset

Description: Shows the date and time when the record was created.

Display Name: Created On

Read-only property

dmtimportstate

Edm.Int32

Description: Internal Use Only

Display Name: Internal Use Only

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

importsequencenumber

Edm.Int32

Description: Shows the data import or data migration that created this record.

Display Name: Import Sequence Number

modifiedon

Edm.DateTimeOffset

Description: Shows the date and time when the record was last updated.

Display Name: Modified On

Read-only property

overriddencreatedon

Edm.DateTimeOffset

Description: Shows the date and time that the record was migrated.

Display Name: Record Created On

productassociationid

Edm.Guid

Description: Shows the unique identifier of the product association.

Display Name: Product Association ID

productisrequired

Edm.Int32

Description: Select whether the associated product is required or optional.

Default Options:

0 : Optional
1 : Required

Display Name: Required

propertycustomizationstatus

Edm.Int32

Description: Shows whether the item has properties that can be customized.

Default Options:

0 : Not Available
1 : Available

Display Name: Property Customization

quantity

Edm.Decimal

Description: Type the quantity of the products added to the bundle or kit.

Display Name: Quantity

statecode

Edm.Int32

Description: Shows whether the associated product is active or inactive.

Default Options:

0 : Active
1 : Inactive
2 : Draft
3 : Under Revision

Display Name: Status

statuscode

Edm.Int32

Description: Select the associated product's status.

Default Options:

1 : Active
2 : Inactive
0 : Draft
3 : DraftActive

Display Name: Status Reason

versionnumber

Edm.Int64

Description: Shows the version number of the product association.

Display Name: Version Number

Read-only property

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties

Name

Single-valued navigation property

Description

_associatedproduct_value

associatedproduct

Select a product to add to the bundle or kit.

_createdby_value

createdby

Shows who created the record.

_createdonbehalfby_value

createdonbehalfby

Shows who created the record on behalf of another user.

_modifiedby_value

modifiedby

Shows who last updated the record.

_modifiedonbehalfby_value

modifiedonbehalfby

Shows who created the record on behalf of another user.

_organizationid_value

organizationid

Shows the organization associated with the record.

_productid_value

productid

Select a bundle or a kit.

_transactioncurrencyid_value

transactioncurrencyid

Shows the currency associated with the record.

_uomid_value

uomid

Shows the unit of the product association.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name

Type

Partner

associatedproduct

product EntityType

Product_ProductAssociation_AssocProd

createdby

systemuser EntityType

lk_ProductAssociate_createdby

createdonbehalfby

systemuser EntityType

lk_ProductAssociation_createdonbehalfby

modifiedby

systemuser EntityType

lk_ProductAssociation_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_ProductAssociation_modifiedonbehalfby

organizationid

organization EntityType

organization_ProductAssociation

productid

product EntityType

Product_ProductAssociation_Prod

transactioncurrencyid

transactioncurrency EntityType

transactioncurrency_ProductAssociation

uomid

uom EntityType

unit_of_measurement_productassociation

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

ProductAssociation_AsyncOperations

asyncoperation EntityType

regardingobjectid_productassociation

ProductAssociation_DynamicProperty

dynamicproperty EntityType

regardingobjectid_productassociation

ProductAssociation_DynamicPropertyAssociation

dynamicpropertyassociation EntityType

regardingobjectid_productassociation

productAssociation_invoice_details

invoicedetail EntityType

productassociationid_productassociation

productAssociation_opportunity_product

opportunityproduct EntityType

productassociationid_productassociation

productAssociation_quote_details

quotedetail EntityType

productassociationid_productassociation

productAssociation_salesorder_details

salesorderdetail EntityType

productassociationid_productassociation

ProductAssociation_SyncErrors

syncerror EntityType

regardingobjectid_productassociation_syncerror

See Also

Use the Microsoft Dynamics 365 Web API
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 365

© 2016 Microsoft. All rights reserved. Copyright