JDBC Driver for Microsoft Dynamics CRM

Build 26.0.9655

AssociateRequest

Associates two entities via a named relationship. The RelationshipName must be a valid relationship name defined in Dynamics CRM.

Stored Procedure-Specific Information

To execute this procedure, enter:
EXEC AssociateRequest RelationshipName = 'accountleads_association', TargetId = '00000000-0000-0000-0000-000000000001', TargetLogicalName = 'account', RelatedEntityId = '00000000-0000-0000-0000-000000000002', RelatedEntityLogicalName = 'lead'

Input

Name Type Description
RelationshipName String 関連付けに使用するリレーション名。
TargetId String 関連付けを追加するターゲットのId。
TargetLogicalName String 関連付けを追加するターゲットの論理名。
RelatedEntitiesTempTable String Name of the temporary table containing related entities. Each row must have RelatedEntityId and RelatedEntityLogicalName fields.
RelatedEntityId String Required field in each RelatedEntitiesTempTable row. Specifies the Id of the entity to relate to the target.
RelatedEntityLogicalName String Required field in each RelatedEntitiesTempTable row. Specifies the logical name of the entity to relate to the target.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655