Compartir a través de


PdsRebateAgreementLine.checkRebateQtyRequirements Method

Checks whether the Rebate unit and sales unit can be convert.

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 checkRebateQtyRequirements(
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
           [ItemId _itemId, 
            boolean _maxRebateLineBreak])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean checkRebateQtyRequirements(
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
           [ItemId _itemId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean checkRebateQtyRequirements(
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
           [ItemId _itemId])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean checkRebateQtyRequirements(
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
           [ItemId _itemId])

Run On

Called

Parameters

  • _maxRebateLineBreak
    Type: boolean
    A boolean value that defines whether to check the rebate requirements for the maximum rebate or not.

Return Value

Type: boolean
true if sales unit and rebate unit can be converted; otherwise, false.

See Also

Reference

PdsRebateAgreementLine Table