SalesLine.itemIdChanged Method [AX 2012]

Updates the SalesLine based on the item change.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public container itemIdChanged([boolean _resetPrice, AgreementHeaderRecId _matchingAgreement])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void itemIdChanged([boolean _resetPrice, AgreementHeaderRecId _matchingAgreement])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void itemIdChanged([boolean _resetPrice, AgreementHeaderRecId _matchingAgreement])

  Microsoft Dynamics AX 2012 (FPK)
          public void itemIdChanged([boolean _resetPrice, AgreementHeaderRecId _matchingAgreement])

  Microsoft Dynamics AX 2012 (SYS)
          public void itemIdChanged([boolean _resetPrice, AgreementHeaderRecId _matchingAgreement])

Run On

ClientOrServer

Parameters

_resetPrice
Type: boolean
A Boolean value that specifies whether to reset price; optional.
_matchingAgreement
Type: AgreementHeaderRecId Extended Data Type
The record ID of the agreement header that is associated with the sales order. Used for the automatic association with an agreement line.

Return Value

Type: container
A packed SalesLineItemIdModifiedDTO data transfer object.
Show: