From 4a1eb264b13b6bac7d7550f25775c91e5c8e4f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?= <76204082+iamsedatozturk@users.noreply.github.com> Date: Thu, 4 Dec 2025 15:39:07 +0300 Subject: [PATCH] =?UTF-8?q?Genel=20Seeder=20d=C3=BCzenlemesi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Seeds/ListFormSeeder_Mrp.cs | 3 ++- .../Seeds/ListFormSeeder_SupplyChain.cs | 6 ++++-- .../Seeds/MenusData.json | 20 ------------------- 3 files changed, 6 insertions(+), 23 deletions(-) diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs index fdd7a7e4..7852eaa8 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs @@ -1104,7 +1104,8 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "IsPhantom", FieldDbType = DbType.Boolean, Value = "false", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "ScrapPercentage", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, - new() { FieldName = "Quantity", FieldDbType = DbType.Decimal, Value = "1", CustomValueType = FieldCustomValueTypeEnum.Value } + new() { FieldName = "Quantity", FieldDbType = DbType.Decimal, Value = "1", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "Uom", FieldDbType = DbType.String, Value = "Adet", CustomValueType = FieldCustomValueTypeEnum.Value } }), }, autoSave: true ); diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs index ab5f034b..dcb5bed1 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs @@ -425,7 +425,8 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new() { FieldName = "CostPrice", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "SalesPrice", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }, - new() { FieldName = "Currency", FieldDbType = DbType.String, Value = "TRY", CustomValueType = FieldCustomValueTypeEnum.Value } + new() { FieldName = "Currency", FieldDbType = DbType.String, Value = "TRY", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "Uom", FieldDbType = DbType.String, Value = "Adet", CustomValueType = FieldCustomValueTypeEnum.Value } }), }); @@ -3243,7 +3244,8 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] { new() { FieldName = "Quantity", FieldDbType = DbType.Int32, Value = "1", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "EstimatedPrice", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, - new() { FieldName = "IsUrgent", FieldDbType = DbType.Boolean, Value = "false", CustomValueType = FieldCustomValueTypeEnum.Value } + new() { FieldName = "IsUrgent", FieldDbType = DbType.Boolean, Value = "false", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "Uom", FieldDbType = DbType.String, Value = "Adet", CustomValueType = FieldCustomValueTypeEnum.Value } }), }, autoSave: true ); diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json b/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json index c5d91d67..ee48c6f9 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json +++ b/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json @@ -2418,16 +2418,6 @@ "RequiredPermissionName": "App.SupplyChain.PurchaseOrder", "IsDisabled": false }, - { - "ParentCode": "App.SupplyChain", - "Code": "App.SupplyChain.Delivery", - "DisplayName": "App.SupplyChain.Delivery", - "Order": 5, - "Url": "/admin/supplychain/delivery", - "Icon": "FcShipped", - "RequiredPermissionName": "App.SupplyChain.Delivery", - "IsDisabled": false - }, { "ParentCode": null, "Code": "App.Maintenance", @@ -2828,16 +2818,6 @@ "RequiredPermissionName": "App.Project.Workload", "IsDisabled": false }, - { - "ParentCode": "App.Project", - "Code": "App.Project.CostTracking", - "DisplayName": "App.Project.CostTracking", - "Order": 8, - "Url": "/admin/projects/cost-tracking", - "Icon": "FcMoneyTransfer", - "RequiredPermissionName": "App.Project.CostTracking", - "IsDisabled": false - }, { "ParentCode": null, "Code": "App.Hr",