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) if (await ct.PartAssemblyItem.AnyAsync(z => z.PartId == inObj.Id) == true)
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartAssembly")); AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartAssembly"));
if (await ct.PartInventory.AnyAsync(z => z.PartId == inObj.Id) == true) 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)) if (await ct.PartStockLevel.AnyAsync(m => m.PartId == inObj.Id))
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartStockingLevels")); AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("PartStockingLevels"));
if (await ct.PurchaseOrderItem.AnyAsync(m => m.PartId == inObj.Id)) if (await ct.PurchaseOrderItem.AnyAsync(m => m.PartId == inObj.Id))

View File

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

View File

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

View File

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

View File

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

View File

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