PmfFormulaMultiplesQtyValidation::validateQtyMultiple Method [AX 2012]

Validates that the specified quantity is a multiple of a predefined production size.

server public static Qty validateQtyMultiple(
    Qty _qty, 
    Qty _multiples, 
    InventTable _inventTable, 
    boolean _showUsrDialog)

Run On

Server

Parameters

_qty
Type: Qty Extended Data Type
The specified quantity planned for production.
_multiples
Type: Qty Extended Data Type
A predefined multiple unit size.
_inventTable
Type: InventTable Table
An item planned for production.
_showUsrDialog
Type: boolean
A Boolean value that indicates whether a prompt to a user who proposes the correct quantity should be shown.

Return Value

Type: Qty Extended Data Type
The closest rounded-up quantity of the quantity planned for production that is a multiple of the predefined production size.
Show: