Share via


AgreementReference::createRelationShip Method

Creates a link between two AgreementHeader records.

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 createRelationShip(
            AgreementHeaderRecId _sourceAgreement, 
            AgreementHeaderRecId _derivedAgreement, 
           [boolean _isIntraCompany_RU])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static void createRelationShip(
            AgreementHeaderRecId _sourceAgreement, 
            AgreementHeaderRecId _derivedAgreement, 
           [boolean _isIntraCompany_RU])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static void createRelationShip(AgreementHeaderRecId _sourceAgreement, AgreementHeaderRecId _derivedAgreement)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static void createRelationShip(AgreementHeaderRecId _sourceAgreement, AgreementHeaderRecId _derivedAgreement)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static void createRelationShip(AgreementHeaderRecId _sourceAgreement, AgreementHeaderRecId _derivedAgreement)

Run On

Called

Parameters

Remarks

The purpose of this method is to create a link between an intercompany sales agreement and an intercompany purchase agreement.

See Also

Reference

AgreementReference Table