DirPartyRelationship::removeLegalEntityRelationship Method
Deletes a specific legal entity relationship type between a party and legal entity.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static void removeLegalEntityRelationship(
DirPartyRecId _party,
DirSystemRelationshipType _dirSystemRelationshipType,
[DataAreaId _dataAreaId])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void removeLegalEntityRelationship(DirPartyRecId _party, DirSystemRelationshipType _dirSystemRelationshipType)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void removeLegalEntityRelationship(DirPartyRecId _party, DirSystemRelationshipType _dirSystemRelationshipType)
Microsoft Dynamics AX 2012 (FPK)
client server public static void removeLegalEntityRelationship(DirPartyRecId _party, DirSystemRelationshipType _dirSystemRelationshipType)
Microsoft Dynamics AX 2012 (SYS)
client server public static void removeLegalEntityRelationship(DirPartyRecId _party, DirSystemRelationshipType _dirSystemRelationshipType)
Run On
Called
Parameters
- _party
Type: DirPartyRecId Extended Data Type
The DirPartyRecId value for the party record.
- _dirSystemRelationshipType
Type: DirSystemRelationshipType Enumeration
The relationship type of the relationship that is being deleted.
- _dataAreaId
Type: DataAreaId Extended Data Type