DisassociateRequest
Removes an association between 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 DisassociateRequest 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 disassociate from the target. |
| RelatedEntityLogicalName | String | Required field in each RelatedEntitiesTempTable row. Specifies the logical name of the entity to disassociate from the target. |