MCRSalesStatsCust.getMaxOrderQty Method [AX 2012]

Determines the max quantity ordered by a customer for a specific item on a single sales line.

private Qty getMaxOrderQty(
    CustAccount _custAccount, 
    ItemId _itemId, 
    EcoResConfigurationName _ecoResConfigurationName, 
    EcoResSizeName _ecoResSizeName, 
    EcoResColorName _ecoResColorName)

Run On

Called

Parameters

_custAccount
Type: CustAccount Extended Data Type
The customer account for which the max quantity was ordered.
_itemId
Type: ItemId Extended Data Type
The item ID of which the max quantity was ordered.
_ecoResConfigurationName
Type: EcoResConfigurationName Extended Data Type
The configuration of the item of which the max quantity was ordered.
_ecoResSizeName
Type: EcoResSizeName Extended Data Type
The size of the item of which the max quantity was ordered.
_ecoResColorName
Type: EcoResColorName Extended Data Type
The color of the item of which the max quantity was ordered.

Return Value

Type: Qty Extended Data Type
The max quantity ordered by a customer for a specific item on a single sales line.

Community Additions

ADD
Show: