case 4123
This commit is contained in:
@@ -488,7 +488,7 @@ namespace AyaNova.Biz
|
||||
if (await ct.PartAssemblyItem.AnyAsync(z => z.PartId == inObj.Id) == true)
|
||||
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartAssembly"));
|
||||
if (await ct.PartInventory.AnyAsync(z => z.PartId == inObj.Id) == true)
|
||||
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartInventoryList"));//translates to "Part inventory"
|
||||
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartInventoryDataList"));//translates to "Part inventory"
|
||||
if (await ct.PartStockLevel.AnyAsync(m => m.PartId == inObj.Id))
|
||||
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartStockingLevels"));
|
||||
if (await ct.PurchaseOrderItem.AnyAsync(m => m.PartId == inObj.Id))
|
||||
|
||||
Reference in New Issue
Block a user