This commit is contained in:
2021-01-23 00:53:18 +00:00
parent 9f6be8315b
commit 1b8b1e8d6c

View File

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