Hi,
The message number for target value exceeded is 06 042 and the message for target quantity exceeded error in 06 078
You may set both of these as error message. But in this case, if you are creating value contract, keep the quantity field empty and save the contract.
Try again with blank quantity field in contract and revert back.
Regards,
AKPT