productsubstitute EntityType

 

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

Description: Information about the selling relationship between two products, including the relationship type, such as up-sell, cross-sell, substitute, or accessory.

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

Base Type: crmbaseentity EntityType

Display Name: Product Relationship

Primary Key: productsubstituteid

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

direction

Edm.Int32

Description: Select whether the relationship is unidirectional or bidirectional.

Default Options:

0 : Uni-Directional
1 : Bi-Directional

Display Name: Direction

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

productsubstituteid

Edm.Guid

Description: Shows the unique identifier of the product relationship.

Display Name: Product Relationship ID

salesrelationshiptype

Edm.Int32

Description: Select the type of the product relationship.

Default Options:

0 : Up-sell
1 : Cross-sell
2 : Accessory
3 : Substitute

Display Name: Sales Relationship Type

statecode

Edm.Int32

Description: Select the product relationship's status.

Default Options:

0 : Active
1 : Inactive

Display Name: Status

Read-only property

statuscode

Edm.Int32

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

Default Options:

1 : Active
2 : Inactive

Display Name: Status Reason

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode

Edm.Int32

Description: Shows the time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber

Edm.Int64

Description: Shows the version number of the product relationship.

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

_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

Shows the product that the relationship is defined for.

_substitutedproductid_value

substitutedproductid

Select the related product that the relationship needs to be defined for.

_transactioncurrencyid_value

transactioncurrencyid

Shows the currency associated with the record.

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

createdby

systemuser EntityType

lk_ProductSubstitute_createdby

createdonbehalfby

systemuser EntityType

lk_ProductSubstitute_createdonbehalfby

modifiedby

systemuser EntityType

lk_ProductSubstitute_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_ProductSubstitute_modifiedonbehalfby

organizationid

organization EntityType

organization_ProductSubstitute

productid

product EntityType

product_ProductSubstitute_productid

substitutedproductid

product EntityType

product_ProductSubstitute_substitutedproductid

transactioncurrencyid

transactioncurrency EntityType

transactioncurrency_ProductSubstitute

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

ProductSubstitute_AsyncOperations

asyncoperation EntityType

regardingobjectid_productsubstitute

ProductSubstitute_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_productsubstitute

ProductSubstitute_SyncErrors

syncerror EntityType

regardingobjectid_productsubstitute_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