This commit is contained in:
2021-01-23 17:06:09 +00:00
parent c07a116cf3
commit 786a43aa40
2 changed files with 4 additions and 3 deletions

View File

@@ -266,8 +266,9 @@ namespace AyaNova.Biz
//PartInventory record?
if (await ct.PartInventory.AnyAsync(m => m.PartWarehouseId == inObj.Id))
{
{
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartInventoryTransaction"));
}
}