User ValidateCanDelete switched to checking all references from only event log

This commit is contained in:
2021-11-10 23:58:00 +00:00
parent 8d9e430f91
commit f946a472b1
4 changed files with 7 additions and 7 deletions

View File

@@ -208,7 +208,7 @@ namespace AyaNova.Biz
//Referential integrity
//FOREIGN KEY CHECKS
if (await ct.QuoteState.AnyAsync(m => m.QuoteStatusId == inObj.Id))
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("QuoteStatus"));
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("QuoteQuoteStatusType"));
}