Share via


PriceDiscHeading.updateMultiLineDisc Method

Updates the multiline discount for all lines within the given order.

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
          public boolean updateMultiLineDisc(PriceDiscLine _priceDiscLine, [boolean _bypassDialog])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean updateMultiLineDisc(PriceDiscLine _priceDiscLine, [boolean _bypassDialog])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void updateMultiLineDisc(PriceDiscLine _priceDiscLine, [boolean _bypassDialog])

  Microsoft Dynamics AX 2012 (FPK)
          public void updateMultiLineDisc(PriceDiscLine _priceDiscLine, [boolean _bypassDialog])

  Microsoft Dynamics AX 2012 (SYS)
          public void updateMultiLineDisc(PriceDiscLine _priceDiscLine, [boolean _bypassDialog])

Run On

ClientOrServer

Parameters

  • _priceDiscLine
    Type: PriceDiscLine Map
    A PriceDiscLine buffer for which the multiline discount needs to be calculated.
  • _bypassDialog
    Type: boolean
    A boolean value that controls execution of Dialog.

Return Value

Type: boolean
true if any discounts were applied; otherwise, false.

See Also

Reference

PriceDiscHeading Map