PurchAgreementHeaderDefault::createFromSalesAgreementHeaderRecId Method
Creates an PurchAgreementHeaderDefault record from an sales 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 createFromSalesAgreementHeaderRecId(AgreementHeaderRecId _salesAgreementHeaderRecId, [boolean _isIntraCompany_RU])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void createFromSalesAgreementHeaderRecId(AgreementHeaderRecId _salesAgreementHeaderRecId, [boolean _isIntraCompany_RU])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void createFromSalesAgreementHeaderRecId(AgreementHeaderRecId _salesAgreementHeaderRecId)
Microsoft Dynamics AX 2012 (FPK)
client server public static void createFromSalesAgreementHeaderRecId(AgreementHeaderRecId _salesAgreementHeaderRecId)
Microsoft Dynamics AX 2012 (SYS)
client server public static void createFromSalesAgreementHeaderRecId(AgreementHeaderRecId _salesAgreementHeaderRecId)
Run On
Called
Parameters
- _salesAgreementHeaderRecId
Type: AgreementHeaderRecId Extended Data Type
The record ID for the sales agreement header from which to create the PurchAgreementHeaderDefault record.
- _isIntraCompany_RU
Type: boolean
Remarks
This method is used in intercompany scenarios.