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
- _sourceAgreement
Type: AgreementHeaderRecId Extended Data Type
The source agreement header record for which to create the link.
- _derivedAgreement
Type: AgreementHeaderRecId Extended Data Type
The derived agreement header record for which to create the link.
- _isIntraCompany_RU
Type: boolean
Remarks
The purpose of this method is to create a link between an intercompany sales agreement and an intercompany purchase agreement.