Hi team,
Class - InventMovementQuantityValidator
private str buildMinQtyDialogStr(Qty _lowestQty, Qty _transQty)
{
str minQtyDialogStr = strFmt("@SCM:MinimumAllowedQuantityMessage", _transQty, _lowestQty);
if (lowerLimitErrorCorrectionMethod == InventMovementQuantityErrorCorrectionMethod::PromptUser)
{
minQtyDialogStr = strFmt("@SCM:ReplaceQuantityMessage", _lowestQty);
}
return minQtyDialogStr;
}
I like to put if condtion on method buildMinQtyDialogStr
If the parameter is set to YES then I like to skip above method else it should work as standard behaviour.
Kindly let me know how will approch this.
thanks!