case 4123

This commit is contained in:
2022-03-10 00:56:15 +00:00
parent 1897d7ca56
commit d8a11de8dc
7 changed files with 7 additions and 6 deletions

View File

@@ -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))

View File

@@ -712,7 +712,7 @@
"PartInventoryAdjustment": "Teilebestandberichtigung",
"PartInventoryBalance": "Vorrätig",
"PartInventoryId": "Inventar-ID",
"PartInventoryList": "Teileinventar",
"PartInventoryDataList": "Teileinventar",
"PartInventoryTransaction": "Inventartransaktion",
"PartInventoryTransactionDescription": "Beschreibung",
"PartInventoryTransactionEntryDate": "Datum",

View File

@@ -712,7 +712,7 @@
"PartInventoryAdjustment": "Part inventory adjustment",
"PartInventoryBalance": "On Hand",
"PartInventoryId": "Inventory Id",
"PartInventoryList": "Part inventory",
"PartInventoryDataList": "Part inventory",
"PartInventoryTransaction": "Inventory transaction",
"PartInventoryTransactionDescription": "Description",
"PartInventoryTransactionEntryDate": "Date",

View File

@@ -712,7 +712,7 @@
"PartInventoryAdjustment": "Ajuste inventario de piezas",
"PartInventoryBalance": "Disponible",
"PartInventoryId": "ID de inventario",
"PartInventoryList": "Inventario de piezas",
"PartInventoryDataList": "Inventario de piezas",
"PartInventoryTransaction": "Transacción de inventario",
"PartInventoryTransactionDescription": "Descripción",
"PartInventoryTransactionEntryDate": "Fecha",

View File

@@ -712,7 +712,7 @@
"PartInventoryAdjustment": "Ajustement de stock de pièces",
"PartInventoryBalance": "Disponible",
"PartInventoryId": "ID d'inventaire",
"PartInventoryList": "Inventaire des pièces",
"PartInventoryDataList": "Inventaire des pièces",
"PartInventoryTransaction": "Transaction d'inventaire",
"PartInventoryTransactionDescription": "La description",
"PartInventoryTransactionEntryDate": "Date",

View File

@@ -459,6 +459,7 @@ BEGIN
when 87 then aytkey= 'WorkOrderItemTravel';
when 88 then aytkey= 'WorkOrderItemUnit';
when 89 then aytkey= 'WorkOrderItemOutsideService';
when 90 then aytkey= 'PartInventoryDataList';
else
RETURN returnstr;
end case;