Click or drag to resize

ProductSubstitute Class

Information about the selling relationship between two products, including the relationship type, such as up-sell, cross-sell, substitute, or accessory.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceProductSubstitute

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ProductSubstitute : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The ProductSubstitute type exposes the following members.

Constructors
 NameDescription
Public methodProductSubstitute Default Constructor.
Top
Properties
 NameDescription
Public propertyAttributes
(Inherited from Entity)
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyDirection Select whether the relationship is unidirectional or bidirectional.
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate 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.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Shows the data import or data migration that created this record.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_ProductSubstitute_createdby N:1 lk_ProductSubstitute_createdby
Public propertylk_ProductSubstitute_createdonbehalfby N:1 lk_ProductSubstitute_createdonbehalfby
Public propertylk_ProductSubstitute_modifiedby N:1 lk_ProductSubstitute_modifiedby
Public propertylk_ProductSubstitute_modifiedonbehalfby N:1 lk_ProductSubstitute_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated.
Public propertyModifiedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyorganization_ProductSubstitute N:1 organization_ProductSubstitute
Public propertyOrganizationId Shows the organization associated with the record.
Public propertyOverriddenCreatedOn Shows the date and time that the record was migrated.
Public propertyproduct_ProductSubstitute_productid N:1 product_ProductSubstitute_productid
Public propertyproduct_ProductSubstitute_substitutedproductid N:1 product_ProductSubstitute_substitutedproductid
Public propertyProductId Shows the product that the relationship is defined for.
Public propertyProductSubstitute_AsyncOperations 1:N ProductSubstitute_AsyncOperations
Public propertyProductSubstitute_BulkDeleteFailures 1:N ProductSubstitute_BulkDeleteFailures
Public propertyProductSubstitute_PrincipalObjectAttributeAccess 1:N ProductSubstitute_PrincipalObjectAttributeAccess
Public propertyProductSubstitute_ProcessSession 1:N ProductSubstitute_ProcessSession
Public propertyProductSubstitute_SyncErrors 1:N ProductSubstitute_SyncErrors
Public propertyProductSubstituteId Shows the unique identifier of the product relationship.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertySalesRelationshipType Select the type of the product relationship.
Public propertystatecode Select the product relationship's status.
Public propertystatuscode Shows whether the product relationship is active or inactive.
Public propertySubstitutedProductId Select the related product that the relationship needs to be defined for.
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertytransactioncurrency_ProductSubstitute N:1 transactioncurrency_ProductSubstitute
Public propertyTransactionCurrencyId Shows the currency associated with the record.
Public propertyUTCConversionTimeZoneCode Shows the time zone code that was in use when the record was created.
Public propertyVersionNumber Shows the version number of the product relationship.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also