SalesAgreementHeaderDefault::createFromPurchaseAgreementHeaderRecId Method
Creates a SalesAgreementHeaderDefault record from a purchase agreement header record ID.
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 createFromPurchaseAgreementHeaderRecId(AgreementHeaderRecId _purchaseAgreementHeaderRecId, [boolean _isIntraCompany_RU])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void createFromPurchaseAgreementHeaderRecId(AgreementHeaderRecId _purchaseAgreementHeaderRecId, [boolean _isIntraCompany_RU])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void createFromPurchaseAgreementHeaderRecId(AgreementHeaderRecId _purchaseAgreementHeaderRecId)
Microsoft Dynamics AX 2012 (FPK)
client server public static void createFromPurchaseAgreementHeaderRecId(AgreementHeaderRecId _purchaseAgreementHeaderRecId)
Microsoft Dynamics AX 2012 (SYS)
client server public static void createFromPurchaseAgreementHeaderRecId(AgreementHeaderRecId _purchaseAgreementHeaderRecId)
Run On
Called
Parameters
- _purchaseAgreementHeaderRecId
Type: AgreementHeaderRecId Extended Data Type
The record ID for the purchase agreement header to create the SalesAgreementHeaderDefault record from.
- _isIntraCompany_RU
Type: boolean
Remarks
Used in intercompany scenarios.