productsubstitute EntityType

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.0/productsubstitutes

Base Type: crmbaseentity EntityType

Display Name: Product Relationship

Primary Key: productsubstituteid

Properties

Single-valued navigation properties

Collection-valued navigation properties

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: Shows who created the record on behalf of another user.

Computed property

Read-only property

_organizationid_value

Edm.Guid

Description: Shows the organization associated with the record.

Computed property

Read-only property

_productid_value

Edm.Guid

Description: Shows the product that the relationship is defined for.

Computed property

Read-only property

_substitutedproductid_value

Edm.Guid

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

Computed property

Read-only property

_transactioncurrencyid_value

Edm.Guid

Description: Shows the currency associated with the record.

Computed property

Read-only property

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

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

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

関連項目

他のリソース

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.