This commit is contained in:
@@ -3261,8 +3261,9 @@ namespace AyaNova.Biz
|
||||
if (proposedObj.ServiceStartDate > proposedObj.ServiceStopDate)
|
||||
AddError(ApiErrorCode.VALIDATION_STARTDATE_AFTER_ENDDATE, "ServiceStartDate");
|
||||
|
||||
if (proposedObj.ServiceRateQuantity < 0)//negative quantities are not allowed
|
||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "ServiceRateQuantity");
|
||||
|
||||
// if (proposedObj.ServiceRateQuantity < 0)//negative quantities are not allowed
|
||||
// AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "ServiceRateQuantity");
|
||||
|
||||
if (proposedObj.NoChargeQuantity < 0)//negative quantities are not allowed
|
||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "NoChargeQuantity");
|
||||
|
||||
Reference in New Issue
Block a user