PmfFormulaMultiplesQtyValidation::promptForValidMultiple Method [AX 2012]

Prompts a user for the appropriate adjustment for a quantity planned for production.

server protected static Qty promptForValidMultiple(
    Qty _qty, 
    Qty _multiples, 
    Qty _qtySuggested)

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.
_qtySuggested
Type: Qty Extended Data Type
A suggested adjusted quantity.

Return Value

Type: Qty Extended Data Type
The quantity suggested if the user clicks the yes button in the dialog box; otherwise, the original quantity.
Show: