diff --git a/.github/instructions/lowcode.instructions.md b/.github/instructions/lowcode.instructions.md index 24448d04..60c0c0ac 100644 --- a/.github/instructions/lowcode.instructions.md +++ b/.github/instructions/lowcode.instructions.md @@ -1789,7 +1789,7 @@ da forma yazılmaz. Numara/kod alanı otomatik değilse (kullanıcı girer) kura `Value` numaratörün `Name`'idir: ```jsonc - { "FieldName": "ProjectNo", "FieldDbType": 16, "Value": "ProjeCode1", "CustomValueType": 5, "SqlQuery": "" } + { "FieldName": "ProjectNo", "FieldDbType": 16, "Value": "Prj.Project", "CustomValueType": 5, "SqlQuery": "" } ``` Formda numara önizlenir, kalıcı numara kayıt anında alınır (§9.9). diff --git a/README.md b/README.md index 70e13a26..cadc2739 100644 --- a/README.md +++ b/README.md @@ -1272,7 +1272,7 @@ ekranın kendi ayrıntılı açıklamasını gösterir (`DescTr`/`DescEn`, `lowc | [App.Administration.md](configs/seeds/docs/modules/App.Administration.md) | Yönetim (`App.Administration`) | Tanımlamalar (Kontaklar: satış ve satınalmanın ortak müşteri/tedarikçi kartı ve sekmeleri, kontak etiketleri) | | [App.Hr.md](configs/seeds/docs/modules/App.Hr.md) | İnsan Kaynakları (`App.Hr`) | Tanımlamalar (dizin + genel tanımlar), Organizasyon ve Yetkinlik, Personel Kaydı (Kimlik › Kullanıcılar › detay), İşe Alım, Çalışma Takvimi ve Vardiyalar, İzin Yönetimi, Puantaj ve Devam Takibi, Sağlık Kartları, Eğitimler, Performans Yönetimi, Disiplin Dosyaları, Araçlar, Ziyaretçiler, Olay Günlüğü, Intranet | | [App.Prc.md](configs/seeds/docs/modules/App.Prc.md) | Satınalma (`App.Prc`) | Tanımlamalar (ödeme/teslimat koşulları, ödeme/teslim yöntemleri, red nedenleri) · Talepler · Siparişler (sözleşme, tedarikçi bazlı teklif talebi ihalesi + fiyat/termin kıyası, satınalma siparişi) | -| [App.Inventory.md](configs/seeds/docs/modules/App.Inventory.md) | Envanter (`App.Inventory`) | Tanımlamalar (ürün kategorileri, nitelikler, ürünler ve varyantlar, reçeteler, reçete patlatma) | +| [App.Inventory.md](configs/seeds/docs/modules/App.Inventory.md) | Envanter (`App.Inventory`) | Tanımlamalar (ürün kategorileri, nitelikler, ürünler ve varyantlar, reçeteler, reçete patlatma, depolar, konumlar, operasyon türleri), Operasyonlar (alım, teslimat, iç transfer; lot/seri, backorder, iade), Raporlama (stok, hareketler) | | [App.Production.md](configs/seeds/docs/modules/App.Production.md) | Üretim (`App.Production`) | Tanımlamalar (iş merkezi etiketleri, iş merkezleri, operasyonlar) | --- diff --git a/configs/seeds/data/Abp.Identity.Permissions.json b/configs/seeds/data/Abp.Identity.Permissions.json index 28b514d0..2fc816dd 100644 --- a/configs/seeds/data/Abp.Identity.Permissions.json +++ b/configs/seeds/data/Abp.Identity.Permissions.json @@ -18023,6 +18023,926 @@ "IsEnabled": true, "MultiTenancySide": 3, "Modules": "Prc" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Operations", + "ParentName": null, + "DisplayName": "App.Inventory.Operations", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt", + "ParentName": "App.Inventory.Operations", + "DisplayName": "App.Inventory.Receipt", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt.Create", + "ParentName": "App.Inventory.Receipt", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt.Update", + "ParentName": "App.Inventory.Receipt", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt.Delete", + "ParentName": "App.Inventory.Receipt", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt.Export", + "ParentName": "App.Inventory.Receipt", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt.Import", + "ParentName": "App.Inventory.Receipt", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Receipt.Note", + "ParentName": "App.Inventory.Receipt", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery", + "ParentName": "App.Inventory.Operations", + "DisplayName": "App.Inventory.Delivery", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery.Create", + "ParentName": "App.Inventory.Delivery", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery.Update", + "ParentName": "App.Inventory.Delivery", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery.Delete", + "ParentName": "App.Inventory.Delivery", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery.Export", + "ParentName": "App.Inventory.Delivery", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery.Import", + "ParentName": "App.Inventory.Delivery", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Delivery.Note", + "ParentName": "App.Inventory.Delivery", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer", + "ParentName": "App.Inventory.Operations", + "DisplayName": "App.Inventory.InternalTransfer", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer.Create", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer.Update", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer.Delete", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer.Export", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer.Import", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.InternalTransfer.Note", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine", + "ParentName": "App.Inventory.Operations", + "DisplayName": "App.Inventory.TransferLine", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine.Create", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine.Update", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine.Delete", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine.Export", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine.Import", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLine.Note", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Inventory.TransferLineLot", + "Order": 7, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot.Create", + "ParentName": "App.Inventory.TransferLineLot", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot.Update", + "ParentName": "App.Inventory.TransferLineLot", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot.Delete", + "ParentName": "App.Inventory.TransferLineLot", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot.Export", + "ParentName": "App.Inventory.TransferLineLot", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot.Import", + "ParentName": "App.Inventory.TransferLineLot", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLot.Note", + "ParentName": "App.Inventory.TransferLineLot", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock", + "ParentName": "App.Inventory.TransferLine", + "DisplayName": "App.Inventory.TransferLineLotStock", + "Order": 8, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock.Create", + "ParentName": "App.Inventory.TransferLineLotStock", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock.Update", + "ParentName": "App.Inventory.TransferLineLotStock", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock.Delete", + "ParentName": "App.Inventory.TransferLineLotStock", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock.Export", + "ParentName": "App.Inventory.TransferLineLotStock", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock.Import", + "ParentName": "App.Inventory.TransferLineLotStock", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferLineLotStock.Note", + "ParentName": "App.Inventory.TransferLineLotStock", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther", + "ParentName": "App.Inventory.Operations", + "DisplayName": "App.Inventory.TransferOther", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther.Create", + "ParentName": "App.Inventory.TransferOther", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther.Update", + "ParentName": "App.Inventory.TransferOther", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther.Delete", + "ParentName": "App.Inventory.TransferOther", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther.Export", + "ParentName": "App.Inventory.TransferOther", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther.Import", + "ParentName": "App.Inventory.TransferOther", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferOther.Note", + "ParentName": "App.Inventory.TransferOther", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote", + "ParentName": "App.Inventory.Operations", + "DisplayName": "App.Inventory.TransferNote", + "Order": 7, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote.Create", + "ParentName": "App.Inventory.TransferNote", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote.Update", + "ParentName": "App.Inventory.TransferNote", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote.Delete", + "ParentName": "App.Inventory.TransferNote", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote.Export", + "ParentName": "App.Inventory.TransferNote", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote.Import", + "ParentName": "App.Inventory.TransferNote", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferNote.Note", + "ParentName": "App.Inventory.TransferNote", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Inventory.TransferApproval", + "Order": 7, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval.Create", + "ParentName": "App.Inventory.TransferApproval", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval.Update", + "ParentName": "App.Inventory.TransferApproval", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval.Delete", + "ParentName": "App.Inventory.TransferApproval", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval.Export", + "ParentName": "App.Inventory.TransferApproval", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval.Import", + "ParentName": "App.Inventory.TransferApproval", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferApproval.Note", + "ParentName": "App.Inventory.TransferApproval", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem", + "ParentName": "App.Inventory.InternalTransfer", + "DisplayName": "App.Inventory.TransferImportItem", + "Order": 8, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem.Create", + "ParentName": "App.Inventory.TransferImportItem", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem.Update", + "ParentName": "App.Inventory.TransferImportItem", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem.Delete", + "ParentName": "App.Inventory.TransferImportItem", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem.Export", + "ParentName": "App.Inventory.TransferImportItem", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem.Import", + "ParentName": "App.Inventory.TransferImportItem", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.TransferImportItem.Note", + "ParentName": "App.Inventory.TransferImportItem", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer", + "ParentName": null, + "DisplayName": "App.Inventory.Transfer", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer.Create", + "ParentName": "App.Inventory.Transfer", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer.Update", + "ParentName": "App.Inventory.Transfer", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer.Delete", + "ParentName": "App.Inventory.Transfer", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer.Export", + "ParentName": "App.Inventory.Transfer", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer.Import", + "ParentName": "App.Inventory.Transfer", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Transfer.Note", + "ParentName": "App.Inventory.Transfer", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock", + "ParentName": null, + "DisplayName": "App.Inventory.Stock", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock.Create", + "ParentName": "App.Inventory.Stock", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock.Update", + "ParentName": "App.Inventory.Stock", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock.Delete", + "ParentName": "App.Inventory.Stock", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock.Export", + "ParentName": "App.Inventory.Stock", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock.Import", + "ParentName": "App.Inventory.Stock", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.Stock.Note", + "ParentName": "App.Inventory.Stock", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove", + "ParentName": null, + "DisplayName": "App.Inventory.StockMove", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove.Create", + "ParentName": "App.Inventory.StockMove", + "DisplayName": "App.Platform.Create", + "Order": 1, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove.Update", + "ParentName": "App.Inventory.StockMove", + "DisplayName": "App.Platform.Update", + "Order": 2, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove.Delete", + "ParentName": "App.Inventory.StockMove", + "DisplayName": "App.Platform.Delete", + "Order": 3, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove.Export", + "ParentName": "App.Inventory.StockMove", + "DisplayName": "App.Platform.Export", + "Order": 4, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove.Import", + "ParentName": "App.Inventory.StockMove", + "DisplayName": "App.Platform.Import", + "Order": 5, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" + }, + { + "GroupName": "App.Inventory", + "Name": "App.Inventory.StockMove.Note", + "ParentName": "App.Inventory.StockMove", + "DisplayName": "App.Platform.Note", + "Order": 6, + "IsEnabled": true, + "MultiTenancySide": 3, + "Modules": "Inventory" } ] } diff --git a/configs/seeds/data/App.Definitions.Sequence.json b/configs/seeds/data/App.Definitions.Sequence.json index 0c2ddc1c..4f7b7cda 100644 --- a/configs/seeds/data/App.Definitions.Sequence.json +++ b/configs/seeds/data/App.Definitions.Sequence.json @@ -4,36 +4,9 @@ "GeneratedAt": "2026-09-04T00:00:00Z", "Order": 0, "Rows": [ - { - "Id": "593717fa-97f3-5d85-9d84-08ec94d8e23f", - "Name": "PurchaseCode1", - "Prefix": "PO", - "Suffix": "", - "IsActive": true, - "PaddingSize": 6, - "IncrementStep": 1, - "StartNumber": 1, - "NextNumber": 1, - "ResetPeriod": 0, - "FormatTemplate": "{Prefix}{Number}{Suffix}" - }, - { - "Id": "678c4337-5b06-51a7-9822-69d0dd90f13f", - "Name": "PurchaseCode2", - "Prefix": "PO", - "Suffix": "", - "IsActive": true, - "PaddingSize": 5, - "IncrementStep": 1, - "NextNumber": 1, - "ResetPeriod": 0, - "StartNumber": 1, - "LastPeriodKey": null, - "FormatTemplate": "{Prefix}{Number}{Suffix}" - }, { "Id": "28981dbf-cf64-459c-bffc-fdfaeed4b2ef", - "Name": "ProjeCode1", + "Name": "Prj.Project", "Prefix": "PRJ", "Suffix": null, "IsActive": true, @@ -47,7 +20,7 @@ }, { "Id": "e87c079d-0fa1-454b-9dd8-4e5adfc6e792", - "Name": "MaterialRequest1", + "Name": "Prc.MaterialRequest", "Prefix": "SRO", "Suffix": null, "IsActive": true, @@ -61,7 +34,7 @@ }, { "Id": "47556a76-69d9-4529-9b8e-b319d9155d3d", - "Name": "PurchaseAgreement1", + "Name": "Prc.PurchaseAgreement", "Prefix": "BO", "Suffix": "", "IsActive": true, @@ -75,7 +48,7 @@ }, { "Id": "939648b0-db87-4be0-a50d-62fd06e5a9b2", - "Name": "PurchaseOrder1", + "Name": "Prc.PurchaseOrder", "Prefix": "P", "Suffix": "", "IsActive": true, @@ -89,7 +62,7 @@ }, { "Id": "d1287271-43f1-514d-96f2-f786c467eae9", - "Name": "PurchaseRfq", + "Name": "Prc.PurchaseRfq", "Prefix": "RFQ", "Suffix": "", "IsActive": true, @@ -100,6 +73,146 @@ "StartNumber": 1, "LastPeriodKey": null, "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "fc401114-0a17-524a-8d98-51cb02f94147", + "Name": "Inventory.IKT.Receipt", + "Prefix": "IKT/IN/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "34083a68-128b-5aee-8b3a-ad7c2f8fa692", + "Name": "Inventory.IKT.Storage", + "Prefix": "IKT/STOR/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "519e6a49-1566-5380-b102-661b5f75eadb", + "Name": "Inventory.IKT.InternalTransfer", + "Prefix": "IKT/INT/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "87964867-3add-594a-87d2-896159c912d2", + "Name": "Inventory.IKT.Delivery", + "Prefix": "IKT/OUT/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "d4c5b099-a39f-5ea7-ace4-1c77f847fdde", + "Name": "Inventory.IKT.Manufacturing", + "Prefix": "IKT/MO/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "4044775b-b4e0-5e97-8544-fda146b47f59", + "Name": "Inventory.IKT.MaintenanceConsumption", + "Prefix": "IKT/BKM/SARF/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "ef8701e2-5ea4-5a32-b62e-0d290615ec0f", + "Name": "Inventory.IKT.DepartmentConsumption", + "Prefix": "IKT/SARF/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "923e47d5-3531-53c7-a3d6-318977d7f2f4", + "Name": "Inventory.IKT.Repair", + "Prefix": "IKT/RO/", + "Suffix": "", + "IsActive": true, + "PaddingSize": 5, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "977f5389-2dde-5c5a-a91b-b6a8b35e0d32", + "Name": "Inventory.LotNumber", + "Prefix": "LOT", + "Suffix": "", + "IsActive": true, + "PaddingSize": 6, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" + }, + { + "Id": "f7b4794e-a700-5637-a9c1-1ea66108a5a7", + "Name": "Inventory.SerialNumber", + "Prefix": "SN", + "Suffix": "", + "IsActive": true, + "PaddingSize": 6, + "IncrementStep": 1, + "NextNumber": 1, + "ResetPeriod": 0, + "StartNumber": 1, + "LastPeriodKey": null, + "FormatTemplate": "{Prefix}{Number}{Suffix}" } ] } diff --git a/configs/seeds/data/App.Inventory.Location.json b/configs/seeds/data/App.Inventory.Location.json index b83aff56..c15eb657 100644 --- a/configs/seeds/data/App.Inventory.Location.json +++ b/configs/seeds/data/App.Inventory.Location.json @@ -11,7 +11,43 @@ "Code": "0001", "Name": "Ana Depo", "DepartmentId": "8f14e45f-ea2d-4d9f-9f1d-1a2b3c4d5e6f", - "ResponsibleUserId": "77dc76f8-c567-974c-4bc6-3a2433f9216e", + "LocationType": "Internal", + "ParentId": null, + "IsActive": true, + "ResponsibleUserName": "system@sozsoft.com" + }, + { + "Id": "adcdb50b-69f7-5cd4-9942-6e012499e8f4", + "BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c", + "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", + "Code": "VEN", + "Name": "Tedarikçiler", + "DepartmentId": null, + "LocationType": "External", + "ParentId": null, + "IsActive": true, + "ResponsibleUserName": "system@sozsoft.com" + }, + { + "Id": "0178f19c-5f8c-5506-8d36-4fa5a4688124", + "BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c", + "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", + "Code": "CUS", + "Name": "Müşteriler", + "DepartmentId": null, + "LocationType": "External", + "ParentId": null, + "IsActive": true, + "ResponsibleUserName": "system@sozsoft.com" + }, + { + "Id": "15ceb858-663f-406e-b5a8-92c1fb3b361b", + "BranchId": "1c125bf3-3ffd-4445-a270-1bc43ac3f61c", + "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", + "Code": "0002", + "Name": "Ek Depo", + "DepartmentId": "8f14e45f-ea2d-4d9f-9f1d-1a2b3c4d5e6f", + "ResponsibleUserName": "system@sozsoft.com", "LocationType": "Internal", "ParentId": null, "IsActive": true diff --git a/configs/seeds/data/App.Inventory.OperationType.json b/configs/seeds/data/App.Inventory.OperationType.json index 85ed445a..7c3f2568 100644 --- a/configs/seeds/data/App.Inventory.OperationType.json +++ b/configs/seeds/data/App.Inventory.OperationType.json @@ -10,10 +10,10 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Alımlar", "OperationKind": "Receipt", - "SequencePrefix": "IN", + "SequenceName": "Inventory.IKT.Receipt", "Barcode": "WHIN", - "SourceLocationId": null, - "DestinationLocationId": null, + "SourceLocationId": "adcdb50b-69f7-5cd4-9942-6e012499e8f4", + "DestinationLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", "IsActive": true }, { @@ -22,10 +22,10 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Storage", "OperationKind": "InternalTransfer", - "SequencePrefix": "STOR", + "SequenceName": "Inventory.IKT.Storage", "Barcode": "WHSTOR", - "SourceLocationId": null, - "DestinationLocationId": null, + "SourceLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", + "DestinationLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", "IsActive": true }, { @@ -34,10 +34,10 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "İç Transferler", "OperationKind": "InternalTransfer", - "SequencePrefix": "INT", + "SequenceName": "Inventory.IKT.InternalTransfer", "Barcode": "WHINT", - "SourceLocationId": null, - "DestinationLocationId": null, + "SourceLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", + "DestinationLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", "IsActive": true }, { @@ -46,10 +46,10 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Teslimatlar", "OperationKind": "Delivery", - "SequencePrefix": "OUT", + "SequenceName": "Inventory.IKT.Delivery", "Barcode": "WHOUT", - "SourceLocationId": null, - "DestinationLocationId": null, + "SourceLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", + "DestinationLocationId": "0178f19c-5f8c-5506-8d36-4fa5a4688124", "IsActive": true }, { @@ -58,7 +58,7 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Manufacturing", "OperationKind": "Manufacturing", - "SequencePrefix": "MO", + "SequenceName": "Inventory.IKT.Manufacturing", "Barcode": "WHMANUF", "SourceLocationId": null, "DestinationLocationId": null, @@ -70,10 +70,10 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Bakım Sarf Tüketimi", "OperationKind": "InternalTransfer", - "SequencePrefix": "BKM/SARF", + "SequenceName": "Inventory.IKT.MaintenanceConsumption", "Barcode": null, - "SourceLocationId": null, - "DestinationLocationId": null, + "SourceLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", + "DestinationLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", "IsActive": true }, { @@ -82,10 +82,10 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Departman Sarf Çıkışı", "OperationKind": "InternalTransfer", - "SequencePrefix": "SARF", + "SequenceName": "Inventory.IKT.DepartmentConsumption", "Barcode": null, - "SourceLocationId": null, - "DestinationLocationId": null, + "SourceLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", + "DestinationLocationId": "d92a4c2e-1ca2-4453-a66c-e7b3bf682716", "IsActive": true }, { @@ -94,7 +94,7 @@ "WarehouseId": "1840580a-7984-cb0a-4008-3a2431f55623", "Name": "Onarımlar", "OperationKind": "Repair", - "SequencePrefix": "RO", + "SequenceName": "Inventory.IKT.Repair", "Barcode": "WHRO", "SourceLocationId": null, "DestinationLocationId": null, diff --git a/configs/seeds/data/App.Languages.LanguageText.json b/configs/seeds/data/App.Languages.LanguageText.json index 14c4a041..8e7fd87a 100644 --- a/configs/seeds/data/App.Languages.LanguageText.json +++ b/configs/seeds/data/App.Languages.LanguageText.json @@ -92815,14 +92815,14 @@ "CultureName": "en", "ResourceName": "Platform", "Key": "App.Inventory.OperationType.Desc", - "Value": "Operation Types — stock operation types defined per branch and warehouse (e.g. Receipts, Deliveries, Internal Transfers).\nWhere: Inventory › Definitions › Operation Types.\nFields: operation type name, type (Receipt / Delivery / Internal Transfer / Manufacturing / Repair), branch, warehouse (filtered by branch), sequence prefix, barcode, default source and destination locations (filtered by warehouse), active.\nUsed by: stock movement documents pick their type from here. Changing the branch clears warehouse and locations." + "Value": "Operation Types — stock operation types defined per branch and warehouse (e.g. Receipts, Deliveries, Internal Transfers).\nWhere: Inventory › Definitions › Operation Types.\nFields: operation type name, type (Receipt / Delivery / Internal Transfer / Manufacturing / Repair), branch, warehouse (filtered by branch), sequence (document numbers of the transfers come from it, e.g. IKT/IN/00001), barcode, default source and destination locations (filtered by warehouse), active.\nUsed by: stock movement documents pick their type from here. Changing the branch clears warehouse and locations." }, { "Id": "4b719197-c5b3-58ae-81ba-f9bec2c2b631", "CultureName": "tr", "ResourceName": "Platform", "Key": "App.Inventory.OperationType.Desc", - "Value": "Operasyon Türleri — şube ve depo bazında tanımlanan stok operasyon türleri (ör. Alımlar, Teslimatlar, İç Transferler).\nNerede: Envanter › Tanımlamalar › Operasyon Türleri.\nAlanlar: operasyon türü adı, tür (Alım / Teslimat / İç Transfer / Üretim / Onarım), şube, depo (şubeye göre süzülür), sıra öneki, barkod, varsayılan kaynak ve hedef konum (depoya göre süzülür), aktif.\nKullanıldığı yer: stok hareket belgeleri türünü buradan seçer. Şube değişince depo ve konumlar temizlenir." + "Value": "Operasyon Türleri — şube ve depo bazında tanımlanan stok operasyon türleri (ör. Alımlar, Teslimatlar, İç Transferler).\nNerede: Envanter › Tanımlamalar › Operasyon Türleri.\nAlanlar: operasyon türü adı, tür (Alım / Teslimat / İç Transfer / Üretim / Onarım), şube, depo (şubeye göre süzülür), numaratör (transfer belgelerinin numarası buradan gelir, ör. IKT/IN/00001), barkod, varsayılan kaynak ve hedef konum (depoya göre süzülür), aktif.\nKullanıldığı yer: stok hareket belgeleri türünü buradan seçer. Şube değişince depo ve konumlar temizlenir." }, { "Id": "5dc6bd0a-b938-54cf-95f1-80ad873bd874", @@ -92922,20 +92922,6 @@ "Key": "App.Listform.ListformField.OperationKind", "Value": "Tür" }, - { - "Id": "a7dc1058-63c0-5cb9-9fef-b500641301e7", - "CultureName": "en", - "ResourceName": "Platform", - "Key": "App.Listform.ListformField.SequencePrefix", - "Value": "Sequence Prefix" - }, - { - "Id": "095805ef-5df8-578d-992e-be1d59398d59", - "CultureName": "tr", - "ResourceName": "Platform", - "Key": "App.Listform.ListformField.SequencePrefix", - "Value": "Sıra Öneki" - }, { "Id": "0325196f-c464-563d-ad35-735a6d922af0", "CultureName": "en", @@ -94257,14 +94243,14 @@ "CultureName": "en", "ResourceName": "Platform", "Key": "App.Prc.PurchaseOrderLine.Desc", - "Value": "Order Lines — the products of a purchase order.\nWhere: Purchasing › Orders › Purchase Orders › Products tab (no menu of its own).\nFields: product, description, quantity, unit, unit price, tax rate, amount (quantity × unit price, calculated), delivery date, material request line (read-only).\nRules: lines of a cancelled order cannot be changed; after every change the order totals are recalculated. Lines of an order converted from an RFQ come from the winning RFQ lines." + "Value": "Order Lines — the products of a purchase order.\nWhere: Purchasing › Orders › Purchase Orders › Products tab (no menu of its own).\nFields: product, description, quantity, unit, unit price, tax rate, amount (quantity × unit price, calculated), delivery date, material request line (read-only); the list also shows the received quantity (written by Validate of the receipt, reduced by a return).\nRules: lines of a cancelled order cannot be changed; after every change the order totals are recalculated. Lines of an order converted from an RFQ come from the winning RFQ lines." }, { "Id": "9a9405ac-9609-55a4-a23a-6d470daedae0", "CultureName": "tr", "ResourceName": "Platform", "Key": "App.Prc.PurchaseOrderLine.Desc", - "Value": "Sipariş Kalemleri — satınalma siparişinin ürünleri.\nNerede: Satınalma › Siparişler › Satınalma Siparişleri › Ürünler sekmesi (kendi menüsü yoktur).\nAlanlar: ürün, açıklama, miktar, birim, birim fiyat, vergi oranı, tutar (miktar × birim fiyat, hesaplanır), teslim tarihi, talep kalemi (salt okunur).\nKurallar: iptal edilmiş siparişin kalemi değiştirilemez; her değişiklikte sipariş toplamları yeniden hesaplanır. Teklif talebinden dönüştürülen siparişin kalemleri kazanan teklif kalemlerinden gelir." + "Value": "Sipariş Kalemleri — satınalma siparişinin ürünleri.\nNerede: Satınalma › Siparişler › Satınalma Siparişleri › Ürünler sekmesi (kendi menüsü yoktur).\nAlanlar: ürün, açıklama, miktar, birim, birim fiyat, vergi oranı, tutar (miktar × birim fiyat, hesaplanır), teslim tarihi, talep kalemi (salt okunur); listede ayrıca alınan miktar (alımın Doğrula'sı yazar, iadede düşer).\nKurallar: iptal edilmiş siparişin kalemi değiştirilemez; her değişiklikte sipariş toplamları yeniden hesaplanır. Teklif talebinden dönüştürülen siparişin kalemleri kazanan teklif kalemlerinden gelir." }, { "Id": "a7e229db-465a-5305-9150-3e2ae525853d", @@ -95623,6 +95609,1504 @@ "ResourceName": "Platform", "Key": "App.StaticLookup.Confirmed", "Value": "Onaylandı" + }, + { + "Id": "378e7789-829c-54e2-a72c-9c05fdb47f8b", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.StaticLookup.Waiting", + "Value": "Waiting" + }, + { + "Id": "7e4d0af0-b2bb-5b60-8631-53cdcd51e959", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.StaticLookup.Waiting", + "Value": "Bekleyen" + }, + { + "Id": "022b7275-6e95-5785-900a-4be7906e5e32", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.StaticLookup.Ready", + "Value": "Ready" + }, + { + "Id": "16a74d94-5777-5524-9e0a-39b9212022c7", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.StaticLookup.Ready", + "Value": "Hazır" + }, + { + "Id": "04d9d2e8-0b8e-518f-959c-6750915a7107", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.StaticLookup.Done", + "Value": "Done" + }, + { + "Id": "d393b425-7513-5f84-a902-41e8a6da817b", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.StaticLookup.Done", + "Value": "Tamamlandı" + }, + { + "Id": "15cdd455-04c9-5ac9-87dd-b753ec58b21f", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.StaticLookup.DeliveryDirect", + "Value": "As soon as possible" + }, + { + "Id": "6c248492-2a25-5632-ab78-b49eea4f4422", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.StaticLookup.DeliveryDirect", + "Value": "Mümkün olduğunca kısa sürede" + }, + { + "Id": "96d7a1c3-94d2-5393-ad23-c2b21a8d75ef", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.StaticLookup.DeliveryOneTime", + "Value": "When all products are ready" + }, + { + "Id": "8407c6c6-a39c-5f57-a841-bfd633641526", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.StaticLookup.DeliveryOneTime", + "Value": "Tüm ürünler hazır olduğunda" + }, + { + "Id": "478168ae-24f2-54a9-8e82-9e54add2d978", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Operations", + "Value": "Operations" + }, + { + "Id": "a5f785db-34fa-5dce-8689-e638b3897388", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Operations", + "Value": "Operasyonlar" + }, + { + "Id": "8cc539ba-8c54-55ad-9f25-ffcded158db6", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt", + "Value": "Receipts" + }, + { + "Id": "72d6b28b-167a-5770-919f-c22a938db528", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt", + "Value": "Alımlar" + }, + { + "Id": "245d3cab-9c81-57ff-b439-022172a3bdbf", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt.Title", + "Value": "Receipts" + }, + { + "Id": "6d4e8564-e51a-585b-8ad5-5d49aca11891", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt.Title", + "Value": "Alımlar" + }, + { + "Id": "3df124ed-8822-55d5-bc20-a3d6f80442ec", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt.Desc", + "Value": "Receipts — goods entering the warehouse from suppliers.\nWhere: Inventory › Operations › Receipts. Confirming a purchase order opens a draft receipt automatically (Source Document = order no; received quantities are written back to the order lines).\nFields: received from (supplier), branch › warehouse › operation type (receipt types only), destination location (from the operation type), scheduled date, source document.\nStatuses: Draft › Waiting / Ready › Done; Cancelled. Row buttons appear according to the document status. Mark as Ready checks stock and fills the done quantity; Mark as Done posts stock by branch › warehouse › location › product › lot; the remainder of lines done below demand moves to a new document (backorder). Return opens a reverse draft document from a done one; Print prints the transfer slip.\nTabs: Operations (product lines; Details for lots/serials, Generate Lot/Serial and Auto Assign), Additional Info (shipping, responsible, project), Note.\nProducts with inventory tracking off create no stock move; products tracked by lot or serial need a lot distribution before Mark as Done. The number comes from the operation type's sequence. Related screens: Inventory › Stock, Moves and Product Moves." + }, + { + "Id": "0a2ba7f8-4700-52bf-a81f-6b83dab2894d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt.Desc", + "Value": "Alımlar — tedarikçiden depoya giren mallar.\nNerede: Envanter › Operasyonlar › Alımlar. Satınalma siparişi onaylanınca taslak alım kendiliğinden açılır (Kaynak Belge = sipariş no; alınan miktarlar sipariş kalemlerine yazılır).\nAlanlar: alım yapılan (tedarikçi), şube › depo › operasyon türü (yalnız alım türleri), hedef konum (operasyon türünden gelir), planlanan tarih, kaynak belge.\nDurumlar: Taslak › Bekleyen / Hazır › Tamamlandı; İptal. Satırdaki butonlar belgenin durumuna göre görünür. Hazırla stoğu kontrol eder ve yapılacak miktarı doldurur; Tamamla stoğu şube › depo › konum › ürün › lot bazında günceller, talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. İade Et, tamamlanmış belgeden ters yönlü taslak belge açar; Yazdır transfer fişini basar.\nSekmeler: Operasyonlar (ürün satırları; Detaylar ile lot/seri, Lot/Seri Oluştur ve Otomatik Ata), Ek Bilgi (nakliye, sorumlu, proje), Not.\nÜrünün Envanter Takibi kapalıysa stok hareketi oluşmaz; Takip Yöntemi Lot ya da Seri ise Tamamla'dan önce lot dağılımı girilmelidir. Numara operasyon türünün numaratöründen verilir. İlişkili ekranlar: Envanter › Stok, Hareketler ve Ürün Hareketleri." + }, + { + "Id": "6f2ff0f5-fc3c-59c8-97c4-d9b3b83137d5", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.TransferNo", + "Value": "Slip No" + }, + { + "Id": "2d50a7df-3200-55ed-8198-bca1f7306f88", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.TransferNo", + "Value": "Fiş No" + }, + { + "Id": "1a3c3724-1f96-5a64-8722-c0d55ccaf0cf", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt.PartnerId", + "Value": "Received From" + }, + { + "Id": "1134eceb-9d33-51ac-a962-8a07e3a4782d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Receipt.PartnerId", + "Value": "Tedarikçi Adı" + }, + { + "Id": "e7932398-3958-5c11-be53-ab3ff611ac16", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ScheduledDate", + "Value": "Scheduled Date" + }, + { + "Id": "ddcc3dc5-c055-5e62-afaa-dca95679bfef", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ScheduledDate", + "Value": "Planlanan Tarih" + }, + { + "Id": "19f84358-7f40-52fe-9a84-760606c962ba", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SourceLocationId", + "Value": "Source Location" + }, + { + "Id": "ccdffc52-f20b-5232-83ed-5b06c7ed5ee1", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SourceLocationId", + "Value": "Kaynak Konum" + }, + { + "Id": "74bd7a74-d50c-5fce-81b8-9a3786c05b0f", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.DestinationLocationId", + "Value": "Destination Location" + }, + { + "Id": "4ea9b184-725a-5c8e-ad0f-9c6d16020c74", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.DestinationLocationId", + "Value": "Hedef Konum" + }, + { + "Id": "4f57cf86-0634-5088-bc09-94037f33eda3", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LineSummary", + "Value": "LineSummary" + }, + { + "Id": "6f8b0031-f3cc-5ce8-9aef-a2dbab65e073", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LineSummary", + "Value": "LineSummary" + }, + { + "Id": "d54f26dc-4353-57a8-8098-2c5383659b97", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Confirm", + "Value": "Mark as Ready" + }, + { + "Id": "c10f4cb6-aa4b-555a-8c65-a03b47f5256e", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Confirm", + "Value": "Hazırla" + }, + { + "Id": "afb4560a-2baf-535f-baeb-11788b295c1a", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Validate", + "Value": "Mark as Done" + }, + { + "Id": "bb92c46c-90b6-5184-9432-04edae1b0d2d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Validate", + "Value": "Tamamla" + }, + { + "Id": "1f33136e-b4e6-5f22-bff8-229fcfdc57e4", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Cancel", + "Value": "Cancel" + }, + { + "Id": "71b6d3bf-3477-56d6-8771-f1a387bfefee", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Cancel", + "Value": "İptal Et" + }, + { + "Id": "06b5e061-53cf-56ff-b9ba-a1172c2d62ed", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Return", + "Value": "Return" + }, + { + "Id": "ad260ed9-c40f-512e-8a5e-eae1cac55482", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Return", + "Value": "İade Et" + }, + { + "Id": "1c5ae0ea-788c-503f-95bf-0febf8ff0f24", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Print", + "Value": "Print" + }, + { + "Id": "03578111-386b-573c-ad72-3d9e12e394a4", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Action.Print", + "Value": "Yazdır" + }, + { + "Id": "5a78353a-3d48-5ef2-8836-4291b864fb22", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.ConfirmAction", + "Value": "Apply this action to the selected document?" + }, + { + "Id": "eb49a024-b537-58cd-83eb-a7ff471e7be8", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.ConfirmAction", + "Value": "Bu işlem seçili belgeye uygulansın mı?" + }, + { + "Id": "12a40883-4a7b-58fc-bb61-a17ede939528", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Operations", + "Value": "Operations" + }, + { + "Id": "d340bd8b-fb8e-5c9b-93ec-d3a6fc6a1627", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Operations", + "Value": "Operasyonlar" + }, + { + "Id": "dd5e4c95-387a-5684-9b17-c0d8623c1d6f", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Other", + "Value": "Additional Info" + }, + { + "Id": "78bf1e49-bb7a-58fb-b21d-93826ba138c5", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Other", + "Value": "Ek Bilgi" + }, + { + "Id": "e3cd9d27-e118-5d4d-836f-14f4686b5857", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Note", + "Value": "Note" + }, + { + "Id": "53a14a2c-9c8f-5529-93df-b1099a5f3905", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Note", + "Value": "Not" + }, + { + "Id": "29519bbf-6a72-5f88-83a8-e297683e22f0", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Ready", + "Value": "Ready" + }, + { + "Id": "74af75a5-a87d-5f63-a447-9c81abdc4e8c", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Ready", + "Value": "Hazır" + }, + { + "Id": "3c46c98f-dc34-5664-a7d6-e88d34935b60", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Waiting", + "Value": "Waiting" + }, + { + "Id": "f6b5b773-5da9-52a9-8a14-35d5ebe1ed2a", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Waiting", + "Value": "Bekleyen" + }, + { + "Id": "86f2c428-25c2-5b23-8e99-2614d5beece1", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Late", + "Value": "Late" + }, + { + "Id": "fb2e4fa6-c274-54eb-8124-57f07b936557", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Late", + "Value": "Geciken" + }, + { + "Id": "58611c92-7692-51c5-9c28-1ea3b98fcd93", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery", + "Value": "Deliveries" + }, + { + "Id": "b0821b91-801c-50c6-8b30-edd9a016890e", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery", + "Value": "Teslimatlar" + }, + { + "Id": "57ebd36d-73c5-5029-aa47-14d9be687ba3", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery.Title", + "Value": "Deliveries" + }, + { + "Id": "5db6779b-729f-5eda-8dc2-87dda1a6aacf", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery.Title", + "Value": "Teslimatlar" + }, + { + "Id": "db1a0767-27a6-5813-ada5-8c92f3b6fb07", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery.Desc", + "Value": "Deliveries — goods leaving the warehouse to customers.\nWhere: Inventory › Operations › Deliveries.\nFields: delivery address (contact), branch › warehouse › operation type (delivery types only), source location (from the operation type), scheduled date, source document, shipping policy (As soon as possible: the available part becomes Ready; When all products are ready: waits until every line is available).\nStatuses: Draft › Waiting / Ready › Done; Cancelled. Row buttons appear according to the document status. Mark as Ready checks stock and fills the done quantity; Mark as Done posts stock by branch › warehouse › location › product › lot; the remainder of lines done below demand moves to a new document (backorder). Return opens a reverse draft document from a done one; Print prints the transfer slip.\nTabs: Operations (product lines; Details for lots/serials, Generate Lot/Serial and Auto Assign), Additional Info (shipping, responsible, project), Note.\nProducts with inventory tracking off create no stock move; products tracked by lot or serial need a lot distribution before Mark as Done. The number comes from the operation type's sequence. Related screens: Inventory › Stock, Moves and Product Moves." + }, + { + "Id": "f17cde8d-5768-5e50-874b-6c29579d1703", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery.Desc", + "Value": "Teslimatlar — depodan müşteriye çıkan mallar.\nNerede: Envanter › Operasyonlar › Teslimatlar.\nAlanlar: teslim adresi (kontak), şube › depo › operasyon türü (yalnız teslimat türleri), kaynak konum (operasyon türünden gelir), planlanan tarih, kaynak belge, ürün teslimat politikası (Mümkün olduğunca kısa sürede: karşılanabilen kısım Hazır olur; Tüm ürünler hazır olduğunda: bütün satırlar karşılanana kadar Bekleyen kalır).\nDurumlar: Taslak › Bekleyen / Hazır › Tamamlandı; İptal. Satırdaki butonlar belgenin durumuna göre görünür. Hazırla stoğu kontrol eder ve yapılacak miktarı doldurur; Tamamla stoğu şube › depo › konum › ürün › lot bazında günceller, talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. İade Et, tamamlanmış belgeden ters yönlü taslak belge açar; Yazdır transfer fişini basar.\nSekmeler: Operasyonlar (ürün satırları; Detaylar ile lot/seri, Lot/Seri Oluştur ve Otomatik Ata), Ek Bilgi (nakliye, sorumlu, proje), Not.\nÜrünün Envanter Takibi kapalıysa stok hareketi oluşmaz; Takip Yöntemi Lot ya da Seri ise Tamamla'dan önce lot dağılımı girilmelidir. Numara operasyon türünün numaratöründen verilir. İlişkili ekranlar: Envanter › Stok, Hareketler ve Ürün Hareketleri." + }, + { + "Id": "16082b7c-d201-570b-b8ff-b11b20b2a2c4", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery.PartnerId", + "Value": "Delivery Address" + }, + { + "Id": "f2ef551a-f2b4-527f-a470-dc58f7e18bba", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Delivery.PartnerId", + "Value": "Teslim Adresi" + }, + { + "Id": "ebb00c4d-4962-590b-aa85-63deb6a2a042", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.DeliveryPolicy", + "Value": "Shipping Policy" + }, + { + "Id": "94a045ed-3a7a-5cc8-a671-02bf370f646d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.DeliveryPolicy", + "Value": "Ürün Teslimat Politikası" + }, + { + "Id": "748b13f1-4c0d-5425-b647-3e807e193005", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer", + "Value": "Internal Transfers" + }, + { + "Id": "9e5a4aa0-a941-5279-8a29-f1cea5f73d4f", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer", + "Value": "İç Transferler" + }, + { + "Id": "e14d9561-f654-554f-afc5-3ddd0ec9813a", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer.Title", + "Value": "Internal Transfers" + }, + { + "Id": "fcab47cd-63dc-5c41-b0bd-4f6c19f5b952", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer.Title", + "Value": "İç Transferler" + }, + { + "Id": "d7040d7b-c248-5c18-9aa3-5a8b0ae75dcc", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer.Desc", + "Value": "Internal Transfers — moves between locations of the same warehouse.\nWhere: Inventory › Operations › Internal Transfers; extra tab Approval & Delivery.\nFields: contact, branch › warehouse › operation type (internal transfer types only), source and destination location (internal locations only, different from each other), scheduled date, source document.\nOrder: enter the lines › Start Workflow › the warehouse responsible of the source location gives Source Warehouse Approval › the document is made ready automatically (Ready/Waiting) › select lots › Mark as Done. A location without a responsible has no approval step (No Approval Needed) and Mark as Ready is pressed by hand. Approval comes before the stock move; Mark as Done writes the receiving user and date.\nImport from Requests (draft transfer) adds the approved material request lines to be fulfilled by transfer; Mark as Done writes the delivered quantity to the request line.\nStatuses: Draft › Waiting / Ready › Done; Cancelled. Row buttons appear according to the document status. Mark as Ready checks stock and fills the done quantity; Mark as Done posts stock by branch › warehouse › location › product › lot; the remainder of lines done below demand moves to a new document (backorder). Return opens a reverse draft document from a done one; Print prints the transfer slip.\nTabs: Operations (product lines; Details for lots/serials, Generate Lot/Serial and Auto Assign), Additional Info (shipping, responsible, project), Note.\nProducts with inventory tracking off create no stock move; products tracked by lot or serial need a lot distribution before Mark as Done. The number comes from the operation type's sequence. Related screens: Inventory › Stock, Moves and Product Moves." + }, + { + "Id": "607d1ef7-46dc-5c82-a5e9-c3b08b43ff6d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer.Desc", + "Value": "İç Transferler — aynı deponun konumları arasında taşıma.\nNerede: Envanter › Operasyonlar › İç Transferler; ek sekme Onay ve Teslim.\nAlanlar: kontak, şube › depo › operasyon türü (yalnız iç transfer türleri), kaynak ve hedef konum (yalnız iç konumlar, birbirinden farklı), planlanan tarih, kaynak belge.\nSıra: satırlar girilir › İş Akışı Başlat › kaynak konumun depo sorumlusu Kaynak Depo Onayı verir › belge kendiliğinden hazırlanır (Hazır/Bekleyen) › lotlar seçilir › Tamamla. Sorumlusu olmayan konumda onay adımı yoktur (Onay Gerekmez) ve Hazırla elle basılır. Onay stok hareketinden önce gelir; Tamamla teslim alanı ve teslim alma tarihini yazar.\nTalepten Aktar (taslak transferde) transferle karşılanacak onaylı malzeme talebi kalemlerini ekler; Tamamla teslim edilen miktarı talep kalemine yazar.\nDurumlar: Taslak › Bekleyen / Hazır › Tamamlandı; İptal. Satırdaki butonlar belgenin durumuna göre görünür. Hazırla stoğu kontrol eder ve yapılacak miktarı doldurur; Tamamla stoğu şube › depo › konum › ürün › lot bazında günceller, talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. İade Et, tamamlanmış belgeden ters yönlü taslak belge açar; Yazdır transfer fişini basar.\nSekmeler: Operasyonlar (ürün satırları; Detaylar ile lot/seri, Lot/Seri Oluştur ve Otomatik Ata), Ek Bilgi (nakliye, sorumlu, proje), Not.\nÜrünün Envanter Takibi kapalıysa stok hareketi oluşmaz; Takip Yöntemi Lot ya da Seri ise Tamamla'dan önce lot dağılımı girilmelidir. Numara operasyon türünün numaratöründen verilir. İlişkili ekranlar: Envanter › Stok, Hareketler ve Ürün Hareketleri." + }, + { + "Id": "7c613a76-67c4-5c0c-a419-2c86a69451da", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer.PartnerId", + "Value": "Contact" + }, + { + "Id": "833c9f62-1945-5e36-80bc-5204291b6902", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.InternalTransfer.PartnerId", + "Value": "Kontak" + }, + { + "Id": "324c39f3-510a-5726-a0e7-a1d78c19523a", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval.ApprovalStatus", + "Value": "Source Warehouse Approval" + }, + { + "Id": "5292b5cf-35dd-504a-b02a-6ebe282a30ba", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval.ApprovalStatus", + "Value": "Kaynak Depo Onayı" + }, + { + "Id": "794c4f77-ce12-5cb0-a46b-f3731669e119", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SourceApproverUserNames", + "Value": "SourceApproverUserNames" + }, + { + "Id": "c02c8dec-1538-5d28-b893-b5a0f06885dd", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SourceApproverUserNames", + "Value": "SourceApproverUserNames" + }, + { + "Id": "2a5069ee-d239-5038-a6ca-4478865dc461", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.ImportRequests", + "Value": "Import from Requests" + }, + { + "Id": "e494a857-ad73-5eda-a82d-7c2a3a5d753a", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.ImportRequests", + "Value": "Talepten Aktar" + }, + { + "Id": "0d4b7e72-787a-5779-9b0e-68b0f096a85e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.ImportRequestsInfo", + "Value": "Select the approved material request lines to be fulfilled by transfer and click Transfer Selected. Only requests of the document branch are listed." + }, + { + "Id": "16ca9a3f-231d-5242-9e79-a4574022bb87", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.ImportRequestsInfo", + "Value": "Transferle karşılanacak onaylı malzeme talebi kalemlerini seçip Seçilenleri Aktar butonuna basın. Yalnız belgenin şubesindeki talepler listelenir." + }, + { + "Id": "e359487a-2cc2-55e0-b076-eb0e2931e383", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Approval", + "Value": "Approval & Delivery" + }, + { + "Id": "741e07c5-a60f-5914-afbb-5cf06499457d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Tab.Approval", + "Value": "Onay ve Teslim" + }, + { + "Id": "b2400766-1d59-57a4-b98e-de79e6910904", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine", + "Value": "Transfer Lines" + }, + { + "Id": "82947d41-476f-5e5f-b637-33af771565f2", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine", + "Value": "Transfer Satırları" + }, + { + "Id": "fc0cd7f9-737f-5143-90fa-9ee3ab237a11", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.Title", + "Value": "Transfer Lines" + }, + { + "Id": "548f689d-db1b-58f2-b8c8-3fc8db63df0b", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.Title", + "Value": "Transfer Satırları" + }, + { + "Id": "21809b9a-bd09-56ef-ad8f-d161902c24c1", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.Desc", + "Value": "Transfer Lines — product lines of receipts, deliveries and internal transfers.\nWhere: Operations tab of Inventory › Operations › Receipts, Deliveries and Internal Transfers.\nFields: product (unit comes from the product), description, demand, done quantity (filled by Mark as Ready, editable before Mark as Done), unit.\nRow buttons — shown only on lines of lot/serial tracked products: Details opens the lot/serial distribution (incoming lines type new numbers, outgoing lines select from the stock of the source location); Generate Lot/Serial (incoming lines of lot/serial tracked products, from the Inventory.LotNumber / Inventory.SerialNumber sequences) and Auto Assign (outgoing lines, first-in first-out from the source location). On lot/serial tracked lines the done quantity follows the total of the entered lots, and the Lots column lists them. Lines of done or cancelled documents cannot be changed." + }, + { + "Id": "5dd858a1-e562-5fd9-adb7-e8406c90cf5d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.Desc", + "Value": "Transfer Satırları — alım, teslimat ve iç transferlerin ürün satırları.\nNerede: Envanter › Operasyonlar › Alımlar, Teslimatlar ve İç Transferler ekranlarının Operasyonlar sekmesi.\nAlanlar: ürün (birim üründen gelir), açıklama, talep, yapılan miktar (Hazırla doldurur, Tamamla'dan önce değiştirilebilir), birim.\nSatır butonları — yalnız lot/seri takipli ürünün satırında görünür: Detaylar lot/seri dağılımını açar (giren satırda numara yazılır, çıkan satırda kaynak konumun stoğundan seçilir); Lot/Seri Oluştur (lot/seri takipli ürünün giriş satırı; Inventory.LotNumber / Inventory.SerialNumber numaratöründen) ve Otomatik Ata (çıkış satırı; kaynak konumdan ilk giren ilk çıkar). Lot/seri takipli satırda yapılan miktar girilen lotların toplamını izler; Lotlar kolonu seçilen lotları listeler. Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez." + }, + { + "Id": "ae8cdf0d-5895-5570-8d32-7d15e9f1dbeb", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.TransferId", + "Value": "TransferId" + }, + { + "Id": "984c97e8-f288-5d17-9ee6-e8c351ec2887", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.TransferId", + "Value": "TransferId" + }, + { + "Id": "7f4c50e7-7fe5-52a0-a7d2-ac4a39fe5a79", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.DemandQuantity", + "Value": "Demand" + }, + { + "Id": "fee3fa85-8e89-5de5-95fa-ff2eea3765ba", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.DemandQuantity", + "Value": "Talep" + }, + { + "Id": "2bf63ebf-8dd9-544f-b9de-6934dd16d269", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.PurchaseOrderLineId", + "Value": "PurchaseOrderLineId" + }, + { + "Id": "f83b2bf4-2fef-5a24-8581-d21ceb2c6da1", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.PurchaseOrderLineId", + "Value": "PurchaseOrderLineId" + }, + { + "Id": "9035369c-ab30-54db-9c41-bed06b894613", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.GenerateLots", + "Value": "Generate Lot/Serial" + }, + { + "Id": "173b6188-1087-5dd5-8eef-585a13e07185", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.GenerateLots", + "Value": "Lot/Seri Oluştur" + }, + { + "Id": "b2c4a2b0-7af1-5698-939f-36d297cd47fd", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.AssignLots", + "Value": "Auto Assign Lots" + }, + { + "Id": "0fdb8811-5700-52d1-b312-a2c1e87d1e42", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.AssignLots", + "Value": "Otomatik Ata" + }, + { + "Id": "13e51f9b-a78e-505a-bd1f-68470fe572d7", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.Details", + "Value": "Details" + }, + { + "Id": "f48c9ddb-afe5-5f59-9b3a-7a62b3089748", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLine.Details", + "Value": "Detaylar" + }, + { + "Id": "320f8877-e3c0-5b8f-9819-a4f3d144064e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot.Info", + "Value": "Type the lot/serial numbers of the incoming goods or use Generate Lot/Serial on the line. The total must equal the done quantity." + }, + { + "Id": "954f4768-44da-54d6-b58c-e5d63add860f", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot.Info", + "Value": "Giren malın lot/seri numaraları yazılır ya da satırda Lot/Seri Oluştur kullanılır. Toplam, yapılan miktara eşit olmalıdır." + }, + { + "Id": "3bb5cc86-93e6-53d9-8f28-810d75249f8e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot", + "Value": "Lot/Serial Numbers" + }, + { + "Id": "bbecc03f-2b25-5df6-b259-9a66fc1b7e6c", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot", + "Value": "Lot/Seri Numaraları" + }, + { + "Id": "41e671e2-bdfc-5be0-a555-01773950e083", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot.Title", + "Value": "Lot/Serial Numbers" + }, + { + "Id": "40466c21-48ca-5732-b45e-ed6aaf5e7fd7", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot.Title", + "Value": "Lot/Seri Numaraları" + }, + { + "Id": "155217d4-4789-566a-b6a6-323a59a2ca55", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot.Desc", + "Value": "Lot/Serial Numbers — lot or serial numbers of an incoming line (receipt, return of a delivery), opened with the Details button of the line.\nFields: lot/serial number (a new number is typed; or use Generate Lot/Serial on the line), quantity in the line unit.\nThe total must equal the done quantity of the line before Mark as Done; a serial-tracked product needs one row of 1 per serial. Outgoing lines open Lots from Stock instead. Lots of done or cancelled documents cannot be changed." + }, + { + "Id": "a68fdfe0-64ae-5c25-87f4-ab183d624b79", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLot.Desc", + "Value": "Lot/Seri Numaraları — stoğa giren satırın (alım, teslimat iadesi) lot ya da seri numaraları; satırdaki Detaylar butonuyla açılır.\nAlanlar: lot/seri no (yeni numara yazılır ya da satırda Lot/Seri Oluştur kullanılır), miktar (satırın biriminde).\nTamamla'dan önce toplam satırın yapılan miktarına eşit olmalıdır; seri takipli üründe her seri 1 adetlik ayrı satırdır. Stoktan çıkan satır bunun yerine Stoktan Lot Seçimi'ni açar. Tamamlanmış ya da iptal edilmiş belgenin lotları değiştirilemez." + }, + { + "Id": "99136260-5535-5a4c-9025-13e5bf968e84", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock", + "Value": "Lots from Stock" + }, + { + "Id": "1207ca81-ba83-55e0-acd4-7f580a4d93e8", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock", + "Value": "Stoktan Lot Seçimi" + }, + { + "Id": "b140137a-dc8b-5ccb-ae72-2856cbcb8535", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock.Title", + "Value": "Lots from Stock" + }, + { + "Id": "af23c52c-9ff0-571b-9daf-c6df4e24c3a8", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock.Title", + "Value": "Stoktan Lot Seçimi" + }, + { + "Id": "2e3b8519-4def-5db9-9791-b64a5bb2e15b", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock.Desc", + "Value": "Lots from Stock — every lot/serial in stock at the source location of an outgoing line (delivery, internal transfer, return of a receipt), opened with the Details button of the line.\nColumns: select, lot/serial number, in date, on hand (in the line unit), selected quantity, unit.\nTicking Select fills Selected Quantity with the quantity on hand; it can be lowered but not raised above the stock of the lot; unticking removes the lot. Changes are kept with Save Changes. Auto Assign on the line fills first-in first-out. The total must equal the done quantity before Mark as Done. Lots of done or cancelled documents cannot be changed." + }, + { + "Id": "e0918550-aa62-5175-ab14-622078c01967", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock.Desc", + "Value": "Stoktan Lot Seçimi — stoktan çıkan satırın (teslimat, iç transfer, alım iadesi) kaynak konumundaki bütün lot/seriler; satırdaki Detaylar butonuyla açılır.\nKolonlar: seç, lot/seri no, giriş tarihi, eldeki miktar (satırın biriminde), seçilen miktar, birim.\nSeç işaretlenince Seçilen Miktar eldeki miktarla dolar; azaltılabilir, lotun stoğunun üstüne çıkamaz; işaret kaldırılınca lot satırdan çıkar. Değişiklikler Değişiklikleri Kaydet ile yazılır. Satırdaki Otomatik Ata ilk giren ilk çıkar kuralıyla doldurur. Tamamla'dan önce toplam yapılan miktara eşit olmalıdır. Tamamlanmış ya da iptal edilmiş belgenin lotları değiştirilemez." + }, + { + "Id": "269239d7-b9fb-531a-99a4-440a7d2ebc39", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock.Info", + "Value": "Tick the lots to deliver: Selected Quantity takes the quantity on hand and can be lowered. Save with Save Changes; the total must equal the done quantity." + }, + { + "Id": "58bd127c-2d79-510a-b85b-b5c3b3632e85", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferLineLotStock.Info", + "Value": "Çıkacak lotları işaretleyin: Seçilen Miktar eldeki miktarla dolar, azaltılabilir. Değişiklikleri Kaydet ile yazın; toplam yapılan miktara eşit olmalıdır." + }, + { + "Id": "5d558c5a-10c4-5a6a-866e-33ad443b0dbb", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.OnHand", + "Value": "On Hand" + }, + { + "Id": "c404ed96-74f0-5137-8528-1981c6b0ca17", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.OnHand", + "Value": "Eldeki Miktar" + }, + { + "Id": "4dbcfac8-2b26-52ab-838d-4f072931ac92", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SelectedQuantity", + "Value": "Selected Quantity" + }, + { + "Id": "2ddb5320-2a67-5d3c-bef9-03ec2f7f99e6", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SelectedQuantity", + "Value": "Seçilen Miktar" + }, + { + "Id": "2ec2a201-48f1-5f14-b026-e63a93172159", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LotFromStock", + "Value": "Lot from Stock" + }, + { + "Id": "0dc6803e-ba58-572c-b25e-7f24088a832e", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LotFromStock", + "Value": "Lot Stoktan" + }, + { + "Id": "51cb2fc8-5585-5dba-bf26-1e6b8bf2b3ee", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LotNumbers", + "Value": "Lots" + }, + { + "Id": "78401023-c412-5a28-8e52-fb97c5f229e3", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LotNumbers", + "Value": "Lotlar" + }, + { + "Id": "d921fb08-3242-5817-b332-9d037ab4c3b9", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LotNo", + "Value": "Lot/Serial Number" + }, + { + "Id": "ff9e24c8-7db4-5d9d-8b5f-f7d3f3568487", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LotNo", + "Value": "Lot/Seri No" + }, + { + "Id": "8258a25a-85de-57fe-8022-b2558c215d42", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferOther", + "Value": "Additional Info" + }, + { + "Id": "85dd191a-1903-5fad-ae0e-d6a00ba26bb7", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferOther", + "Value": "Ek Bilgi" + }, + { + "Id": "0268ed3b-4af5-5ba9-8f76-30977b5f673b", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferOther.Title", + "Value": "Additional Info" + }, + { + "Id": "4621d204-afd3-5c57-80ad-17d44bddb4a7", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferOther.Title", + "Value": "Ek Bilgi" + }, + { + "Id": "247b1b49-62b4-5191-bf8d-15398b9a7151", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferOther.Desc", + "Value": "Additional Info — shipping and other information of a transfer document (Additional Info tab of receipts, deliveries and internal transfers).\nFields: carrier (contact), tracking reference, weight (calculated from the lines: product weight × quantity), shipping weight, responsible, project." + }, + { + "Id": "23261dbf-c29f-5fb4-93b2-ec4d3f19962c", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferOther.Desc", + "Value": "Ek Bilgi — transfer belgesinin nakliye ve diğer bilgileri (alım, teslimat ve iç transferlerin Ek Bilgi sekmesi).\nAlanlar: nakliyeci (kontak), takip referansı, ağırlık (satırlardan hesaplanır: ürün ağırlığı × miktar), nakliye ağırlığı, sorumlu, proje." + }, + { + "Id": "818cd5de-1982-52fa-bdb9-f828b5fbb7e2", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.CarrierId", + "Value": "Carrier" + }, + { + "Id": "5c045ae8-54fa-546c-aadf-bb0624781340", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.CarrierId", + "Value": "Nakliyeci" + }, + { + "Id": "561db0d1-9a77-5ec2-84d7-d78f98ce09bb", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ResponsibleUserId", + "Value": "Responsible" + }, + { + "Id": "52e3a100-c536-5494-9cce-cef9d5acfbb0", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ResponsibleUserId", + "Value": "Sorumlu" + }, + { + "Id": "baa790a3-072f-5350-9c27-84901e86245b", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.TrackingReference", + "Value": "Tracking Reference" + }, + { + "Id": "2be54ff4-c079-52e5-a8d4-5ba572f7085e", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.TrackingReference", + "Value": "Takip Referansı" + }, + { + "Id": "7ca91e7b-4127-52d5-8781-dd8cbc310943", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ShippingWeight", + "Value": "Shipping Weight (kg)" + }, + { + "Id": "2e08919f-227e-5d16-b63c-6006bb5eb014", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ShippingWeight", + "Value": "Nakliye Ağırlığı (kg)" + }, + { + "Id": "9ef7f297-c52a-5a17-b999-8ffd93b3bc5f", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferNote", + "Value": "Note" + }, + { + "Id": "16f8d2a9-583a-50dc-99f1-7347944b97ea", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferNote", + "Value": "Not" + }, + { + "Id": "2d89cdda-4c65-5ce6-a41d-b6305e364fb0", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferNote.Title", + "Value": "Note" + }, + { + "Id": "ec9b9bc2-971d-59fa-91b8-fd32878957e1", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferNote.Title", + "Value": "Not" + }, + { + "Id": "7ec4ac76-3e93-54b8-aec4-bde71ec4832e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferNote.Desc", + "Value": "Note — free note of a transfer document (Note tab of receipts, deliveries and internal transfers).\nField: note (rich text)." + }, + { + "Id": "d01f7067-4b70-51af-b098-5f5e6fc8613e", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferNote.Desc", + "Value": "Not — transfer belgesinin serbest notu (alım, teslimat ve iç transferlerin Not sekmesi).\nAlan: not (zengin metin)." + }, + { + "Id": "2e546bba-e534-519f-9758-5fe36806e4c4", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval", + "Value": "Approval & Delivery" + }, + { + "Id": "753464aa-9981-5ce3-9d29-27035440b72c", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval", + "Value": "Onay ve Teslim" + }, + { + "Id": "99bac7e9-f3d0-5c28-b90f-0eeb505f1b78", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval.Title", + "Value": "Approval & Delivery" + }, + { + "Id": "3addc479-7476-5ce8-9e4b-1f157f9db89f", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval.Title", + "Value": "Onay ve Teslim" + }, + { + "Id": "48711261-e1f5-53a2-8caf-c603817a95f6", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval.Desc", + "Value": "Approval & Delivery — source warehouse approval and receipt of an internal transfer (Approval & Delivery tab of Internal Transfers; read only).\nFields: source warehouse approval (No Approval Needed when the source location has no responsible), approval user / date / description (written by the workflow), received by and receipt date (written by Mark as Done)." + }, + { + "Id": "6e98e0c5-d9d7-5c2f-9137-f0c9c84efc43", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferApproval.Desc", + "Value": "Onay ve Teslim — iç transferin kaynak depo onayı ve teslimi (İç Transferler'in Onay ve Teslim sekmesi; salt okunur).\nAlanlar: kaynak depo onayı (kaynak konumun sorumlusu yoksa Onay Gerekmez), onaylayan / onay tarihi / açıklaması (iş akışı yazar), teslim alan ve teslim alma tarihi (Tamamla yazar)." + }, + { + "Id": "be937f76-123b-5b7e-9f33-805aac3c6d32", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ReceivedByUserId", + "Value": "Received By" + }, + { + "Id": "8ac5a645-0d08-5b73-9148-fcc89da91180", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ReceivedByUserId", + "Value": "Teslim Alan" + }, + { + "Id": "b3cf45d1-fde2-501a-9915-a6ed0599fc16", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferImportItem", + "Value": "Transfer Request Lines" + }, + { + "Id": "8cef4a4a-d483-5eae-8c8f-c3ba7522383d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferImportItem", + "Value": "Transfer Talep Kalemleri" + }, + { + "Id": "55d3ce88-7535-5891-9c63-46b321e5df86", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferImportItem.Title", + "Value": "Transfer Request Lines" + }, + { + "Id": "75e02881-9584-5a68-8575-77a1b403579f", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferImportItem.Title", + "Value": "Transfer Talep Kalemleri" + }, + { + "Id": "a9dfe48b-901b-561f-a7ca-d99dab7502a2", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferImportItem.Desc", + "Value": "Transfer Request Lines — approved material request lines to be fulfilled by transfer, opened with Import from Requests of a draft internal transfer.\nOnly waiting lines of requests in the document branch that are not in another open transfer are listed; quantity is the remaining (requested − delivered) quantity.\nSelect lines and click Transfer Selected; the destination location of the transfer is taken from the request when empty." + }, + { + "Id": "2d1718bc-a21f-5d73-a157-eb2df3efb346", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.TransferImportItem.Desc", + "Value": "Transfer Talep Kalemleri — transferle karşılanacak onaylı malzeme talebi kalemleri; taslak iç transferin Talepten Aktar butonuyla açılır.\nYalnız belgenin şubesindeki, başka açık transferde olmayan bekleyen kalemler listelenir; miktar kalan (talep − teslim) miktardır.\nSatırlar seçilip Seçilenleri Aktar'a basılır; transferin hedef konumu boşsa talebin konumu yazılır." + }, + { + "Id": "3205a926-a097-5b78-9f92-f657da8faa8f", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer", + "Value": "Moves" + }, + { + "Id": "b3199deb-a0d9-58f3-8b3d-407bd8ad71b8", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer", + "Value": "Hareketler" + }, + { + "Id": "89562fbc-807d-57a1-a2e4-47420c3cfb67", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Title", + "Value": "Moves" + }, + { + "Id": "0202284a-8560-5982-a475-afb113d70336", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Title", + "Value": "Hareketler" + }, + { + "Id": "0933900d-4b0c-5069-b68e-0f8d9db05144", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Desc", + "Value": "Moves — receipt, delivery and internal transfer documents in one read-only list.\nWhere: Inventory › Moves.\nColumns: reference, type, operation type, contact, branch, warehouse, source and destination location, scheduled and effective date, source document, status.\nThe Detail row button opens the document read only (header and the product lines on the Operations tab), Note shows its notes and Open opens the document in its own screen (Receipts, Deliveries or Internal Transfers), where it is edited. For product lines: Inventory › Product Moves." + }, + { + "Id": "f9c6ecf4-e5a7-524a-b2f5-7d597a94115b", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Desc", + "Value": "Hareketler — alım, teslimat ve iç transfer belgeleri tek, salt okunur listede.\nNerede: Envanter › Hareketler.\nKolonlar: fiş no, tür, operasyon türü, kontak, şube, depo, kaynak ve hedef konum, planlanan ve geçerlilik tarihi, kaynak belge, durum.\nSatırdaki Detay belgeyi salt okunur açar (başlık ve Operasyonlar sekmesinde ürün satırları), Not belgenin notlarını gösterir, Aç belgeyi kendi ekranında (Alımlar, Teslimatlar ya da İç Transferler) açar; düzenleme orada yapılır. Ürün bazında satırlar için: Envanter › Ürün Hareketleri." + }, + { + "Id": "4377399b-44ce-514d-9411-3e99f2eeb810", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.PartnerId", + "Value": "Contact" + }, + { + "Id": "18069657-4338-5447-beb0-c71d4ec22b1a", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.PartnerId", + "Value": "Kontak" + }, + { + "Id": "292f0eaf-0916-5821-ba6e-8a21fb33f935", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Open", + "Value": "Open" + }, + { + "Id": "acbf400e-fa2e-5804-aa41-488e69be5e49", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.Open", + "Value": "Aç" + }, + { + "Id": "131fd91d-5c9b-5161-8c0b-e5b22f51a8de", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.SameLocation", + "Value": "Source and destination location cannot be the same." + }, + { + "Id": "344c9e63-fa99-547d-9e64-c9aa67035dd9", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Transfer.SameLocation", + "Value": "Kaynak ve hedef konum aynı olamaz." + }, + { + "Id": "88108bff-37d4-5e69-9e11-d9a1e7e30a1e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenReceipts", + "Value": "Open Receipts" + }, + { + "Id": "d46b9967-04b8-5903-8051-a330f26c7773", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenReceipts", + "Value": "Açık Alım" + }, + { + "Id": "f25346cb-e02d-5c00-ba2b-5d8f0f2c966e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenDeliveries", + "Value": "Open Deliveries" + }, + { + "Id": "fe8b8177-ccbe-53c4-87b8-d66314650e47", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenDeliveries", + "Value": "Açık Teslimat" + }, + { + "Id": "7d195791-21ee-50e1-8227-5276cb8307aa", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenInternal", + "Value": "Open Internal Transfers" + }, + { + "Id": "5b75f51f-fe34-5051-a237-f8dc0fbede16", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenInternal", + "Value": "Açık İç Transfer" + }, + { + "Id": "3c71337a-71ae-5127-9e60-cc9812a7f9d2", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Stock", + "Value": "Stock" + }, + { + "Id": "9232c6aa-b014-5c02-a2dc-6f31809b2fd7", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Stock", + "Value": "Stok" + }, + { + "Id": "28463c04-53ee-5b9f-9555-aad5a3ceb6a3", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Stock.Title", + "Value": "Stock" + }, + { + "Id": "3a94732b-9346-509f-b948-8fd68de88417", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Stock.Title", + "Value": "Stok" + }, + { + "Id": "96a71cd4-89eb-54c2-bb03-c48b4878cfe9", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Stock.Desc", + "Value": "Stock — on-hand quantity by branch › warehouse › location › product › lot, in the product unit (read only).\nWhere: Inventory › Stock. Only Mark as Done on a transfer changes it: incoming documents add to the destination location, outgoing ones deduct from the source location; external locations (vendors, customers) hold no stock.\nProducts without inventory tracking are not listed; quantity-tracked products have an empty lot. Use the Pivot view for warehouse × product totals. Related: Inventory › Product Moves." + }, + { + "Id": "19eb7252-6715-5994-b311-9bf9be70ac2a", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Stock.Desc", + "Value": "Stok — şube › depo › konum › ürün › lot bazında eldeki miktar, ürünün biriminde (salt okunur).\nNerede: Envanter › Stok. Yalnız transferin Tamamla işlemi değiştirir: giriş belgesi hedef konuma ekler, çıkış belgesi kaynak konumdan düşer; dış konumlar (tedarikçi, müşteri) stok tutmaz.\nEnvanter takibi kapalı ürün listelenmez; miktara göre takipli üründe lot boştur. Depo × ürün toplamı için Pivot görünümü kullanılır. İlişkili: Envanter › Ürün Hareketleri." + }, + { + "Id": "0d8c1ecf-ba1f-56cb-9530-bbbb92d0903e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.InDate", + "Value": "In Date" + }, + { + "Id": "eb43c328-f4e2-5a3d-8769-53609e75a2d5", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.InDate", + "Value": "Giriş Tarihi" + }, + { + "Id": "eeaf2a23-11b2-57a2-9615-28e2c5012a8b", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LastMoveDate", + "Value": "Last Move" + }, + { + "Id": "025e7f60-45df-5106-a303-cfe2bc1457dd", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.LastMoveDate", + "Value": "Son Hareket" + }, + { + "Id": "edca39c5-1d44-5fa3-908f-4e92e34eb895", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Products", + "Value": "Products in Stock" + }, + { + "Id": "68614182-0df4-5ac5-802d-66b29bf99625", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Products", + "Value": "Stoktaki Ürün" + }, + { + "Id": "34220128-e43f-5201-b893-d21cce3bcab8", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Lots", + "Value": "Lots in Stock" + }, + { + "Id": "76573030-0559-51f3-bcaa-0e54615c3acf", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.Lots", + "Value": "Stoktaki Lot" + }, + { + "Id": "ac998534-8bee-5496-98c6-c06e9bbda04e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.ZeroStock", + "Value": "Zero Stock" + }, + { + "Id": "948850b5-f123-5e5f-b2b4-e72f8f07ed1f", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.ZeroStock", + "Value": "Sıfır Stok" + }, + { + "Id": "98a84e6d-6a1b-5acf-87d6-524500062758", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.StockMove", + "Value": "Product Moves" + }, + { + "Id": "748f4023-32c8-5793-904e-50fed24e8113", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.StockMove", + "Value": "Ürün Hareketleri" + }, + { + "Id": "f55772e0-cd41-5b89-aee6-e2c5fd4c7d75", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.StockMove.Title", + "Value": "Product Moves" + }, + { + "Id": "d9900f76-359a-598b-9b8d-6f876b3ad1a2", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.StockMove.Title", + "Value": "Ürün Hareketleri" + }, + { + "Id": "821e9c26-a85e-578b-8bd3-12b58c5fc884", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.StockMove.Desc", + "Value": "Product Moves — every product line of receipts, deliveries and internal transfers with common columns; one row per lot when the line has a lot distribution (read only).\nWhere: Inventory › Product Moves.\nColumns: date (effective date, scheduled date until done), reference, type, operation type, status, product, lot, demand, quantity (done quantity; lot quantity on lot rows), unit, branch, warehouse, source and destination location, contact, source document.\nThe Open row button opens the document of the move in its own screen (Receipts, Deliveries or Internal Transfers). Only done moves change the stock. Related: Inventory › Stock, Moves and Product Moves (document list)." + }, + { + "Id": "e0dae439-9766-5bb4-9ebb-2320e546ef52", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.StockMove.Desc", + "Value": "Ürün Hareketleri — alım, teslimat ve iç transferlerin bütün ürün satırları ortak kolonlarla; satırın lot dağılımı varsa lot başına bir satır (salt okunur).\nNerede: Envanter › Ürün Hareketleri.\nKolonlar: tarih (geçerlilik tarihi, yapılana kadar planlanan tarih), fiş no, tür, operasyon türü, durum, ürün, lot, talep, miktar (yapılan; lot satırında lotun miktarı), birim, şube, depo, kaynak ve hedef konum, kontak, kaynak belge.\nSatırdaki Aç butonu hareketin belgesini kendi ekranında (Alımlar, Teslimatlar ya da İç Transferler) açar. Stoğu yalnız tamamlanmış hareketler değiştirir. İlişkili: Envanter › Stok, Hareketler ve Ürün Hareketleri (belge listesi)." + }, + { + "Id": "c891941e-e0aa-5961-9dd1-6d7566c4bfc6", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.MoveDate", + "Value": "Date" + }, + { + "Id": "b1ce9679-6c21-5de4-a947-d0e28e623606", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.MoveDate", + "Value": "Tarih" + }, + { + "Id": "10d5a584-26ac-58e5-a920-169a0f4539aa", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.DoneToday", + "Value": "Done Today" + }, + { + "Id": "dfaa9063-2ad9-5905-8a41-baf6b06fb613", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.DoneToday", + "Value": "Bugün Tamamlanan" + }, + { + "Id": "ea022cb0-9d2b-52c5-b337-73d3665dcc14", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.DoneReceipts", + "Value": "Done Receipt Moves" + }, + { + "Id": "e5fb0349-3755-5fe7-8499-ee6bff643429", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.DoneReceipts", + "Value": "Tamamlanan Giriş" + }, + { + "Id": "4da56d4e-3a1f-5aa4-aaae-ab095c1cbb27", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.DoneDeliveries", + "Value": "Done Delivery Moves" + }, + { + "Id": "93919b77-dd0b-540b-ba97-1ff809d118a2", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.DoneDeliveries", + "Value": "Tamamlanan Çıkış" + }, + { + "Id": "b2baf37a-c727-57cf-9ff9-aea8a8ad0d81", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenMoves", + "Value": "Open Moves" + }, + { + "Id": "171a0f2e-3e75-5af5-9211-6a738858ab2d", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Inventory.Widget.OpenMoves", + "Value": "Açık Hareket" + }, + { + "Id": "dc73b23c-4eb5-5183-845d-5018df95a03e", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SequenceName", + "Value": "Sequence" + }, + { + "Id": "6f748f94-9a99-5919-b61d-c6696c26a540", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.SequenceName", + "Value": "Numaratör" + }, + { + "Id": "9d7599f9-c124-5ff2-8d62-1794c0c12e3c", + "CultureName": "en", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ReceivedQuantity", + "Value": "Received" + }, + { + "Id": "863ffa2f-ef2f-577f-a0ab-ad4f3f1cd698", + "CultureName": "tr", + "ResourceName": "Platform", + "Key": "App.Listform.ListformField.ReceivedQuantity", + "Value": "Alınan" } ] } diff --git a/configs/seeds/data/App.Menus.Menu.json b/configs/seeds/data/App.Menus.Menu.json index 26e0a438..1577ff9a 100644 --- a/configs/seeds/data/App.Menus.Menu.json +++ b/configs/seeds/data/App.Menus.Menu.json @@ -3003,6 +3003,111 @@ "IsDisabled": false, "ElementId": null, "ModuleId": "Prc" + }, + { + "Id": "ad4c8104-9ef7-577e-9503-181da8ecdc19", + "Code": "App.Inventory.Operations", + "DisplayName": "App.Inventory.Operations", + "Order": 2, + "Url": null, + "Icon": "FcServices", + "ParentCode": "App.Inventory", + "RequiredPermissionName": null, + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" + }, + { + "Id": "72530fd8-2650-5340-90ff-b43f6fd6ef25", + "Code": "App.Inventory.Receipt", + "DisplayName": "App.Inventory.Receipt", + "Order": 1, + "Url": "/admin/list/App.Inventory.Receipt", + "Icon": "FcDownload", + "ParentCode": "App.Inventory.Operations", + "RequiredPermissionName": "App.Inventory.Receipt", + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" + }, + { + "Id": "a8be6e29-05b1-5650-a25b-b5e579a0580d", + "Code": "App.Inventory.Delivery", + "DisplayName": "App.Inventory.Delivery", + "Order": 2, + "Url": "/admin/list/App.Inventory.Delivery", + "Icon": "FcShipped", + "ParentCode": "App.Inventory.Operations", + "RequiredPermissionName": "App.Inventory.Delivery", + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" + }, + { + "Id": "ec18340e-1fbf-5d43-a687-e82b2217b56f", + "Code": "App.Inventory.InternalTransfer", + "DisplayName": "App.Inventory.InternalTransfer", + "Order": 3, + "Url": "/admin/list/App.Inventory.InternalTransfer", + "Icon": "FcRefresh", + "ParentCode": "App.Inventory.Operations", + "RequiredPermissionName": "App.Inventory.InternalTransfer", + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" + }, + { + "Id": "390ba930-f9f7-5671-b948-a743bed516a2", + "Code": "App.Inventory.Transfer", + "DisplayName": "App.Inventory.Transfer", + "Order": 4, + "Url": "/admin/list/App.Inventory.Transfer", + "Icon": "FcList", + "ParentCode": "App.Inventory", + "RequiredPermissionName": "App.Inventory.Transfer", + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" + }, + { + "Id": "c4205d76-2712-5707-aba8-997a8678a345", + "Code": "App.Inventory.Stock", + "DisplayName": "App.Inventory.Stock", + "Order": 3, + "Url": "/admin/list/App.Inventory.Stock", + "Icon": "FcDatabase", + "ParentCode": "App.Inventory", + "RequiredPermissionName": "App.Inventory.Stock", + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" + }, + { + "Id": "c33befb4-0ced-566c-8eef-3597e790799c", + "Code": "App.Inventory.StockMove", + "DisplayName": "App.Inventory.StockMove", + "Order": 5, + "Url": "/admin/list/App.Inventory.StockMove", + "Icon": "FcTimeline", + "ParentCode": "App.Inventory", + "RequiredPermissionName": "App.Inventory.StockMove", + "CssClass": null, + "Target": null, + "IsDisabled": false, + "ElementId": null, + "ModuleId": "Inventory" } ] } diff --git a/configs/seeds/data/App.Reports.ReportTemplates.json b/configs/seeds/data/App.Reports.ReportTemplates.json index 3210b824..591a3884 100644 --- a/configs/seeds/data/App.Reports.ReportTemplates.json +++ b/configs/seeds/data/App.Reports.ReportTemplates.json @@ -51,6 +51,14 @@ "Status": "active", "Description": "Aday kişisel verilerinin işe alım sürecinde işlenmesi için aydınlatma ve açık rıza formu (App.Hr.Candidate)", "HtmlContent": "

ÇALIŞAN ADAYI KİŞİSEL VERİLERİNİN İŞLENMESİNE İLİŞKİN

AYDINLATMA METNİ VE AÇIK RIZA BEYANI

1. Veri Sorumlusu: 6698 sayılı Kişisel Verilerin Korunması Kanunu (\"KVKK\") uyarınca kişisel verileriniz, veri sorumlusu sıfatıyla Şirketimiz tarafından aşağıda açıklanan kapsamda işlenecektir.

2. İşlenen Kişisel Veriler: Kimlik (ad, soyad, doğum tarihi, cinsiyet), iletişim (e-posta, telefon, adres), özgeçmiş ve mesleki deneyim, eğitim bilgileri, mülakat değerlendirme notları, ücret beklentisi ve başvuru sürecinde tarafımızla paylaştığınız diğer bilgiler.

3. İşleme Amaçları: Açık pozisyonlara uygunluğunuzun değerlendirilmesi, mülakat süreçlerinin planlanması ve yürütülmesi, referans kontrolü, iş teklifinin hazırlanması ve işe alım kararı verilmesi halinde işe giriş işlemlerinin başlatılması.

4. Aktarım: Kişisel verileriniz yalnızca yukarıdaki amaçlarla sınırlı olarak; yetkili kamu kurum ve kuruluşlarına, hukuki yükümlülüklerin yerine getirilmesi kapsamında ve hizmet aldığımız iş ortaklarına KVKK'nın 8. ve 9. maddelerine uygun olarak aktarılabilecektir.

5. Toplama Yöntemi ve Hukuki Sebep: Verileriniz başvuru formu, özgeçmiş, e-posta, kariyer siteleri ve mülakatlar aracılığıyla; KVKK m.5/2 kapsamındaki hukuki sebeplere ve bu formla vereceğiniz açık rızaya dayanılarak toplanmaktadır.

6. Haklarınız: KVKK'nın 11. maddesi uyarınca verilerinizin işlenip işlenmediğini öğrenme, bilgi talep etme, düzeltilmesini, silinmesini ya da yok edilmesini isteme ve işlemeye itiraz etme haklarına sahipsiniz. Başvurularınızı yazılı olarak Şirketimize iletebilirsiniz.

AÇIK RIZA BEYANI

Yukarıdaki aydınlatma metnini okudum ve anladım. Kişisel verilerimin işe alım süreci kapsamında belirtilen amaçlarla işlenmesine ve saklanmasına özgür irademle açık rıza veriyorum.

Adı Soyadı: {{FirstName}} {{LastName}}
E-posta: {{Email}}
Telefon: {{PhoneNumber}}
Rıza Tarihi: {{KvkkConsentDate}}
Rıza Yöntemi: {{KvkkConsentMethod}}
İmza: ..............................................

Bu belge @@date tarihinde oluşturulmuştur.

" + }, + { + "Id": "f1b66538-1db6-5a7d-8178-32c53bc135ff", + "Name": "Transfer Fişi", + "CategoryId": "c872e32b-e598-5432-a938-5826ffeb0d79", + "Status": "active", + "Description": "Alım, teslimat ve iç transfer belgesinin fişi (App.Inventory.Receipt / Delivery / InternalTransfer)", + "HtmlContent": "
TRANSFER FİŞİReferans: {{TransferNo}}
Durum: {{Status}}
Operasyon Türü{{OperationTypeId}}Kontak{{PartnerId}}
Şube / Depo{{BranchId}} / {{WarehouseId}}Kaynak Belge{{SourceDocument}}
Kaynak Konum{{SourceLocationId}}Hedef Konum{{DestinationLocationId}}
Planlanan Tarih{{ScheduledDate}}Geçerlilik Tarihi{{EffectiveDate}}
Ürünler (ürün: talep / yapılan birim · lot)
{{LineSummary}}
Teslim Eden

..............................
Teslim Alan

..............................
" } ] } diff --git a/configs/seeds/docs/modules/App.Inventory.md b/configs/seeds/docs/modules/App.Inventory.md index b052b57e..5f927d9d 100644 --- a/configs/seeds/docs/modules/App.Inventory.md +++ b/configs/seeds/docs/modules/App.Inventory.md @@ -7,7 +7,7 @@ ### 1. Amaç ve kapsam -Envanterin ana verisi: ürün kartı (satış/masraf/satınalma bayrakları, mal/hizmet, envanter takibi ve yöntemi, nitelik–varyant, tedarikçi fiyatları, stok ve muhasebe bilgileri), ölçü birimine bağlı reçeteler (bileşen + operasyon; ürün ya da varyant bazında), çok seviyeli reçete patlatma raporu ve fiziksel stok yapısı: şubeye bağlı depolar, depolarda iç içe konumlar, şube/depo bazında operasyon türleri. İş merkezleri ve operasyonlar Üretim modülündedir ([App.Production.md](App.Production.md)). Kullanıcılar: stok, satınalma ve üretim planlama ekipleri. Stok hareketi, sipariş ve üretim emri bu dalın kapsamı dışındadır. +Envanterin ana verisi: ürün kartı (satış/masraf/satınalma bayrakları, mal/hizmet, envanter takibi ve yöntemi, nitelik–varyant, tedarikçi fiyatları, stok ve muhasebe bilgileri), ölçü birimine bağlı reçeteler (bileşen + operasyon; ürün ya da varyant bazında), çok seviyeli reçete patlatma raporu ve fiziksel stok yapısı: şubeye bağlı depolar, depolarda iç içe konumlar, şube/depo bazında operasyon türleri. İş merkezleri ve operasyonlar Üretim modülündedir ([App.Production.md](App.Production.md)). Kullanıcılar: stok, satınalma ve üretim planlama ekipleri. Stok hareketleri Operasyonlar, stok ve hareket listeleri doğrudan Envanter altındaki Stok ve Hareketler ekranlarıdır; sipariş ve üretim emri bu dalın kapsamı dışındadır. ### 2. Analiz ve kararlar @@ -62,7 +62,7 @@ Tüm tablolar kiracı + tam audit + soft delete, anahtar `Id uniqueidentifier`. | `Inv_T_Bom` / `Inv_T_BomComponent` / `Inv_T_BomOperation` | Reçete başlığı (ürün, varyant, miktar, birim, planlama), bileşenler (operasyona bağlanabilir), operasyonlar (iş merkezi `Prd_T_WorkCenter`, operasyon `Prd_T_Operation`, süre) | | `Inv_T_Warehouse` | Şube, kod (kiracı içinde tekil, 16), ad, aktif | | `Inv_T_Location` | Şube, depo, üst konum, kod (32), ad, konum türü (`Internal`/`External`), departman (`Hr_T_Department`), depo sorumlusu, aktif | -| `Inv_T_OperationType` | Şube, depo, ad, tür (`Receipt`/`Delivery`/`InternalTransfer`/`Manufacturing`/`Repair`), sıra öneki, barkod, kaynak ve hedef konum, aktif | +| `Inv_T_OperationType` | Şube, depo, ad, tür (`Receipt`/`Delivery`/`InternalTransfer`/`Manufacturing`/`Repair`), numaratör (`SequenceName` → `Adm_T_Sequence.Name`; belge numarası buradan), barkod, kaynak ve hedef konum, aktif | ### 5. İş kuralları ve hesaplar @@ -82,7 +82,7 @@ Tüm tablolar kiracı + tam audit + soft delete, anahtar `Id uniqueidentifier`. ### 7. Entegrasyonlar -Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim modülünden okur; Üretim de ürün ve nitelik değerlerini buradan okur. Ölçü Birimleri, Kontaklar, Para Birimleri, Ülkeler, Şubeler, Departmanlar ve Kullanıcılar yalnız lookup kaynağıdır. Satış ve satınalma sipariş ekranları ürünü `CanBeSold` / `CanBePurchased` ile süzecek; stok hareket belgeleri operasyon türünü ve konumları bu daldan seçecek; bu dalda sipariş ve hareket ekranı yoktur. +Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim modülünden okur; Üretim de ürün ve nitelik değerlerini buradan okur. Ölçü Birimleri, Kontaklar, Para Birimleri, Ülkeler, Şubeler, Departmanlar ve Kullanıcılar yalnız lookup kaynağıdır. Satış ve satınalma sipariş ekranları ürünü `CanBeSold` / `CanBePurchased` ile süzecek; stok hareket belgeleri (Operasyonlar dalı) operasyon türünü, numaratörünü ve konumları bu daldan alır; ürünün Envanter Takibi ve Takip Yöntemi hareketin stoğa ve lota nasıl işleneceğini belirler. ### 8. Akış örneği @@ -94,7 +94,7 @@ Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim 6. Genel Bakış sekmesi ağacı ve maliyetleri gösterir. 7. Depolar'da "Grup Şirketler" (GRP) deposunu şubeye bağla. 8. Konumlar'da GRP için "Stock" kök konumunu, altına "ALDORA MOBİLYA G/Ç" (kod GRP ALD, departman, sorumlu), onun altına "ANA DEPO AB07" konumunu İç türüyle gir; ağaç üç seviye gösterir. -9. Operasyon Türleri'nde GRP için "Alımlar" (tür Alım, sıra öneki GRP/IN/, hedef konum Stock) tanımla. +9. Operasyon Türleri'nde GRP için "Alımlar" (tür Alım, numaratör GRP/IN/ önekli, kaynak konum dış "Tedarikçiler", hedef konum Stock) tanımla. ### 9. Sık sorulanlar @@ -115,6 +115,161 @@ Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim - **Sorgu bağımlılığı:** Sorgular SQL Server'a özgüdür (`STRING_SPLIT`, `CONCAT_WS`, `STRING_AGG`, `CROSS APPLY`). - **Açık nokta:** Eski ürün ekranlarının form varsayılanları (Aktif = true, Birim = Adet, Miktar = 1, Süre = 60, Kur = TRY) düz wizard biçimiyle dosyaya yazılmadı. ListForm düzenleyicisinden ya da `ListForm` bölümlü yeniden deploy ile eklenmelidir. + +## Operasyonlar (`App.Inventory.Operations`) + +### 1. Amaç ve kapsam + +Depoya giren, depodan çıkan ve depo içinde taşınan malların belgeleri: Alımlar, Teslimatlar, İç Transferler; hepsinin belgeleri Envanter › Hareketler'de, ürün satırları Envanter › Ürün Hareketleri'nde salt okunur listelenir. Belgeler Tanımlamalar dalındaki Depolar, Konumlar ve Operasyon Türleri'ni kullanır; tamamlanan belge stoğu şube › depo › konum › ürün › lot bazında günceller (Envanter › Stok). Kullanıcılar: depo, satınalma ve sevkiyat ekipleri. Üretim (`Manufacturing`) ve Onarım türleri Üretim menüsünde ayrıca yapılacaktır; Toplu Transfer, Bakım Talebi, Ekipman, Satış Siparişi ve İzlenebilirlik raporu kapsam dışıdır. + +### 2. Analiz ve kararlar + +Onaylanan analiz (talep "Envanter giriş ve çıkışları"): + +- Bütün operasyon türleri tek veri kaynağındadır: başlık `Inv_T_Transfer`, satır `Inv_T_TransferLine`, lot dağılımı `Inv_T_TransferLineLot`; tür `OperationKind` kolonuyla ayrılır. Her tür kendi ekranında (aynı tablo, `DefaultFilter` ile) yönetilir. +- Stok bakiyesi ayrı tablodadır (`Inv_T_Stock`, kullanıcı kararı): yalnız Tamamla yordamı yazar. +- Stok yetmezse belge Bekleyen kalır, Tamamla yapılamaz (negatif stok yok). Rezervasyon yoktur; Tamamla stoğu yeniden kontrol eder. +- Kısmi işlemde kalan, aynı türde yeni belgeye (backorder) geçer. +- Ek kapsam: İade, iç transferde kaynak depo onayı ve teslim, malzeme talebinden iç transfer, transfer fişi yazdırma. +- Belge numarası operasyon türünün numaratöründen gelir: `Inv_T_OperationType.SequencePrefix` kaldırıldı, yerine `SequenceName` (Diziler) geldi; demo operasyon türleri için `Inventory.IKT.*` numaratörleri eklendi. +- Lot/seri bu turdadır: hareket satırında Detaylar butonu lot dağılımını açar; çıkışta lot stoktan gelir, girişte yazılır; Lot/Seri Oluştur ve Otomatik Ata yardımcı butonlardır. +- Giriş ve çıkışın lot ekranı ayrıdır (kullanıcı kararı): stoğa giren satır (alım, teslimat iadesi) **Lot/Seri Numaraları**'nı açar, numara serbest yazılır; stoktan çıkan satır (teslimat, iç transfer, alım iadesi) **Stoktan Lot Seçimi**'ni açar: kaynak konumdaki bütün lotlar eldeki miktarıyla listelenir, Seç işaretlenince Seçilen Miktar eldeki miktarla dolar (EditorScript), azaltılabilir ama eldeki miktarı aşamaz; Değişiklikleri Kaydet ile yazılır (kullanıcı kararı: 100 lotu tek tek yazmak yerine işaretleyerek seçmek). Ayrım belgenin kaynak konumundan gelir (iç konum = stoktan) ve satırın `LotFromStock` kolonunda durur; Lot/Seri Oluştur yalnız giren, Otomatik Ata yalnız çıkan satırda görünür. +- Lot/seri takipli satırda lot girilmişse yapılan miktar lot toplamıdır (kullanıcı kararı: lot seçmek o kadar teslim etmektir); Recalc miktarı lotlardan yazar ve seçilen lotları satırın Lotlar kolonunda (Açıklama'nın sağı) listeler. Tamamlanmış/iptal belgenin miktarına dokunulmaz. Tamamla'nın eşitlik hatası iki miktarı da yazar. +- Ek Bilgi: nakliye bilgileri, sorumlu, proje; ayrı Not sekmesi. Ürün Teslimat Politikası yalnız Teslimatlar'dadır. +- Ürünün Envanter Takibi ve Takip Yöntemi belirleyicidir: takip kapalı ürün stoğa hiç işlenmez ve stok kontrolüne girmez; `Lot`/`Serial` üründe lot dağılımı zorunludur; `Quantity` üründe lot boş tutulur. + +Üretimde verilen ek kararlar: + +- Stok konum türüne göre işlenir: kaynak konum `Internal` ise stoktan düşer, hedef konum `Internal` ise stoğa eklenir. Tedarikçiler/Müşteriler gibi dış (`External`) konumlar stok tutmaz; alım türünün kaynağı ve teslimat türünün hedefi dış konumdur. Demo veride IKT deposuna "Tedarikçiler" ve "Müşteriler" dış konumları eklendi. +- Formda gösterilmeyen konum (alımın kaynağı, teslimatın hedefi) kayıtta her zaman operasyon türünden yazılır (iade belgesi hariç). +- İç transfer onaycısı kaynak konumun depo sorumlusudur (`Inv_T_Location.ResponsibleUserName`, kullanıcı adı — iş akışı onaycıyı adla eşlediği için Guid tutulmaz (kullanıcı kararı); kayıt sonrası `SourceApproverUserNames`'e kullanıcı adı yazılır). Sorumlu yoksa `ApprovalStatus` "Onay Gerekmez" olur ve akış beklenmez. Ekranda belge durumu (`Status`) ile onay durumu (`ApprovalStatus`) birlikte bulunur: tablo bütün türler için ortak olduğundan durum akış düğümü değil belge yaşam döngüsüdür (standing default 24'ten bilinçli sapma). +- Teslim Alan / Teslim Alma Tarihi iç transferin Tamamla işleminde yazılır (Tamamla'ya basan kullanıcı). +- Birim çevrimi `Inv_F_UomConvert` ile (Adm_T_Uom Type + Ratio, aynı kategori); stok ürünün biriminde, lot miktarı satırın biriminde tutulur. +- Transfer Fişi rapor şablonu (Raporlar kategorisi) satırları belgenin `LineSummary` kolonundan basar: DynamicReport yalnız kaydın alanlarını yer tutucu olarak doldurduğu için satır özeti başlıkta tutulur (`Inv_P_TransferRecalc`). +- Durum butonları satınalmadaki kalıpla çalışır: işlem gizli `PendingAction` alanına yazılır, kayıt sonrası yordam çalıştırır. Başlık kancaları `@PendingAction` kullanmaz; iş akışı güncellemesi yalnız akış alanlarını gönderir. +- Talepten Aktar ve Detaylar satınalmanın `PurchaseDocGrid` diyaloğunu kullanır (ekran `BaseId` ile süzülür; yeni lot satırına `BaseId` filtreden yazılır, `InsertCommand` tabloya yazar). +- Hata kodları 50301–50321. + +### 3. Menü ve ekranlar + +`Envanter (App.Inventory) › Operasyonlar (App.Inventory.Operations)`: Alımlar, Teslimatlar, İç Transferler. Bütün belgelerin listesi Hareketler (`App.Inventory.Transfer`) Operasyonlar dışında, doğrudan Envanter altındadır (Stok ve Hareketler bölümü). + +Sekmeler (menüsüz alt formlar, üç belge ekranında ortak): Operasyonlar (`App.Inventory.TransferLine`), Ek Bilgi (`App.Inventory.TransferOther`, aynı satır), Not (`App.Inventory.TransferNote`, aynı satır); yalnız İç Transferler'de Onay ve Teslim (`App.Inventory.TransferApproval`, aynı satır, salt okunur). + +Diyaloglar: Lot/Seri Numaraları (`App.Inventory.TransferLineLot`, giren satırın Detaylar'ı), Stoktan Lot Seçimi (`App.Inventory.TransferLineLotStock`, çıkan satırın Detaylar'ı), Transfer Talep Kalemleri (`App.Inventory.TransferImportItem`, İç Transferler › Talepten Aktar). + +Durum butonları satırdadır ve belgenin durumuna göre görünür (araç çubuğu butonu kayda göre gizlenemez): Hazırla (Taslak; iç transferde onay tamamlanmışsa — ve Bekleyen), Tamamla (Hazır), İptal Et (Taslak, Bekleyen, Hazır), İade Et (Tamamlandı), Yazdır (her durumda); İç Transferler'de ayrıca Talepten Aktar (Taslak) ve iş akışı butonları. Buton adları durum adlarıyla eşleşir: Hazırla › Hazır, Tamamla › Tamamlandı, İptal Et › İptal. Satır butonları (yalnız ürünün takip yöntemi Lot ya da Seri olan satırda görünür): Lot/Seri Oluştur, Otomatik Ata, Detaylar; görünürlük satırın `TrackingMethod` kolonundan okunur. Hareketler'de (`App.Inventory.Transfer`) satırda Detay (salt okunur başlık + Operasyonlar sekmesi), Not ve belgeyi kendi ekranında açan Aç vardır; Ürün Hareketleri'nde de Aç hareketin belgesini açar (`/admin/form/App.Inventory.{Receipt|Delivery|InternalTransfer}/@TransferId`). + +### 4. Veri modeli + +Tüm tablolar kiracı + tam audit + soft delete, anahtar `Id uniqueidentifier`. + +| Tablo / nesne | İçerik | +| --- | --- | +| `Inv_T_Transfer` | TransferNo, BranchId, WarehouseId, OperationTypeId, OperationKind, PartnerId (Kontak), Source/DestinationLocationId, ScheduledDate, EffectiveDate, SourceDocument, PurchaseOrderId, BackorderOfId, ReturnOfId, CarrierId, TrackingReference, Weight (hesap), ShippingWeight, ResponsibleUserId, ProjectId, DeliveryPolicy (`Direct`/`OneTime`, yalnız teslimat), Note, LineSummary (fiş özeti), Status (`Draft`/`Waiting`/`Ready`/`Done`/`Cancelled`), PendingAction, SourceApproverUserNames, iş akışı dörtlüsü, ReceivedByUserId, ReceivedDate | +| `Inv_T_TransferLine` | TransferId (FK cascade), ProductId, Description, DemandQuantity (talep), Quantity (yapılan), UomId, PurchaseOrderLineId, MaterialRequestItemId, PendingAction, TrackingMethod (üründen; envanter takibi kapalıysa boş — Recalc yazar), LotFromStock (kaynak iç konumsa 1 — Recalc yazar), LotNumbers (seçilen lotlar; Lotlar kolonu — Recalc yazar) | +| `Inv_T_TransferLineLot` | TransferLineId (FK cascade), LotNo, Quantity (satırın biriminde) | +| `Inv_T_Stock` | BranchId, WarehouseId, LocationId, ProductId, LotNo (takipsiz üründe boş), Quantity (ürün biriminde), UomId, InDate (FIFO), LastMoveDate; tekil (TenantId, LocationId, ProductId, LotNo) | +| `Inv_V_TransferLineLot` | Lot/Seri Numaraları diyaloğunun kaynağı (`BaseId` = satır) | +| `Inv_V_TransferLineLotStock` | Stoktan Lot Seçimi'nin kaynağı: satırın kaynak konumundaki lotlar (eldeki miktar satırın biriminde) + atanmış miktar; `Id` = satır:stok kaydı, kaydı `Inv_P_TransferLineLotStockSave` yapar | +| `Prc_V_MaterialRequestTransferItem` | Taslak iç transfer × aynı şubedeki transferle karşılanacak bekleyen talep kalemi (`Id` = belge\|kalem; Prc öneki migrate sırası içindir) | +| `Inv_F_UomConvert` | Birim çevrimi | +| Yordamlar | `Inv_P_Transfer{AfterSave,SetStatus,CheckAvailability,Validate,Copy,Number,Recalc,FromPurchaseOrder,ImportItem,LineAfterSave,LineLotGenerate,LineLotAssign}` | + +### 5. İş kuralları ve hesaplar + +- **Hazırla** (taslak, satırlı, konumları dolu; iç transferde onaylı ya da Onay Gerekmez): dış konumdan girişte yapılan miktar talep kadar dolar ve belge Hazır olur. İç konumdan çıkışta satırlar ürün bazında sırayla stoktan karşılanır; tümü karşılanırsa Hazır, değilse Bekleyen. Teslimatta "Mümkün olduğunca kısa sürede" kısmi karşılamada da Hazır yapar, "Tüm ürünler hazır olduğunda" bütün satırları bekler. +- **Hazırla** (Bekleyen): aynı hesabı yeniden yapar; stok girdiyse belge Hazır olur. +- **Tamamla** (yalnız Hazır): yapılan miktarı olan satır şarttır; lot/seri takipli üründe lot toplamı yapılan miktara eşit, seride her seri 1 adet ve tekil olmalıdır; iç kaynakta stok (ürün × lot) yetmezse durur. Stok güncellenir, belge Tamamlandı olur, Geçerlilik Tarihi yazılır. Sipariş kaleminin `ReceivedQuantity`'si ve talep kaleminin `DeliveredQuantity`'si artar (iadede azalır); talep kalemi tam karşılanınca `Done` olur. Talepten az yapılan satırların kalanı backorder belgesine geçer ve stok kontrolüyle Hazır/Bekleyen açılır. +- **İade Et** (Tamamlandı): kaynak/hedef yer değiştirmiş, yapılan miktarlar ve lotlarıyla taslak belge; iadeden backorder açılmaz. +- **İptal Et**: Tamamlandı ya da İptal dışındaki belgede. İptal edilmiş belge düzenlenemez; tamamlanmış ya da iptal edilmiş belgenin satırı ve lotu değiştirilemez. Yalnız elle açılmış taslak (siparişten, backorder ya da iadeden gelmeyen) silinebilir. +- **Lot/Seri Oluştur**: yalnız giriş satırında; lot takipte kalan miktar için `Inventory.LotNumber`'tan tek lot, seri takipte kalan her birim için `Inventory.SerialNumber`'dan seri (miktar tam sayı olmalı). **Otomatik Ata**: yalnız çıkış satırında; mevcut lotları siler, kaynak konumdaki lotları ilk giren ilk çıkar sırasıyla atar. +- **Satır**: ürün seçilince birim üründen gelir; yeni satırda talep 1, birim Adet. Ürün listesi aktif mal (`Wares`) ürünlerdir. +- **Ağırlık** = Σ ürün ağırlığı × miktar (yapılan, yoksa talep; ürün biriminde). +- **Siparişten alım**: Satınalma Siparişi onaylanınca (ya da tekliften onaylı açılınca) taslak alım açılır; ayrıntı [App.Prc.md](App.Prc.md) › Siparişler. + +### 6. Yetki ve görünürlük + +İzin grubu `App.Inventory`. Ekran yetkileri `App.Inventory.Operations` altında (Alımlar, Teslimatlar, İç Transferler); üç belge ekranının ortak sekmeleri (Transfer Satırları, Ek Bilgi, Not) da `App.Inventory.Operations` altındadır; Lot/Seri Numaraları Transfer Satırları'nın, Onay ve Teslim ile Transfer Talep Kalemleri İç Transferler'in altındadır. Durum butonları ekranın `.Update`, satır butonları Transfer Satırları'nın `.Update`, Detaylar Lot/Seri Numaraları'nın okuma, Talepten Aktar Transfer Talep Kalemleri'nin `.Update` yetkisini ister. Belge ekranını kullanan role sekme ve diyalog yetkileri de verilmelidir. Yetkiler hiçbir role otomatik atanmaz. Kiracı kapsamlı; şube kolonla tutulur. + +### 7. Entegrasyonlar + +Satınalma Siparişleri (onayda taslak alım, alınan miktar), Malzeme Talepleri (Karşılama = Transfer kalemleri, teslim edilen miktar), Envanter › Tanımlamalar (Depolar, Konumlar, Operasyon Türleri, Ürünler), Kontaklar, Proje, Kullanıcılar, Yönetim › Tanımlamalar › Diziler (operasyon türü numaratörleri, `Inventory.LotNumber`, `Inventory.SerialNumber`), Raporlar (`Transfer Fişi`). + +### 8. Akış örneği + +1. Satınalma'da P00012 (10 Adet sensör, lot takipli) onaylanır; Alımlar'da IKT/IN/00001 taslak açılır (Tedarikçiler › Ana Depo). +2. Hazırla: belge Hazır, yapılan 10. Satırda Lot/Seri Oluştur LOT000001 (10) üretir; Tamamla Ana Depo'ya 10 Adet LOT000001 ekler, P00012 kalemine Alınan 10 yazılır. +3. Teslimatlar'da 4 Adet sensör için belge açılır; Hazırla Hazır yapar, Otomatik Ata LOT000001 (4) atar, Tamamla stoğu 6'ya düşürür. +4. İç Transferler'de Ana Depo'dan (sorumlusu var) başka bir iç konuma 2 Adet; İş Akışı Başlat, sorumlu onaylar (belge kendiliğinden hazırlanır), lotlar seçilir, Tamamla; Onay ve Teslim sekmesinde onaylayan ve teslim alan görünür. + +### 9. Sık sorulanlar + +- **Belge Bekleyen'de kaldı?** Kaynak konumda yeterli stok yok; stok girdikten sonra Hazırla'ya basın. Teslimatta politika "Mümkün olduğunca kısa sürede" ise eldeki kısım gönderilir. +- **Tamamla "lot/seri miktarı eşit değil" diyor?** Ürün lot/seri takiplidir; satırdaki Detaylar'dan lot girin ya da Lot/Seri Oluştur (giriş) / Otomatik Ata (çıkış) kullanın. +- **Ürün stokta görünmüyor?** Ürünün Envanter Takibi kapalıysa hareket stoğa işlenmez. +- **"Numaratör bulunamadı"?** Operasyon türünün numaratörü Diziler'de bu kiracı için tanımlı ve aktif olmalıdır. +- **İç transfer hazırlanamıyor?** Kaynak konumun sorumlusu varsa önce İş Akışı Başlat ile onay alınmalıdır; onay verilince belge kendiliğinden hazırlanır. +- **İç transferde sıra nedir?** Satırlar › İş Akışı Başlat › Kaynak Depo Onayı › (otomatik Hazırla) › lot seçimi › Tamamla. Onay stok hareketinden önce gelir, çünkü malın kaynak depodan çıkmasına verilen izindir (kullanıcı kararı: onay sonrası Hazırla otomatik). Otomatik Hazırla şartları sağlanmazsa (satır yok, konum kuralı) belge Taslak kalır ve Hazırla elle basılır. +- **İç transfer onay istemiyor, "Onay Gerekmez" yazıyor?** Onaycı kaynak konumun Sorumlu'sudur (kullanıcı adı); Konumlar'da sorumlu girilmemişse belge onay beklemez. Seed'deki konumların sorumlusu `system@sozsoft.com`'dur. Onay akışı için konuma sorumlu atanır (yeni ve taslak belgelerde geçerli olur). +- **İç transferde dış konum ya da aynı konum seçilemiyor?** İç transfer depo içinde taşımadır: Kaynak ve Hedef Konum listeleri yalnız iç konumları gösterir, hedef kaynaktan farklı olmalıdır (formda kural, Hazırla/Tamamla'da 50325 ve 50326). İade belgesi bu kuraldan muaftır; yanlışlıkla dış konuma yapılmış eski transfer İade Et ile geri alınır. +- **Siparişten alım açılmadı?** Siparişte envanter takipli ürün kalemi olmalı; siparişin iptal olmayan bir alımı zaten varsa yenisi açılmaz. + +### 10. Dosyalar ve geri alma + +- **SQL (sql + postgres):** `Inv_T_{Transfer,TransferLine,TransferLineLot,Stock}`, `Inv_V_{StockMove,TransferLineLot,TransferLineLotStock}`, `Prc_V_MaterialRequestTransferItem`, `Inv_F_UomConvert`, `Inv_P_Transfer*`; değişen: `Inv_T_OperationType` (SequenceName), `Prc_T_PurchaseOrderLine` (ReceivedQuantity), `Prc_P_PurchaseOrderSetStatus`, `Prc_P_PurchaseRfqAward`. +- **Wizard'lar:** `Inventory_{Receipt,Delivery,InternalTransfer,Transfer,TransferLine,TransferLineLot,TransferLineLotStock,TransferOther,TransferNote,TransferApproval,TransferImportItem}.json`; değişen `Inventory_OperationType.json`, `Prc_PurchaseOrderLine.json`. +- **Seed verisi:** numaratörler `data/App.Definitions.Sequence.json` (`Inventory.IKT.*`, `Inventory.LotNumber`, `Inventory.SerialNumber`), dış konumlar `data/App.Inventory.Location.json`, operasyon türü bağları `data/App.Inventory.OperationType.json`, şablon `data/App.Reports.ReportTemplates.json` (Transfer Fişi). +- **Geri alma:** Wizard Manager'da önce belge ekranları, sonra sekmeler ve diyaloglar silinir; tablolar ancak açık onayla düşürülür (sıra: TransferLineLot → TransferLine → Transfer, Stock). + + +## Stok, Hareketler ve Ürün Hareketleri (`App.Inventory.Stock`, `App.Inventory.Transfer`, `App.Inventory.StockMove`) + +### 1. Amaç ve kapsam + +Stok bakiyesi ve bütün hareketlerin salt okunur listeleri: Stok (şube › depo › konum › ürün › lot) ve Hareketler (bütün operasyon türlerinin satırları ortak kolonlarla). Kullanıcılar: depo, satınalma, üretim planlama ve yönetim. Değerleme (maliyet) ve izlenebilirlik raporu kapsam dışıdır. + +### 2. Analiz ve kararlar + +- Stok `Inv_T_Stock` tablosundan okunur; tabloya yalnız Tamamla yazar (Operasyonlar §2). +- Hareketler `Inv_V_StockMove` görünümüdür: satır başına bir kayıt, lot dağılımı varsa lot başına bir kayıt; bütün durumlar listelenir, stoğu yalnız Tamamlandı satırları değiştirir. +- Görünümler Grid, Card, Pivot, Chart; depo × ürün toplamı Pivot ile alınır. + +### 3. Menü ve ekranlar + +Ayrı bir Raporlama dalı yoktur (kullanıcı kararı): Stok (`App.Inventory.Stock`, sıra 3), Hareketler (`App.Inventory.Transfer`, sıra 4 — alım, teslimat ve iç transfer belgeleri; satırda Detay, Not ve belgeyi kendi ekranında açan Aç) ve Ürün Hareketleri (`App.Inventory.StockMove`, sıra 5 — ürün/lot satırları; satırda Aç) doğrudan `Envanter` altında, Operasyonlar'dan sonradır; hepsi salt okunur. Yetkiler aynı sırada `App.Inventory` kökündedir. + +### 4. Veri modeli + +`Inv_T_Stock` (Operasyonlar §4) ve `Inv_V_StockMove`: Id (lot ya da satır), TransferId, TransferNo, OperationKind, OperationTypeId, Status, MoveDate (geçerlilik, yoksa planlanan tarih), BranchId, WarehouseId, Source/DestinationLocationId, PartnerId, SourceDocument, ProductId, LotNo, DemandQuantity, Quantity, UomId. + +### 5. İş kuralları ve hesaplar + +- Stok miktarı ürünün birimindedir; hareket miktarı satırın (lotta lotun) birimindedir. +- Sıfıra inen stok satırı silinmez (Sıfır Stok kartı); yeniden girişte giriş tarihi yenilenir. +- Kartlar: Stok — Stoktaki Ürün, Stoktaki Lot, Sıfır Stok; Hareketler — Açık Alım, Açık Teslimat, Açık İç Transfer, Geciken; Ürün Hareketleri — Bugün Tamamlanan, Tamamlanan Giriş, Tamamlanan Çıkış, Açık Hareket. + +### 6. Yetki ve görünürlük + +İki ekranın yetkisi menüyle aynı sırada `App.Inventory` izin grubunun kökündedir (`App.Inventory.Stock` sıra 3, `App.Inventory.StockMove` sıra 4); yetkiler hiçbir role otomatik atanmaz. Kiracı kapsamlı. + +### 7. Entegrasyonlar + +Kaynak Operasyonlar dalının belgeleridir; lookup kaynakları Şubeler, Depolar, Konumlar, Ürünler, Ölçü Birimleri, Kontaklar. + +### 8. Akış örneği + +Operasyonlar §8'deki akıştan sonra Stok'ta Ana Depo / sensör / LOT000001 = 4 görünür; Ürün Hareketleri'nde IKT/IN/00001 (+10), teslimat (−4) ve iç transfer satırları listelenir. + +### 9. Sık sorulanlar + +- **Hareket listede ama stok değişmedi?** Hareket Tamamlandı değildir ya da ürünün envanter takibi kapalıdır. +- **Dış konum stokta yok mu?** Tedarikçiler/Müşteriler gibi dış konumlar stok tutmaz. + +### 10. Dosyalar ve geri alma + +Wizard'lar `Inventory_Stock.json`, `Inventory_StockMove.json`; nesneler `Inv_T_Stock`, `Inv_V_StockMove` (sql + postgres). Ekranlar Wizard Manager'dan silinir; tablo ve görünüm Operasyonlar'a bağlıdır. + ## Ek — Ekran envanteri (otomatik) @@ -342,7 +497,7 @@ Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim | `Code` | Konum Kodu | dxTextBox | | ✓ | | | `Name` | Konum | dxTextBox | ✓ | ✓ | | | `DepartmentId` | Departman | dxSelectBox | | ✓ | sorgu: Hr_T_Department (← BranchId) | -| `ResponsibleUserId` | Depo Sorumlusu | dxSelectBox | | ✓ | sorgu: AbpUsers | +| `ResponsibleUserName` | Depo Sorumlusu | dxSelectBox | | ✓ | sorgu: AbpUsers | | `LocationType` | Konum Türü | dxSelectBox | ✓ | ✓ | liste: Internal, External | | `ParentId` | Üst Lokasyon | dxSelectBox | | ✓ | sorgu: Inv_T_Location (← WarehouseId) | | `IsActive` | Aktif | dxCheckBox | ✓ | ✓ | | @@ -371,7 +526,7 @@ Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim | `WarehouseId` | Depo | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Warehouse (← BranchId) | | `Name` | Operasyon Türü | dxTextBox | ✓ | ✓ | | | `OperationKind` | Tür | dxSelectBox | ✓ | ✓ | liste: Receipt, Delivery, InternalTransfer, Manufacturing, Repair | -| `SequencePrefix` | Sıra Öneki | dxTextBox | | ✓ | | +| `SequenceName` | Numaratör | dxSelectBox | ✓ | ✓ | sorgu: Adm_T_Sequence | | `Barcode` | Barkod | dxTextBox | | ✓ | | | `SourceLocationId` | Kaynak Konum | dxSelectBox | | ✓ | sorgu: Inv_T_Location (← WarehouseId) | | `DestinationLocationId` | Hedef Konum | dxSelectBox | | ✓ | sorgu: Inv_T_Location (← WarehouseId) | @@ -594,4 +749,390 @@ Dış entegrasyon yok. Reçete operasyonları iş merkezi ve operasyonu Üretim | `IncomeAccount` | Gelir Hesabı | dxTextBox | | ✓ | | | `ExpenseAccount` | Gider Hesabı | dxTextBox | | ✓ | | +### Operasyonlar (`App.Inventory.Operations`) + +#### Alımlar — `App.Inventory.Receipt` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_Receipt.json` | +| Yol | Liste (Wizard) | +| Menü | `App.Inventory.Operations` › `App.Inventory.Receipt` (sıra 1) | +| Yetki | `App.Inventory.Receipt` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Alımlar — tedarikçiden depoya giren mallar. | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false' AND "OperationKind" = 'Receipt'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✓ · düzenle ✓ · sil ✓ · popup | +| Kapsam | Kiracı | +| Alt formlar | `App.Inventory.TransferLine` (Id → TransferId), `App.Inventory.TransferOther` (Id → Id), `App.Inventory.TransferNote` (Id → Id) | +| Widget'lar | `App.Widget.Draft`, `App.Inventory.Widget.Waiting`, `App.Inventory.Widget.Ready`, `App.Inventory.Widget.Late` | +| Komutlar | InsertAfter: `Inv_P_TransferAfterSave` · UpdateBefore: SQL · UpdateAfter: `Inv_P_TransferAfterSave` · DeleteBefore: SQL | +| Form varsayılanları | Status=Draft, OperationKind=Receipt, ScheduledDate=@NOW, BranchId= | +| Butonlar | `App.Inventory.Transfer.Action.Confirm`, `App.Inventory.Transfer.Action.Validate`, `App.Inventory.Transfer.Action.Cancel`, `App.Inventory.Transfer.Action.Return`, `App.Inventory.Transfer.Action.Print` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `TransferNo` | Fiş No | dxTextBox | | ✓ | | +| `Status` | Durum | dxSelectBox | | ✓ | liste: Draft, Waiting, Ready, Done, Cancelled | +| `SourceDocument` | Kaynak Belge | dxTextBox | | ✓ | | +| `PartnerId` | Tedarikçi Adı | dxSelectBox | | ✓ | sorgu: Adm_T_Contact | +| `ScheduledDate` | Planlanan Tarih | dxDateBox | ✓ | ✓ | | +| `EffectiveDate` | Geçerlilik Tarihi | dxDateBox | | ✓ | | +| `BranchId` | Şube | dxSelectBox | ✓ | ✓ | sorgu: Sas_T_Branch | +| `WarehouseId` | Depo | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Warehouse (← BranchId) | +| `OperationTypeId` | Operasyon Türü | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_OperationType (← WarehouseId) · script | +| `DestinationLocationId` | Hedef Konum | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Location (← WarehouseId) | +| `SourceLocationId` | Kaynak Konum | dxSelectBox | | | sorgu: Inv_T_Location | +| `OperationKind` | OperationKind | dxSelectBox | | | liste: Receipt, Delivery, InternalTransfer, Manufacturing, Repair | +| `PendingAction` | PendingAction | dxTextBox | | | | +| `LineSummary` | LineSummary | dxTextBox | | | | + +#### Teslimatlar — `App.Inventory.Delivery` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_Delivery.json` | +| Yol | Liste (Wizard) | +| Menü | `App.Inventory.Operations` › `App.Inventory.Delivery` (sıra 2) | +| Yetki | `App.Inventory.Delivery` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Teslimatlar — depodan müşteriye çıkan mallar. | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false' AND "OperationKind" = 'Delivery'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✓ · düzenle ✓ · sil ✓ · popup | +| Kapsam | Kiracı | +| Alt formlar | `App.Inventory.TransferLine` (Id → TransferId), `App.Inventory.TransferOther` (Id → Id), `App.Inventory.TransferNote` (Id → Id) | +| Widget'lar | `App.Widget.Draft`, `App.Inventory.Widget.Waiting`, `App.Inventory.Widget.Ready`, `App.Inventory.Widget.Late` | +| Komutlar | InsertAfter: `Inv_P_TransferAfterSave` · UpdateBefore: SQL · UpdateAfter: `Inv_P_TransferAfterSave` · DeleteBefore: SQL | +| Form varsayılanları | Status=Draft, OperationKind=Delivery, ScheduledDate=@NOW, BranchId=, DeliveryPolicy=Direct | +| Butonlar | `App.Inventory.Transfer.Action.Confirm`, `App.Inventory.Transfer.Action.Validate`, `App.Inventory.Transfer.Action.Cancel`, `App.Inventory.Transfer.Action.Return`, `App.Inventory.Transfer.Action.Print` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `TransferNo` | Fiş No | dxTextBox | | ✓ | | +| `Status` | Durum | dxSelectBox | | ✓ | liste: Draft, Waiting, Ready, Done, Cancelled | +| `ScheduledDate` | Planlanan Tarih | dxDateBox | ✓ | ✓ | | +| `PartnerId` | Teslim Adresi | dxSelectBox | | ✓ | sorgu: Adm_T_Contact | +| `BranchId` | Şube | dxSelectBox | ✓ | ✓ | sorgu: Sas_T_Branch | +| `WarehouseId` | Depo | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Warehouse (← BranchId) | +| `OperationTypeId` | Operasyon Türü | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_OperationType (← WarehouseId) · script | +| `SourceLocationId` | Kaynak Konum | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Location (← WarehouseId) | +| `DestinationLocationId` | Hedef Konum | dxSelectBox | | | sorgu: Inv_T_Location | +| `EffectiveDate` | Geçerlilik Tarihi | dxDateBox | | ✓ | | +| `SourceDocument` | Kaynak Belge | dxTextBox | | ✓ | | +| `DeliveryPolicy` | Ürün Teslimat Politikası | dxSelectBox | ✓ | ✓ | liste: Direct, OneTime | +| `OperationKind` | OperationKind | dxSelectBox | | | liste: Receipt, Delivery, InternalTransfer, Manufacturing, Repair | +| `PendingAction` | PendingAction | dxTextBox | | | | +| `LineSummary` | LineSummary | dxTextBox | | | | + +#### İç Transferler — `App.Inventory.InternalTransfer` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_InternalTransfer.json` | +| Yol | Liste (Wizard) | +| Menü | `App.Inventory.Operations` › `App.Inventory.InternalTransfer` (sıra 3) | +| Yetki | `App.Inventory.InternalTransfer` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | İç Transferler — aynı deponun konumları arasında taşıma. | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false' AND "OperationKind" = 'InternalTransfer'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✓ · düzenle ✓ · sil ✓ · popup | +| Kapsam | Kiracı | +| Alt formlar | `App.Inventory.TransferLine` (Id → TransferId), `App.Inventory.TransferOther` (Id → Id), `App.Inventory.TransferNote` (Id → Id), `App.Inventory.TransferApproval` (Id → Id) | +| Widget'lar | `App.Widget.Draft`, `App.Inventory.Widget.Waiting`, `App.Inventory.Widget.Ready`, `App.Inventory.Widget.Late` | +| Komutlar | InsertAfter: `Inv_P_TransferAfterSave` · UpdateBefore: SQL · UpdateAfter: `Inv_P_TransferAfterSave` · DeleteBefore: SQL | +| Form varsayılanları | Status=Draft, OperationKind=InternalTransfer, ScheduledDate=@NOW, BranchId= | +| Butonlar | `App.Inventory.Transfer.ImportRequests`, `App.Inventory.Transfer.Action.Confirm`, `App.Inventory.Transfer.Action.Validate`, `App.Inventory.Transfer.Action.Cancel`, `App.Inventory.Transfer.Action.Return`, `App.Inventory.Transfer.Action.Print` | +| Onay akışı | Start 'Onaya Gönderildi' → Approval 'Kaynak Depo Onayı' → End 'Onaylandı' → End 'Reddedildi' | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `TransferNo` | Fiş No | dxTextBox | | ✓ | | +| `ScheduledDate` | Planlanan Tarih | dxDateBox | ✓ | ✓ | | +| `PartnerId` | Kontak | dxSelectBox | | ✓ | sorgu: Adm_T_Contact | +| `Status` | Durum | dxSelectBox | | ✓ | liste: Draft, Waiting, Ready, Done, Cancelled | +| `BranchId` | Şube | dxSelectBox | ✓ | ✓ | sorgu: Sas_T_Branch | +| `WarehouseId` | Depo | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Warehouse (← BranchId) | +| `OperationTypeId` | Operasyon Türü | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_OperationType (← WarehouseId) · script | +| `EffectiveDate` | Geçerlilik Tarihi | dxDateBox | | ✓ | | +| `SourceLocationId` | Kaynak Konum | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Location (← WarehouseId) | +| `DestinationLocationId` | Hedef Konum | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Location (← WarehouseId) | +| `SourceDocument` | Kaynak Belge | dxTextBox | | ✓ | | +| `OperationKind` | OperationKind | dxSelectBox | | | liste: Receipt, Delivery, InternalTransfer, Manufacturing, Repair | +| `PendingAction` | PendingAction | dxTextBox | | | | +| `LineSummary` | LineSummary | dxTextBox | | | | +| `ApprovalStatus` | Kaynak Depo Onayı | dxTextBox | | | | +| `ApprovalUserName` | Onaylayan | dxTextBox | | | | +| `ApprovalDate` | Onay Tarihi | dxDateBox | | | | +| `ApprovalDescription` | Onay Açıklaması | dxTextBox | | | | +| `SourceApproverUserNames` | SourceApproverUserNames | dxTextBox | | | | + +#### Lot/Seri Numaraları — `App.Inventory.TransferLineLot` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferLineLot.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferLineLot` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Lot/Seri Numaraları — stoğa giren satırın (alım, teslimat iadesi) lot ya da seri numaraları; satırdaki Detaylar butonuyla açılır. | +| Kaynak | `Inv_V_TransferLineLot` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✓ · düzenle ✓ · sil ✓ · popup | +| Kapsam | Kiracı | +| Komutlar | InsertBefore: SQL · InsertAfter: `Inv_P_TransferRecalc` · UpdateBefore: SQL · UpdateAfter: `Inv_P_TransferRecalc` · DeleteBefore: SQL · DeleteAfter: `Inv_P_TransferRecalc` | +| Form varsayılanları | Quantity=1 | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `BaseId` | BaseId | dxTextBox | | | | +| `LotNo` | Lot/Seri No | dxTextBox | ✓ | ✓ | | +| `Quantity` | Miktar | dxNumberBox | ✓ | ✓ | | + +#### Stoktan Lot Seçimi — `App.Inventory.TransferLineLotStock` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferLineLotStock.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferLineLotStock` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Stoktan Lot Seçimi — stoktan çıkan satırın (teslimat, iç transfer, alım iadesi) kaynak konumundaki bütün lot/seriler; satırdaki Detaylar butonuyla açılır. | +| Kaynak | `Inv_V_TransferLineLotStock` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✓ · sil ✗ · batch | +| Kapsam | Kiracı | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `BaseId` | BaseId | dxTextBox | | | | +| `IsSelected` | Seç | dxCheckBox | | ✓ | script | +| `LotNo` | Lot/Seri No | dxTextBox | | | | +| `InDate` | Giriş Tarihi | dxDateBox | | | | +| `OnHand` | Eldeki Miktar | dxNumberBox | | | | +| `SelectedQuantity` | Seçilen Miktar | dxNumberBox | | ✓ | script | +| `UomId` | Birim | dxTextBox | | | | + +#### Transfer Satırları — `App.Inventory.TransferLine` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferLine.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferLine` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Transfer Satırları — alım, teslimat ve iç transferlerin ürün satırları. | +| Kaynak | `Inv_T_TransferLine` · filtre `"IsDeleted" = 'false'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✓ · düzenle ✓ · sil ✓ · popup | +| Kapsam | Kiracı | +| Komutlar | InsertBefore: SQL · InsertAfter: `Inv_P_TransferRecalc` · UpdateBefore: SQL · UpdateAfter: `Inv_P_TransferLineAfterSave` · DeleteBefore: SQL · DeleteAfter: `Inv_P_TransferRecalc` | +| Form varsayılanları | DemandQuantity=1, UomId=Adet | +| Butonlar | `App.Inventory.TransferLine.GenerateLots`, `App.Inventory.TransferLine.AssignLots`, `App.Inventory.TransferLine.Details` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `TransferId` | TransferId | dxTextBox | | | | +| `ProductId` | Ürün | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Product · script | +| `DemandQuantity` | Talep | dxNumberBox | ✓ | ✓ | | +| `Quantity` | Miktar | dxNumberBox | | ✓ | | +| `UomId` | Birim | dxSelectBox | ✓ | ✓ | sorgu: Adm_T_Uom | +| `Description` | Açıklama | dxTextArea | | ✓ | | +| `LotNumbers` | Lotlar | dxTextBox | | | | +| `PurchaseOrderLineId` | PurchaseOrderLineId | dxTextBox | | | | +| `MaterialRequestItemId` | MaterialRequestItemId | dxTextBox | | | | +| `PendingAction` | PendingAction | dxTextBox | | | | +| `TrackingMethod` | Takip Yöntemi | dxTextBox | | | | +| `LotFromStock` | Lot Stoktan | dxCheckBox | | | | + +#### Ek Bilgi — `App.Inventory.TransferOther` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferOther.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferOther` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Ek Bilgi — transfer belgesinin nakliye ve diğer bilgileri (alım, teslimat ve iç transferlerin Ek Bilgi sekmesi). | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✓ · sil ✗ · popup | +| Kapsam | Kiracı | +| Komutlar | UpdateBefore: SQL | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `CarrierId` | Nakliyeci | dxSelectBox | | ✓ | sorgu: Adm_T_Contact | +| `ResponsibleUserId` | Sorumlu | dxSelectBox | | ✓ | sorgu: AbpUsers | +| `TrackingReference` | Takip Referansı | dxTextBox | | ✓ | | +| `ProjectId` | Proje | dxSelectBox | | ✓ | sorgu: Prj_T_Project | +| `Weight` | Ağırlık (kg) | dxNumberBox | | ✓ | | +| `ShippingWeight` | Nakliye Ağırlığı (kg) | dxNumberBox | | ✓ | | + +#### Not — `App.Inventory.TransferNote` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferNote.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferNote` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Not — transfer belgesinin serbest notu (alım, teslimat ve iç transferlerin Not sekmesi). | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✓ · sil ✗ · popup | +| Kapsam | Kiracı | +| Komutlar | UpdateBefore: SQL | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `Note` | Not | dxHtmlEditor | | ✓ | | + +#### Onay ve Teslim — `App.Inventory.TransferApproval` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferApproval.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferApproval` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Onay ve Teslim — iç transferin kaynak depo onayı ve teslimi (İç Transferler'in Onay ve Teslim sekmesi; salt okunur). | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✓ · sil ✗ · popup | +| Kapsam | Kiracı | +| Komutlar | UpdateBefore: SQL | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `ApprovalStatus` | Kaynak Depo Onayı | dxTextBox | | ✓ | | +| `ReceivedByUserId` | Teslim Alan | dxSelectBox | | ✓ | sorgu: AbpUsers | +| `ApprovalUserName` | Onaylayan | dxTextBox | | ✓ | | +| `ReceivedDate` | Teslim Alma Tarihi | dxDateBox | | ✓ | | +| `ApprovalDate` | Onay Tarihi | dxDateBox | | ✓ | | +| `ApprovalDescription` | Onay Açıklaması | dxTextBox | | ✓ | | + +#### Transfer Talep Kalemleri — `App.Inventory.TransferImportItem` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_TransferImportItem.json` | +| Yol | Liste (Wizard) | +| Menü | Menüsüz (alt form) | +| Yetki | `App.Inventory.TransferImportItem` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Transfer Talep Kalemleri — transferle karşılanacak onaylı malzeme talebi kalemleri; taslak iç transferin Talepten Aktar butonuyla açılır. | +| Kaynak | `Prc_V_MaterialRequestTransferItem` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✗ · sil ✗ · batch | +| Kapsam | Kiracı | +| Butonlar | `App.Prc.PurchaseImportItem.TransferSelected` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `BaseId` | BaseId | dxTextBox | | | | +| `RequestNo` | Talep No | dxTextBox | | | | +| `RequesterUserId` | Talep Eden | dxSelectBox | | | sorgu: AbpUsers | +| `ProductId` | Ürün | dxSelectBox | | | sorgu: Inv_T_Product | +| `Quantity` | Miktar | dxNumberBox | | | | +| `UomId` | Birim | dxSelectBox | | | sorgu: Adm_T_Uom | +| `LocationId` | Konum | dxSelectBox | | | sorgu: Inv_T_Location | +| `DueDate` | İstenen Tarih | dxDateBox | | | | +| `RequestReason` | Neden | dxTextBox | | | | + +### Stok, Hareketler ve Ürün Hareketleri (`App.Inventory.Stock`, `App.Inventory.Transfer`, `App.Inventory.StockMove`) + +#### Stok — `App.Inventory.Stock` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_Stock.json` | +| Yol | Liste (Wizard) | +| Menü | `App.Inventory` › `App.Inventory.Stock` (sıra 3) | +| Yetki | `App.Inventory.Stock` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Stok — şube › depo › konum › ürün › lot bazında eldeki miktar, ürünün biriminde (salt okunur). | +| Kaynak | `Inv_T_Stock` · filtre `"IsDeleted" = 'false'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✗ · sil ✗ · popup | +| Kapsam | Kiracı | +| Widget'lar | `App.Inventory.Widget.Products`, `App.Inventory.Widget.Lots`, `App.Inventory.Widget.ZeroStock` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `BranchId` | Şube | dxSelectBox | | | sorgu: Sas_T_Branch | +| `WarehouseId` | Depo | dxSelectBox | | | sorgu: Inv_T_Warehouse | +| `LocationId` | Konum | dxSelectBox | | | sorgu: Inv_T_Location | +| `ProductId` | Ürün | dxSelectBox | | | sorgu: Inv_T_Product | +| `LotNo` | Lot/Seri No | dxTextBox | | | | +| `Quantity` | Miktar | dxNumberBox | | | | +| `UomId` | Birim | dxSelectBox | | | sorgu: Adm_T_Uom | +| `InDate` | Giriş Tarihi | dxDateBox | | | | +| `LastMoveDate` | Son Hareket | dxDateBox | | | | + +#### Hareketler — `App.Inventory.Transfer` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_Transfer.json` | +| Yol | Liste (Wizard) | +| Menü | `App.Inventory` › `App.Inventory.Transfer` (sıra 4) | +| Yetki | `App.Inventory.Transfer` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Hareketler — alım, teslimat ve iç transfer belgeleri tek, salt okunur listede. | +| Kaynak | `Inv_T_Transfer` · filtre `"IsDeleted" = 'false'` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✗ · sil ✗ · popup | +| Kapsam | Kiracı | +| Alt formlar | `App.Inventory.TransferLine` (Id → TransferId) | +| Widget'lar | `App.Inventory.Widget.OpenReceipts`, `App.Inventory.Widget.OpenDeliveries`, `App.Inventory.Widget.OpenInternal`, `App.Inventory.Widget.Late` | +| Butonlar | `App.Inventory.Transfer.Open`, `App.Inventory.Transfer.Open`, `App.Inventory.Transfer.Open` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `TransferNo` | Fiş No | dxTextBox | | ✓ | | +| `OperationKind` | Tür | dxSelectBox | | ✓ | liste: Receipt, Delivery, InternalTransfer, Manufacturing, Repair | +| `OperationTypeId` | Operasyon Türü | dxSelectBox | | ✓ | sorgu: Inv_T_OperationType | +| `PartnerId` | Kontak | dxSelectBox | | ✓ | sorgu: Adm_T_Contact | +| `BranchId` | Şube | dxSelectBox | | ✓ | sorgu: Sas_T_Branch | +| `WarehouseId` | Depo | dxSelectBox | | ✓ | sorgu: Inv_T_Warehouse | +| `SourceLocationId` | Kaynak Konum | dxSelectBox | | ✓ | sorgu: Inv_T_Location | +| `DestinationLocationId` | Hedef Konum | dxSelectBox | | ✓ | sorgu: Inv_T_Location | +| `ScheduledDate` | Planlanan Tarih | dxDateBox | | ✓ | | +| `EffectiveDate` | Geçerlilik Tarihi | dxDateBox | | ✓ | | +| `SourceDocument` | Kaynak Belge | dxTextBox | | ✓ | | +| `Status` | Durum | dxSelectBox | | ✓ | liste: Draft, Waiting, Ready, Done, Cancelled | + +#### Ürün Hareketleri — `App.Inventory.StockMove` + +| Özellik | Değer | +| --- | --- | +| Wizard | `wizard/Inventory_StockMove.json` | +| Yol | Liste (Wizard) | +| Menü | `App.Inventory` › `App.Inventory.StockMove` (sıra 5) | +| Yetki | `App.Inventory.StockMove` + `.Create`, `.Update`, `.Delete`, `.Export`, `.Import`, `.Note` | +| Açıklama | Ürün Hareketleri — alım, teslimat ve iç transferlerin bütün ürün satırları ortak kolonlarla; satırın lot dağılımı varsa lot başına bir satır (salt okunur). | +| Kaynak | `Inv_V_StockMove` | +| Görünümler | Grid, Card, Pivot, Chart (açılış grid) | +| Düzenleme | ekle ✗ · düzenle ✗ · sil ✗ · popup | +| Kapsam | Kiracı | +| Widget'lar | `App.Inventory.Widget.DoneToday`, `App.Inventory.Widget.DoneReceipts`, `App.Inventory.Widget.DoneDeliveries`, `App.Inventory.Widget.OpenMoves` | +| Butonlar | `App.Inventory.Transfer.Open`, `App.Inventory.Transfer.Open`, `App.Inventory.Transfer.Open` | + +| Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | +| --- | --- | --- | --- | --- | --- | +| `TransferId` | TransferId | dxTextBox | | | | +| `MoveDate` | Tarih | dxDateBox | | | | +| `TransferNo` | Fiş No | dxTextBox | | | | +| `OperationKind` | Tür | dxSelectBox | | | liste: Receipt, Delivery, InternalTransfer, Manufacturing, Repair | +| `OperationTypeId` | Operasyon Türü | dxSelectBox | | | sorgu: Inv_T_OperationType | +| `Status` | Durum | dxSelectBox | | | liste: Draft, Waiting, Ready, Done, Cancelled | +| `ProductId` | Ürün | dxSelectBox | | | sorgu: Inv_T_Product | +| `LotNo` | Lot/Seri No | dxTextBox | | | | +| `DemandQuantity` | Talep | dxNumberBox | | | | +| `Quantity` | Miktar | dxNumberBox | | | | +| `UomId` | Birim | dxSelectBox | | | sorgu: Adm_T_Uom | +| `BranchId` | Şube | dxSelectBox | | | sorgu: Sas_T_Branch | +| `WarehouseId` | Depo | dxSelectBox | | | sorgu: Inv_T_Warehouse | +| `SourceLocationId` | Kaynak Konum | dxSelectBox | | | sorgu: Inv_T_Location | +| `DestinationLocationId` | Hedef Konum | dxSelectBox | | | sorgu: Inv_T_Location | +| `PartnerId` | Kontak | dxSelectBox | | | sorgu: Adm_T_Contact | +| `SourceDocument` | Kaynak Belge | dxTextBox | | | | + diff --git a/configs/seeds/docs/modules/App.Prc.md b/configs/seeds/docs/modules/App.Prc.md index aae01606..1c1edfc5 100644 --- a/configs/seeds/docs/modules/App.Prc.md +++ b/configs/seeds/docs/modules/App.Prc.md @@ -200,11 +200,11 @@ _Henüz yazılmadı._ ### 1. Amaç ve kapsam -Satınalma ekibinin onaylanmış malzeme taleplerinden tedarikçilere teklif talebi (RFQ) açması, aynı ihtiyacı birden fazla tedarikçiye sorarak ihale gibi fiyat toplaması, gelen fiyat ve terminleri kıyaslayıp en uygun teklifi kalem bazında satınalma siparişine dönüştürmesi; gerekirse teklif toplamadan doğrudan sipariş yazması ve tedarikçiyle çerçeve sözleşme yönetmesi. Kullanıcılar satınalma personeli ve alıcılardır. Tedarikçinin linkten kendi fiyatını girdiği portal, mal kabul (alınan/kalan miktar), tedarikçi faturası (faturalanan, Fatura Yükle) ve analitik dağılım kapsam dışıdır. +Satınalma ekibinin onaylanmış malzeme taleplerinden tedarikçilere teklif talebi (RFQ) açması, aynı ihtiyacı birden fazla tedarikçiye sorarak ihale gibi fiyat toplaması, gelen fiyat ve terminleri kıyaslayıp en uygun teklifi kalem bazında satınalma siparişine dönüştürmesi; gerekirse teklif toplamadan doğrudan sipariş yazması ve tedarikçiyle çerçeve sözleşme yönetmesi. Kullanıcılar satınalma personeli ve alıcılardır. Mal kabul Envanter › Operasyonlar › Alımlar'dadır ([App.Inventory.md](App.Inventory.md)); onaylanan sipariş orada taslak alım açar ve alınan miktar sipariş kalemine geri yazılır. Tedarikçinin linkten kendi fiyatını girdiği portal, tedarikçi faturası (faturalanan, Fatura Yükle) ve analitik dağılım kapsam dışıdır. ### 2. Analiz ve kararlar -- Teklif talebi ve satınalma siparişi **ayrı belgelerdir** (`Prc_T_PurchaseRfq`, `Prc_T_PurchaseOrder`), ayrı numaratörle: `PurchaseRfq` (RFQ00001) ve `PurchaseOrder1` (P00001). Sözleşme `PurchaseAgreement1` (BO00001). +- Teklif talebi ve satınalma siparişi **ayrı belgelerdir** (`Prc_T_PurchaseRfq`, `Prc_T_PurchaseOrder`), ayrı numaratörle: `Prc.PurchaseRfq` (RFQ00001) ve `Prc.PurchaseOrder` (P00001). Sözleşme `Prc.PurchaseAgreement` (BO00001). - **Tedarikçi başına bir teklif belgesi.** Aynı ihtiyaç için açılan belgeler bir ihaledir: `TenderGroupId` ihalenin kök (ilk) belgesinin Id'sidir. Alternatif tedarikçiler **Alternatif Oluştur** modalında (`App.Prc.PurchaseRfqAlternativeSupplier`: ihalede belgesi olmayan aktif kontaklar) ListForm'un çoklu seçimiyle seçilir, **Seçilenler İçin Oluştur** butonu seçili her kontak için o anki kalemleriyle birlikte kopya belge açılır (fiyat tedarikçinin fiyat listesinden, para birimi ve koşullar kontak kartından). Bir tedarikçi ihalede bir kez bulunur. - Bir teklif birden fazla malzeme talebinden oluşabilir: belgenin **Talep Kalemleri** sekmesi aktarılabilir bütün talep kalemlerini talebe göre gruplu listeler; satırlar ListForm'un çoklu seçimiyle (`Selection.Mode = multiple`, satır başı kutusu) seçilir ve sekmenin araç çubuğundaki **Seçilenleri Aktar** butonu (Commands, `OnClick`) seçili her satır için `list-form-data/update` çağırır; ekranın `UpdateCommand`'ı (`Prc_P_PurchaseImportItem @Id`) kalemi kopyalar. Ekran bir modalda açıksa (Talepten Aktar, Alternatif Oluştur) buton işi bitince modalı kapatır ve ana liste yenilenir; sekmede açıksa yalnız listeyi yeniler. Hata olursa modal açık kalır. Ayrı bir işaret kolonu yoktur. Aynı sekme teklifsiz yazılan taslak siparişte de vardır. Talep ilişkisi kalem düzeyindedir (`MaterialRequestItemId`). - Popup (Yeni/Düzenle) formu yalnız belgenin kendi alanlarını taşır; talep aktarımı, alternatif, fiyat girişi ve durum işlemleri liste araç çubuğundaki butonlardadır (sekmelerden de yapılabilir). Vergi hariç / KDV / toplam kalemlerden hesaplandığı için formda değil listede görünür. @@ -241,7 +241,7 @@ Tüm tablolar kiracı + tam audit + soft delete. - `Prc_T_PurchaseRfq`: RfqNo, TenderGroupId, SupplierId, SupplierReference, AgreementId, BranchId, OperationTypeId, WarehouseId (üçü de zorunlu; Şube › Depo › Operasyon Türü zinciriyle süzülür; alternatife ve siparişe kopyalanır), CurrencyId, OrderDeadline, ExpectedArrival, SupplierResponse (Waiting/Quoted/NotQuoted), QuoteDate, QuoteValidUntil, BuyerUserId, SourceDocument, ProjectId, IncotermId, IncotermLocation, PaymentTermId, Terms, PriceWeight (70), DeliveryWeight (30), UntaxedAmount, TaxAmount, TotalAmount, Status (Draft/Sent/Purchase/Cancelled), PendingAction, LastSentDate. - `Prc_T_PurchaseRfqLine`: PurchaseRfqId (FK cascade), TenderLineId (alternatiflerde aynı kalemi eşler), ProductId, Description, Quantity, UomId, UnitPrice, TaxRate, Amount, DeliveryDate (tedarikçinin termini; aktarımda talebin istenen termini), MaterialRequestItemId, IsSelected. - `Prc_T_PurchaseOrder`: OrderNo, PurchaseRfqId (kaynak teklif), SupplierId, SupplierReference, AgreementId, BranchId, OperationTypeId (Inv_T_OperationType), WarehouseId (teslim alınacak depo, Inv_T_Warehouse; üçü de zorunlu; Şube › Depo › Operasyon Türü zinciriyle süzülür), CurrencyId, ExpectedArrival, ConfirmDate, ArrivalDate, BuyerUserId, SourceDocument, ProjectId, IncotermId, IncotermLocation, PaymentTermId, Terms, tutarlar, Status (Draft/Purchase/Cancelled), PendingAction, LastSentDate. -- `Prc_T_PurchaseOrderLine`: PurchaseOrderId (FK cascade), ProductId, Description, Quantity, UomId, UnitPrice, TaxRate, Amount, DeliveryDate, MaterialRequestItemId, PurchaseRfqLineId. +- `Prc_T_PurchaseOrderLine`: PurchaseOrderId (FK cascade), ProductId, Description, Quantity, UomId, UnitPrice, TaxRate, Amount, DeliveryDate, MaterialRequestItemId, PurchaseRfqLineId, ReceivedQuantity (alınan; alımın Doğrula'sı yazar, alım iadesi düşer). - Görünümler: `Prc_V_MaterialRequestAvailableItem` (aktarılabilir talep kalemleri), `Prc_V_PurchaseImportItem` (Talep Kalemleri sekmesi: kalem alabilen açık belge × aynı şubedeki aktarılabilir kalem, `Id` = belge|kalem), `Prc_V_PurchaseRfqComparison` (kıyas ve puan), `Prc_V_PurchaseRfqAlternative` (ihalenin belgeleri; teklif ve sipariş için `BaseId`), `Prc_V_PurchaseRfqAlternativeSupplier` (açık teklif × ihalede belgesi olmayan aktif kontak, `Id` = teklif|kontak), `Prc_V_PurchaseAgreementLine` (sözleşmenin sipariş edilen miktarı), `Prc_V_PurchaseOrderLine` (Sipariş Ürünleri: silinmemiş sipariş × silinmemiş kalem, `Id` kalemin Id'si; vergi hariç ve KDV kalemin KDV dahil tutarından ayrıştırılır, Talep No kalemin malzeme talebinden). - Yordamlar: `Prc_P_PurchaseRfq{AfterSave,Recalc,ComparisonSave,CreateAlternative,FromAgreement,Send,SetStatus,Award}`, `Prc_P_PurchaseOrder{AfterSave,Recalc,Send,SetStatus}`, `Prc_P_PurchaseImportItem` (teklif ve sipariş için ortak, kalem bazlı aktarım), `Adm_P_SequenceNext`. @@ -253,6 +253,7 @@ Tüm tablolar kiracı + tam audit + soft delete. - Kalem Tutarı KDV dahildir: Tutar = yuvarla(yuvarla(Miktar × Birim Fiyat) × (1 + Oran/100)); Vergi Hariç = Σ yuvarla(Miktar × Birim Fiyat); KDV = Σ(Tutar − kalemin vergi hariç tutarı); Toplam = Vergi Hariç + KDV = Σ Tutar. Formdaki script ve `Prc_P_Purchase{Rfq,Order}Recalc` aynı formülü kullanır; kalem her eklenip/değişip/silindiğinde yeniden hesaplanır. - Teklif işlemleri: E-posta ile Gönder (taslak ya da gönderilmiş; kalem ve tedarikçi e-postası şart; Taslak → Gönderildi) · İhaleyi Gönder (ihalenin bütün taslak belgeleri) · Siparişe Dönüştür (taslak ya da gönderilmiş; ihale daha önce dönüştürülmemiş olmalı) · İptal (siparişe dönüşmüş teklif iptal edilemez) · Taslak olarak ayarla (yalnız iptalden; ihale siparişe dönüşmüşse olmaz). - Sipariş işlemleri: Siparişi Onayla (taslak, kalemli) · E-posta ile Gönder (iptal dışında) · İptal · Taslak olarak ayarla (yalnız iptalden). +- **Alım:** Siparişi Onayla ve Siparişe Dönüştür (onaylı açılan sipariş) siparişin operasyon türünde taslak alım açar (`Inv_P_TransferFromPurchaseOrder`): konumlar operasyon türünden, satırlar envanter takipli kalemlerin alınmamış miktarı, Kaynak Belge = sipariş no. Siparişin iptal olmayan alımı varsa yenisi açılmaz. Yapılmış alımı olan sipariş iptal edilemez; iptal edilen siparişin yapılmamış alımları da iptal olur. - Siparişe dönüşmüş ya da iptal edilmiş teklif ve kalemleri değiştirilemez; iptal edilmiş siparişin kalemi değiştirilemez. Gönderilmiş ya da dönüşmüş teklif silinemez; yalnız teklifsiz yazılmış taslak sipariş silinebilir. - Fiyat Karşılaştırması sekmesinde birim fiyat, teslim tarihi ve Seçili düzenlenir (ilgili teklifin toplamı yeniden hesaplanır). Siparişe dönüşte kazanan satırlar Seçili olarak işaretlenir. - Sözleşmede bitiş tarihi başlangıçtan önce olamaz; sözleşme seçilen boş teklif kalan (siparişe dönüşmemiş) miktarlarla dolar. @@ -263,7 +264,7 @@ Yetki ağacı: `App.Prc` › `App.Prc.Orders` › teklif ve sipariş listeleri, ### 7. Entegrasyonlar -Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmesi varsayılanları); Envanter (Ürünler, tedarikçi fiyatları, Operasyon Türleri); Satınalma › Tanımlamalar (Ödeme Koşulları, Teslimat Koşulları); Proje modülü; Talepler (aktarım); Para Birimleri (kur); Bildirimler: tipler `TeklifTalebiGonderildi`, `SatinalmaSiparisiGonderildi`, her birinin Custom/Mail kuralı (kural kapatılırsa e-posta kuyruğa girmez; NotificationWorker gönderir); Diziler (`PurchaseRfq`, `PurchaseOrder1`, `PurchaseAgreement1`). +Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmesi varsayılanları); Envanter (Ürünler, tedarikçi fiyatları, Operasyon Türleri; Operasyonlar › Alımlar — sipariş onayında taslak alım, alınan miktar); Satınalma › Tanımlamalar (Ödeme Koşulları, Teslimat Koşulları); Proje modülü; Talepler (aktarım); Para Birimleri (kur); Bildirimler: tipler `TeklifTalebiGonderildi`, `SatinalmaSiparisiGonderildi`, her birinin Custom/Mail kuralı (kural kapatılırsa e-posta kuyruğa girmez; NotificationWorker gönderir); Diziler (`Prc.PurchaseRfq`, `Prc.PurchaseOrder`, `Prc.PurchaseAgreement`). ### 8. Akış örneği @@ -290,7 +291,7 @@ Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmes - Görünüm/yordam: `Prc_V_MaterialRequestAvailableItem`, `Prc_V_PurchaseImportItem`, `Prc_V_PurchaseRfqComparison`, `Prc_V_PurchaseRfqAlternative`, `Prc_V_PurchaseRfqAlternativeSupplier`, `Prc_V_PurchaseAgreementLine`, `Prc_V_PurchaseOrderLine`, `Prc_P_PurchaseRfq*`, `Prc_P_PurchaseOrder*`, `Prc_P_PurchaseImportItem`, `Adm_P_SequenceNext` (sql + postgres object). - Wizard'lar: `Prc_PurchaseRfq{,Line,ImportItem,Quote,Other,Alternative,Comparison}.json`, `Prc_PurchaseOrder{,Line,ImportItem,Other,Alternative,Product}.json`, `Prc_PurchaseAgreement{,Line}.json`. - Arayüz: `ui/src/views/purchasing/PurchaseDocGridDialog.tsx` (kayıt: `DialogShowComponent`, ad `PurchaseDocGrid`). -- Veri: Diziler `PurchaseRfq`, `PurchaseOrder1`, `PurchaseAgreement1`; Bildirim Türleri ve Kuralları `TeklifTalebiGonderildi`, `SatinalmaSiparisiGonderildi`. +- Veri: Diziler `Prc.PurchaseRfq`, `Prc.PurchaseOrder`, `Prc.PurchaseAgreement`; Bildirim Türleri ve Kuralları `TeklifTalebiGonderildi`, `SatinalmaSiparisiGonderildi`. - Geri alma: önce ana ekranlar (`Prc_PurchaseRfq`, `Prc_PurchaseOrder`, `Prc_PurchaseAgreement`), sonra alt formlar `delete_wizard` ile silinir; tablolar yalnız açık onayla düşürülür. @@ -435,7 +436,7 @@ Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmes | Alt formlar | `App.Prc.MaterialRequestLine` (Id → MaterialRequestId) | | Widget'lar | `App.Prc.MaterialRequest.Widget.Mine`, `App.Prc.MaterialRequest.Widget.Pending`, `App.Prc.MaterialRequest.Widget.Approved`, `App.Prc.MaterialRequest.Widget.Rejected` | | Komutlar | InsertAfter: `Prc_P_MaterialRequestAfterSave` · UpdateAfter: `Prc_P_MaterialRequestAfterSave` · DeleteBefore: SQL | -| Form varsayılanları | RequestNo=MaterialRequest1, RequesterUserId=@USERID, BranchId=, DepartmentId=, RequestDate=@NOW, Priority=0 | +| Form varsayılanları | RequestNo=Prc.MaterialRequest, RequesterUserId=@USERID, BranchId=, DepartmentId=, RequestDate=@NOW, Priority=0 | | Onay akışı | Start 'Onaya Gönderildi' → Approval 'Departman Onayı' → Approval 'Satınalma Onayı' → End 'Onaylandı' → End 'Reddedildi' | | Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | @@ -623,7 +624,7 @@ Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmes | Alt formlar | `App.Prc.PurchaseAgreementLine` (Id → AgreementId) | | Widget'lar | `App.Prc.AgreementStatus.Draft`, `App.Prc.AgreementStatus.Confirmed`, `App.Prc.AgreementStatus.Closed`, `App.Prc.AgreementStatus.Cancelled` | | Komutlar | UpdateBefore: SQL | -| Form varsayılanları | AgreementNo=PurchaseAgreement1, BuyerUserId=@USERID, CurrencyId=TRY, StartDate=@NOW, Status=Draft, BranchId= | +| Form varsayılanları | AgreementNo=Prc.PurchaseAgreement, BuyerUserId=@USERID, CurrencyId=TRY, StartDate=@NOW, Status=Draft, BranchId= | | Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | | --- | --- | --- | --- | --- | --- | @@ -684,7 +685,7 @@ Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmes | Alt formlar | `App.Prc.PurchaseRfqLine` (Id → PurchaseRfqId), `App.Prc.PurchaseRfqImportItem` (Id → BaseId), `App.Prc.PurchaseRfqQuote` (Id → Id), `App.Prc.PurchaseRfqOther` (Id → Id), `App.Prc.PurchaseRfqAlternative` (Id → BaseId), `App.Prc.PurchaseRfqComparison` (Id → BaseId) | | Widget'lar | `App.Widget.Draft`, `App.Widget.Sent`, `App.Widget.Expired`, `App.Widget.Completed` | | Komutlar | InsertAfter: `Prc_P_PurchaseRfqAfterSave` · UpdateBefore: SQL · UpdateAfter: `Prc_P_PurchaseRfqAfterSave` · DeleteBefore: SQL | -| Form varsayılanları | RfqNo=PurchaseRfq, BuyerUserId=@USERID, CurrencyId=TRY, Status=Draft, BranchId= | +| Form varsayılanları | RfqNo=Prc.PurchaseRfq, BuyerUserId=@USERID, CurrencyId=TRY, Status=Draft, BranchId= | | Butonlar | `App.Prc.PurchaseRfq.ImportRequests`, `App.Prc.PurchaseRfq.CreateAlternative`, `App.Prc.PurchaseRfq.PriceEntry`, `App.Prc.PurchaseOrder.Action.Send`, `App.Prc.PurchaseRfq.Action.SendTender`, `App.Prc.PurchaseRfq.Action.Award`, `App.Prc.PurchaseOrder.Action.Cancel`, `App.Prc.PurchaseOrder.Action.Draft` | | Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | @@ -728,7 +729,7 @@ Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmes | Alt formlar | `App.Prc.PurchaseOrderLine` (Id → PurchaseOrderId), `App.Prc.PurchaseOrderImportItem` (Id → BaseId), `App.Prc.PurchaseOrderOther` (Id → Id), `App.Prc.PurchaseOrderAlternative` (Id → BaseId) | | Widget'lar | `App.Widget.Draft`, `App.Prc.PurchaseOrder.Widget.AwaitingArrival`, `App.Prc.PurchaseOrder.Widget.LateReceipt`, `App.Widget.TotalRevenue` | | Komutlar | InsertAfter: `Prc_P_PurchaseOrderAfterSave` · UpdateBefore: SQL · UpdateAfter: `Prc_P_PurchaseOrderAfterSave` · DeleteBefore: SQL · DeleteAfter: `Prc_P_MaterialRequestSyncStatus` | -| Form varsayılanları | OrderNo=PurchaseOrder1, BuyerUserId=@USERID, CurrencyId=TRY, Status=Draft, BranchId= | +| Form varsayılanları | OrderNo=Prc.PurchaseOrder, BuyerUserId=@USERID, CurrencyId=TRY, Status=Draft, BranchId= | | Butonlar | `App.Prc.PurchaseRfq.ImportRequests`, `App.Prc.PurchaseOrder.Action.Confirm`, `App.Prc.PurchaseOrder.Action.Send`, `App.Prc.PurchaseOrder.Action.Cancel`, `App.Prc.PurchaseOrder.Action.Draft` | | Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | @@ -987,6 +988,7 @@ Yönetim › Tanımlamalar › Kontaklar (tedarikçi, e-posta, Satınalma sekmes | `ProductId` | Ürün | dxSelectBox | ✓ | ✓ | sorgu: Inv_T_Product · script | | `Description` | Açıklama | dxTextBox | | ✓ | | | `Quantity` | Miktar | dxNumberBox | ✓ | ✓ | script | +| `ReceivedQuantity` | Alınan | dxNumberBox | | | | | `UomId` | Birim | dxSelectBox | ✓ | ✓ | sorgu: Adm_T_Uom | | `UnitPrice` | Birim Fiyat | dxNumberBox | ✓ | ✓ | script | | `TaxRate` | Vergi Oran | dxNumberBox | ✓ | ✓ | script | diff --git a/configs/seeds/docs/modules/App.Prj.md b/configs/seeds/docs/modules/App.Prj.md index d8ca32d0..cf859047 100644 --- a/configs/seeds/docs/modules/App.Prj.md +++ b/configs/seeds/docs/modules/App.Prj.md @@ -807,7 +807,7 @@ Talep, raporun yalnızca ay bazında gösterilmesini istiyor. Çeyrek bazlı top | Kapsam | Kiracı | | Alt formlar | `App.Prj.ProjectSummary` (Id → Id), `App.Prj.ProjectSupport` (Id → Id), `App.Prj.ProjectNeeds` (Id → Id), `App.Prj.ProjectActivities` (Id → Id), `App.Prj.ProjectInnovation` (Id → Id), `App.Prj.ProjectOutputs` (Id → Id), `App.Prj.ProjectMember` (Id → ProjectId), `App.Prj.WorkPackage` (Id → ProjectId), `App.Prj.ProjectCostSummary` (Id → ProjectId), `App.Prj.Diary` (Id → ProjectId) | | Widget'lar | `App.Widget.Total`, `App.Widget.Active`, `App.Widget.Completed`, `App.Widget.TotalBudget` | -| Form varsayılanları | Status=Draft, ProjectNo=ProjeCode1 | +| Form varsayılanları | Status=Draft, ProjectNo=Prj.Project | | Alan | Başlık | Editör | Zorunlu | Formda | Kaynak | | --- | --- | --- | --- | --- | --- | diff --git a/configs/seeds/postgres/object/Inv_F_UomConvert.sql b/configs/seeds/postgres/object/Inv_F_UomConvert.sql new file mode 100644 index 00000000..c0fe74fb --- /dev/null +++ b/configs/seeds/postgres/object/Inv_F_UomConvert.sql @@ -0,0 +1,24 @@ +-- Miktarı bir ölçü biriminden diğerine çevirir (aynı kategori içinde, Adm_T_Uom.Type + Ratio). +-- Referans birim 1; büyük birim 1 birim = Ratio referans; küçük birim Ratio birim = 1 referans. Kategori farklıysa ya da birim yoksa miktar aynen döner. +CREATE OR REPLACE FUNCTION public."Inv_F_UomConvert"(p_quantity numeric, p_from_uom_id varchar, p_to_uom_id varchar) +RETURNS numeric +LANGUAGE plpgsql STABLE AS $$ +DECLARE v_from double precision; v_to double precision; +BEGIN + IF p_quantity IS NULL OR p_from_uom_id IS NULL OR p_to_uom_id IS NULL OR p_from_uom_id = p_to_uom_id THEN + RETURN p_quantity; + END IF; + + SELECT CASE f."Type" WHEN 'BiggerThanReference' THEN f."Ratio" WHEN 'SmallerThanReference' THEN 1.0 / NULLIF(f."Ratio", 0) ELSE 1 END, + CASE t."Type" WHEN 'BiggerThanReference' THEN t."Ratio" WHEN 'SmallerThanReference' THEN 1.0 / NULLIF(t."Ratio", 0) ELSE 1 END + INTO v_from, v_to + FROM "Adm_T_Uom" f + INNER JOIN "Adm_T_Uom" t ON t."Id" = p_to_uom_id AND t."UomCategoryId" = f."UomCategoryId" + WHERE f."Id" = p_from_uom_id; + + IF v_from IS NULL OR NULLIF(v_to, 0) IS NULL THEN + RETURN p_quantity; + END IF; + RETURN ROUND((p_quantity * v_from / v_to)::numeric, 4); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferAfterSave.sql b/configs/seeds/postgres/object/Inv_P_TransferAfterSave.sql new file mode 100644 index 00000000..656a90e1 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferAfterSave.sql @@ -0,0 +1,52 @@ +-- Transfer belgesi kaydı (ve iş akışı adımları) sonrası: tür, şube, depo ve boş konumlar operasyon türünden gelir (formda olmayan alımın +-- kaynağı ve teslimatın hedefi her zaman, iade belgesi hariç); teslimat politikası +-- yalnız teslimatta tutulur; iç transferin onaycısı kaynak konumun depo sorumlusudur (kullanıcı adı; iş akışı onaycıyı adla eşler), sorumlusu olmayan konumdan transfer onay beklemez. +-- Numara, özet ve durum butonunun işlemi (PendingAction) buradan çalışır. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferAfterSave"(p_id uuid, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_act varchar(16); +BEGIN + SELECT "PendingAction" INTO v_act FROM "Inv_T_Transfer" WHERE "Id" = p_id; + + UPDATE "Inv_T_Transfer" t SET + "OperationKind" = ot."OperationKind", + "BranchId" = ot."BranchId", + "WarehouseId" = ot."WarehouseId", + "SourceLocationId" = CASE WHEN t."ReturnOfId" IS NULL AND (ot."OperationKind" = 'Receipt' OR t."SourceLocationId" IS NULL) + THEN COALESCE(ot."SourceLocationId", t."SourceLocationId") ELSE t."SourceLocationId" END, + "DestinationLocationId" = CASE WHEN t."ReturnOfId" IS NULL AND (ot."OperationKind" = 'Delivery' OR t."DestinationLocationId" IS NULL) + THEN COALESCE(ot."DestinationLocationId", t."DestinationLocationId") ELSE t."DestinationLocationId" END, + "DeliveryPolicy" = CASE WHEN ot."OperationKind" = 'Delivery' THEN COALESCE(t."DeliveryPolicy", 'Direct') END + FROM "Inv_T_OperationType" ot + WHERE t."Id" = p_id AND ot."Id" = t."OperationTypeId"; + + UPDATE "Inv_T_Transfer" t SET + "SourceApproverUserNames" = a."UserName", + "ApprovalStatus" = CASE WHEN a."UserName" IS NULL AND t."ApprovalStatus" IS NULL THEN 'Onay Gerekmez' + WHEN a."UserName" IS NOT NULL AND t."ApprovalStatus" = 'Onay Gerekmez' THEN NULL + ELSE t."ApprovalStatus" END + FROM (SELECT x."Id", NULLIF(l."ResponsibleUserName", '') AS "UserName" + FROM "Inv_T_Transfer" x + LEFT JOIN "Inv_T_Location" l ON l."Id" = x."SourceLocationId" + WHERE x."Id" = p_id) a + WHERE t."Id" = a."Id" AND t."OperationKind" = 'InternalTransfer' AND t."Status" = 'Draft'; + + CALL public."Inv_P_TransferNumber"(p_id); + CALL public."Inv_P_TransferRecalc"(p_id); + -- Durum butonları işlemi PendingAction alanına yazıp ekranın güncelleme ucuyla kaydeder. + IF v_act IS NOT NULL THEN + CALL public."Inv_P_TransferSetStatus"(p_id, v_act, p_user_id); + -- Kaynak depo onayı verilen taslak iç transfer kendiliğinden hazırlanır (kullanıcı kararı: onay → Hazırla tek adım). + -- Hazırla'nın şartları (satır, farklı iki iç konum) sağlanmıyorsa denenmez: onay kaydı bozulmaz, belge taslak kalır ve + -- Hazırla elle basılınca hatayı gösterir. + ELSIF EXISTS (SELECT 1 + FROM "Inv_T_Transfer" t + INNER JOIN "Inv_T_Location" s ON s."Id" = t."SourceLocationId" AND s."LocationType" = 'Internal' + INNER JOIN "Inv_T_Location" d ON d."Id" = t."DestinationLocationId" AND d."LocationType" = 'Internal' + WHERE t."Id" = p_id AND t."OperationKind" = 'InternalTransfer' AND t."Status" = 'Draft' AND t."ApprovalStatus" = 'Onaylandı' + AND s."Id" <> d."Id" + AND EXISTS (SELECT 1 FROM "Inv_T_TransferLine" l WHERE l."TransferId" = t."Id" AND l."IsDeleted" = false)) THEN + CALL public."Inv_P_TransferSetStatus"(p_id, 'Confirm', p_user_id); + END IF; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferCheckAvailability.sql b/configs/seeds/postgres/object/Inv_P_TransferCheckAvailability.sql new file mode 100644 index 00000000..222a895e --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferCheckAvailability.sql @@ -0,0 +1,51 @@ +-- Yapılacak miktarı doldurur ve belgeyi Hazır ya da Bekleyen yapar. Rezervasyon yoktur; Tamamla stoğu yeniden kontrol eder. +-- Kaynak konum stok tutmuyorsa (dış konum) yapılacak miktar talep kadardır. İç konumdan çıkışta satırlar ürün bazında sırayla +-- karşılanır; tümü karşılanırsa Hazır olur. Teslimatta "Mümkün olduğunca kısa sürede" politikası kısmi karşılamada da Hazır yapar. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferCheckAvailability"(p_id uuid) +LANGUAGE plpgsql AS $$ +DECLARE v_src uuid; v_kind varchar(32); v_policy varchar(16); v_tenant uuid; v_all boolean; v_any boolean; +BEGIN + SELECT "SourceLocationId", "OperationKind", "DeliveryPolicy", "TenantId" INTO v_src, v_kind, v_policy, v_tenant + FROM "Inv_T_Transfer" WHERE "Id" = p_id; + + IF NOT EXISTS (SELECT 1 FROM "Inv_T_Location" WHERE "Id" = v_src AND "LocationType" = 'Internal') THEN + UPDATE "Inv_T_TransferLine" SET "Quantity" = "DemandQuantity" WHERE "TransferId" = p_id AND "IsDeleted" = false AND "Quantity" = 0; + UPDATE "Inv_T_Transfer" SET "Status" = 'Ready' WHERE "Id" = p_id; + RETURN; + END IF; + + DROP TABLE IF EXISTS tmp_inv_fill; + CREATE TEMP TABLE tmp_inv_fill AS + WITH d AS ( + SELECT l."Id", l."ProductId", l."UomId", p."UomId" AS "ProductUomId", p."TrackInventory", l."DemandQuantity", + public."Inv_F_UomConvert"(l."DemandQuantity", l."UomId", p."UomId") AS "DemandBase", + SUM(public."Inv_F_UomConvert"(l."DemandQuantity", l."UomId", p."UomId")) + OVER (PARTITION BY l."ProductId" ORDER BY l."CreationTime", l."Id" ROWS UNBOUNDED PRECEDING) AS "CumBase" + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + WHERE l."TransferId" = p_id AND l."IsDeleted" = false), + s AS ( + SELECT "ProductId", SUM("Quantity") AS "OnHand" + FROM "Inv_T_Stock" + WHERE "LocationId" = v_src AND "TenantId" IS NOT DISTINCT FROM v_tenant + GROUP BY "ProductId") + SELECT d."Id", + CASE WHEN d."TrackInventory" = false OR COALESCE(s."OnHand", 0) >= d."CumBase" THEN d."DemandQuantity" + WHEN COALESCE(s."OnHand", 0) > d."CumBase" - d."DemandBase" + THEN public."Inv_F_UomConvert"(COALESCE(s."OnHand", 0) - (d."CumBase" - d."DemandBase"), d."ProductUomId", d."UomId") + ELSE 0 END AS "Fill", + d."DemandQuantity" AS "Demand" + FROM d + LEFT JOIN s ON s."ProductId" = d."ProductId"; + + UPDATE "Inv_T_TransferLine" l SET "Quantity" = f."Fill" FROM tmp_inv_fill f WHERE f."Id" = l."Id"; + + v_all := NOT EXISTS (SELECT 1 FROM tmp_inv_fill WHERE "Fill" < "Demand"); + v_any := EXISTS (SELECT 1 FROM tmp_inv_fill WHERE "Fill" > 0); + DROP TABLE tmp_inv_fill; + + UPDATE "Inv_T_Transfer" + SET "Status" = CASE WHEN v_all OR (v_kind = 'Delivery' AND COALESCE(v_policy, 'Direct') = 'Direct' AND v_any) THEN 'Ready' ELSE 'Waiting' END + WHERE "Id" = p_id; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferCopy.sql b/configs/seeds/postgres/object/Inv_P_TransferCopy.sql new file mode 100644 index 00000000..b2fa13e1 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferCopy.sql @@ -0,0 +1,53 @@ +-- Belgeden yeni belge açar. Backorder: talepten az yapılan satırların kalanı, aynı konumlarla; stok kontrolüyle Hazır/Bekleyen olur. +-- Return (İade): yapılan miktarlar lotlarıyla, kaynak ve hedef yer değiştirerek Taslak açılır. İkisi de onay durumunu ve bağları taşır. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferCopy"(p_source_id uuid, p_mode varchar, p_user_id uuid, INOUT p_new_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_is_return boolean := p_mode = 'Return'; +BEGIN + p_new_id := gen_random_uuid(); + + INSERT INTO "Inv_T_Transfer" ("Id", "TenantId", "BranchId", "WarehouseId", "OperationTypeId", "OperationKind", "PartnerId", "SourceLocationId", "DestinationLocationId", + "ScheduledDate", "SourceDocument", "PurchaseOrderId", "BackorderOfId", "ReturnOfId", "CarrierId", "ResponsibleUserId", "ProjectId", "DeliveryPolicy", + "Status", "SourceApproverUserNames", "ApprovalUserName", "ApprovalStatus", "ApprovalDate", "ApprovalDescription", "CreationTime", "CreatorId", "IsDeleted") + SELECT p_new_id, t."TenantId", t."BranchId", t."WarehouseId", t."OperationTypeId", t."OperationKind", t."PartnerId", + CASE WHEN v_is_return THEN t."DestinationLocationId" ELSE t."SourceLocationId" END, + CASE WHEN v_is_return THEN t."SourceLocationId" ELSE t."DestinationLocationId" END, + CASE WHEN v_is_return THEN NOW() AT TIME ZONE 'UTC' ELSE t."ScheduledDate" END, + CASE WHEN v_is_return THEN t."TransferNo" ELSE t."SourceDocument" END, t."PurchaseOrderId", + CASE WHEN v_is_return THEN NULL ELSE p_source_id END, CASE WHEN v_is_return THEN p_source_id END, + t."CarrierId", t."ResponsibleUserId", t."ProjectId", t."DeliveryPolicy", + 'Draft', t."SourceApproverUserNames", t."ApprovalUserName", t."ApprovalStatus", t."ApprovalDate", t."ApprovalDescription", NOW() AT TIME ZONE 'UTC', p_user_id, false + FROM "Inv_T_Transfer" t + WHERE t."Id" = p_source_id; + + DROP TABLE IF EXISTS tmp_inv_map; + CREATE TEMP TABLE tmp_inv_map AS + SELECT "Id" AS "OldId", gen_random_uuid() AS "NewId" + FROM "Inv_T_TransferLine" + WHERE "TransferId" = p_source_id AND "IsDeleted" = false + AND ((v_is_return AND "Quantity" > 0) OR (NOT v_is_return AND "Quantity" < "DemandQuantity")); + + INSERT INTO "Inv_T_TransferLine" ("Id", "TenantId", "TransferId", "ProductId", "Description", "DemandQuantity", "Quantity", "UomId", + "PurchaseOrderLineId", "MaterialRequestItemId", "CreationTime", "CreatorId", "IsDeleted") + SELECT m."NewId", l."TenantId", p_new_id, l."ProductId", l."Description", + CASE WHEN v_is_return THEN l."Quantity" ELSE l."DemandQuantity" - l."Quantity" END, 0, l."UomId", + l."PurchaseOrderLineId", l."MaterialRequestItemId", NOW() AT TIME ZONE 'UTC', p_user_id, false + FROM "Inv_T_TransferLine" l + INNER JOIN tmp_inv_map m ON m."OldId" = l."Id"; + + IF v_is_return THEN + INSERT INTO "Inv_T_TransferLineLot" ("Id", "TenantId", "TransferLineId", "LotNo", "Quantity", "CreationTime", "CreatorId", "IsDeleted") + SELECT gen_random_uuid(), z."TenantId", m."NewId", z."LotNo", z."Quantity", NOW() AT TIME ZONE 'UTC', p_user_id, false + FROM "Inv_T_TransferLineLot" z + INNER JOIN tmp_inv_map m ON m."OldId" = z."TransferLineId" + WHERE z."IsDeleted" = false; + END IF; + DROP TABLE tmp_inv_map; + + CALL public."Inv_P_TransferNumber"(p_new_id); + IF NOT v_is_return THEN + CALL public."Inv_P_TransferCheckAvailability"(p_new_id); + END IF; + CALL public."Inv_P_TransferRecalc"(p_new_id); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferFromPurchaseOrder.sql b/configs/seeds/postgres/object/Inv_P_TransferFromPurchaseOrder.sql new file mode 100644 index 00000000..572f35e0 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferFromPurchaseOrder.sql @@ -0,0 +1,35 @@ +-- Onaylanan satınalma siparişinden siparişin operasyon türünde Taslak alım açar: konumlar operasyon türünden, satırlar +-- siparişin envanter takipli kalemlerinin henüz alınmamış miktarıdır. Siparişin iptal olmayan alımı varsa yeni alım açılmaz. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferFromPurchaseOrder"(p_order_id uuid, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_new uuid := gen_random_uuid(); v_count int; +BEGIN + IF EXISTS (SELECT 1 FROM "Inv_T_Transfer" WHERE "PurchaseOrderId" = p_order_id AND "IsDeleted" = false AND "Status" <> 'Cancelled') THEN + RETURN; + END IF; + + INSERT INTO "Inv_T_Transfer" ("Id", "TenantId", "BranchId", "WarehouseId", "OperationTypeId", "OperationKind", "PartnerId", "SourceLocationId", "DestinationLocationId", + "ScheduledDate", "SourceDocument", "PurchaseOrderId", "ResponsibleUserId", "ProjectId", "Status", "CreationTime", "CreatorId", "IsDeleted") + SELECT v_new, o."TenantId", ot."BranchId", ot."WarehouseId", o."OperationTypeId", ot."OperationKind", o."SupplierId", ot."SourceLocationId", ot."DestinationLocationId", + COALESCE(o."ExpectedArrival", NOW() AT TIME ZONE 'UTC'), o."OrderNo", o."Id", o."BuyerUserId", o."ProjectId", 'Draft', NOW() AT TIME ZONE 'UTC', p_user_id, false + FROM "Prc_T_PurchaseOrder" o + INNER JOIN "Inv_T_OperationType" ot ON ot."Id" = o."OperationTypeId" + WHERE o."Id" = p_order_id + AND EXISTS (SELECT 1 FROM "Prc_T_PurchaseOrderLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + WHERE l."PurchaseOrderId" = o."Id" AND l."IsDeleted" = false AND p."TrackInventory" = true AND l."Quantity" > l."ReceivedQuantity"); + GET DIAGNOSTICS v_count = ROW_COUNT; + IF v_count = 0 THEN + RETURN; + END IF; + + INSERT INTO "Inv_T_TransferLine" ("Id", "TenantId", "TransferId", "ProductId", "Description", "DemandQuantity", "Quantity", "UomId", "PurchaseOrderLineId", "CreationTime", "CreatorId", "IsDeleted") + SELECT gen_random_uuid(), l."TenantId", v_new, l."ProductId", l."Description", l."Quantity" - l."ReceivedQuantity", 0, l."UomId", l."Id", NOW() AT TIME ZONE 'UTC', p_user_id, false + FROM "Prc_T_PurchaseOrderLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + WHERE l."PurchaseOrderId" = p_order_id AND l."IsDeleted" = false AND p."TrackInventory" = true AND l."Quantity" > l."ReceivedQuantity"; + + CALL public."Inv_P_TransferNumber"(v_new); + CALL public."Inv_P_TransferRecalc"(v_new); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferImportItem.sql b/configs/seeds/postgres/object/Inv_P_TransferImportItem.sql new file mode 100644 index 00000000..7090b2fb --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferImportItem.sql @@ -0,0 +1,21 @@ +-- Talepten Aktar: seçilen malzeme talebi kalemini (p_key = belge|kalem) taslak iç transfere satır olarak ekler; kalanı (talep − teslim) aktarılır. +-- Belgenin hedef konumu boşsa talebin konumu yazılır. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferImportItem"(p_key varchar) +LANGUAGE plpgsql AS $$ +DECLARE v_doc uuid; v_tenant uuid; v_item uuid; v_product uuid; v_description varchar(256); v_quantity numeric(18, 4); v_uom varchar(64); v_location uuid; +BEGIN + SELECT "BaseId", "TenantId", "MaterialRequestItemId", "ProductId", "RequestReason", "Quantity", "UomId", "LocationId" + INTO v_doc, v_tenant, v_item, v_product, v_description, v_quantity, v_uom, v_location + FROM "Prc_V_MaterialRequestTransferItem" + WHERE "Id" = p_key; + IF v_doc IS NULL THEN + RAISE EXCEPTION 'Talep kalemi artık aktarılamaz: belge taslak değil, kalem başka bir transfere aktarılmış ya da talep değişmiş.' USING ERRCODE = 'P0001', DETAIL = '50319'; + END IF; + + INSERT INTO "Inv_T_TransferLine" ("Id", "TenantId", "TransferId", "ProductId", "Description", "DemandQuantity", "Quantity", "UomId", "MaterialRequestItemId", "CreationTime", "IsDeleted") + VALUES (gen_random_uuid(), v_tenant, v_doc, v_product, v_description, v_quantity, 0, v_uom, v_item, NOW() AT TIME ZONE 'UTC', false); + + UPDATE "Inv_T_Transfer" SET "DestinationLocationId" = COALESCE("DestinationLocationId", v_location) WHERE "Id" = v_doc; + CALL public."Inv_P_TransferRecalc"(v_doc); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferLineAfterSave.sql b/configs/seeds/postgres/object/Inv_P_TransferLineAfterSave.sql new file mode 100644 index 00000000..943a9e62 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferLineAfterSave.sql @@ -0,0 +1,19 @@ +-- Hareket satırı kaydı sonrası: satırın araç çubuğu işlemi (GenerateLots = Lot/Seri Oluştur, AssignLots = Otomatik Ata) ve belge özeti. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferLineAfterSave"(p_id uuid, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_act varchar(16); v_doc uuid; +BEGIN + SELECT "PendingAction", "TransferId" INTO v_act, v_doc FROM "Inv_T_TransferLine" WHERE "Id" = p_id; + + IF v_act IS NOT NULL THEN + UPDATE "Inv_T_TransferLine" SET "PendingAction" = NULL WHERE "Id" = p_id; + IF v_act = 'GenerateLots' THEN + CALL public."Inv_P_TransferLineLotGenerate"(p_id, p_user_id); + ELSIF v_act = 'AssignLots' THEN + CALL public."Inv_P_TransferLineLotAssign"(p_id, p_user_id); + END IF; + END IF; + + CALL public."Inv_P_TransferRecalc"(v_doc); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferLineLotAssign.sql b/configs/seeds/postgres/object/Inv_P_TransferLineLotAssign.sql new file mode 100644 index 00000000..aa9a638b --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferLineLotAssign.sql @@ -0,0 +1,39 @@ +-- Otomatik Ata: stoktan çıkan satırın lot dağılımını kaynak konumun stoğundan ilk giren ilk çıkar (InDate) sırasıyla yeniden kurar. +-- Stok yetmezse karşılanabilen kadar atanır; eksik Tamamla'da bildirilir. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferLineLotAssign"(p_id uuid, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_tenant uuid; v_method varchar(16); v_src uuid; v_src_internal boolean; v_product uuid; + v_line_uom varchar(64); v_product_uom varchar(64); v_need numeric(18, 4); +BEGIN + SELECT l."TenantId", CASE WHEN p."TrackInventory" THEN p."TrackingMethod" END, t."SourceLocationId", + COALESCE(src."LocationType" = 'Internal', false), l."ProductId", l."UomId", p."UomId", + public."Inv_F_UomConvert"(CASE WHEN l."Quantity" > 0 THEN l."Quantity" ELSE l."DemandQuantity" END, l."UomId", p."UomId") + INTO v_tenant, v_method, v_src, v_src_internal, v_product, v_line_uom, v_product_uom, v_need + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Transfer" t ON t."Id" = l."TransferId" + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + LEFT JOIN "Inv_T_Location" src ON src."Id" = t."SourceLocationId" + WHERE l."Id" = p_id; + + IF COALESCE(v_method, '') NOT IN ('Lot', 'Serial') THEN + RAISE EXCEPTION 'Ürün lot/seri numarasıyla takip edilmiyor.' USING ERRCODE = 'P0001', DETAIL = '50314'; + END IF; + IF NOT COALESCE(v_src_internal, false) THEN + RAISE EXCEPTION 'Otomatik atama yalnız stoktan çıkan satırda yapılır.' USING ERRCODE = 'P0001', DETAIL = '50317'; + END IF; + + UPDATE "Inv_T_TransferLineLot" SET "IsDeleted" = true, "DeletionTime" = NOW() AT TIME ZONE 'UTC', "DeleterId" = p_user_id + WHERE "TransferLineId" = p_id AND "IsDeleted" = false; + + INSERT INTO "Inv_T_TransferLineLot" ("Id", "TenantId", "TransferLineId", "LotNo", "Quantity", "CreationTime", "CreatorId", "IsDeleted") + SELECT gen_random_uuid(), v_tenant, p_id, s."LotNo", + public."Inv_F_UomConvert"(LEAST(s."Quantity", v_need - s."Before"), v_product_uom, v_line_uom), + NOW() AT TIME ZONE 'UTC', p_user_id, false + FROM (SELECT "LotNo", "Quantity", + SUM("Quantity") OVER (ORDER BY "InDate", "LotNo" ROWS UNBOUNDED PRECEDING) - "Quantity" AS "Before" + FROM "Inv_T_Stock" + WHERE "LocationId" = v_src AND "ProductId" = v_product AND "LotNo" <> '' AND "Quantity" > 0 + AND "TenantId" IS NOT DISTINCT FROM v_tenant) s + WHERE s."Before" < v_need; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferLineLotGenerate.sql b/configs/seeds/postgres/object/Inv_P_TransferLineLotGenerate.sql new file mode 100644 index 00000000..32ef2347 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferLineLotGenerate.sql @@ -0,0 +1,46 @@ +-- Lot/Seri Oluştur: stoğa giren satırın lot dağılımı olmayan kısmı için numaratörden lot (Inventory.LotNumber, tek lot) ya da +-- seri (Inventory.SerialNumber, birim başına bir seri) numarası üretir. Stoktan çıkan satırda lot stoktan seçilir (Otomatik Ata). +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferLineLotGenerate"(p_id uuid, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_tenant uuid; v_method varchar(16); v_quantity numeric(18, 4); v_remain numeric(18, 4); v_src_internal boolean; v_no varchar(128); +BEGIN + SELECT l."TenantId", CASE WHEN p."TrackInventory" THEN p."TrackingMethod" END, + CASE WHEN l."Quantity" > 0 THEN l."Quantity" ELSE l."DemandQuantity" END, + COALESCE(src."LocationType" = 'Internal', false) + INTO v_tenant, v_method, v_quantity, v_src_internal + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Transfer" t ON t."Id" = l."TransferId" + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + LEFT JOIN "Inv_T_Location" src ON src."Id" = t."SourceLocationId" + WHERE l."Id" = p_id; + + IF COALESCE(v_method, '') NOT IN ('Lot', 'Serial') THEN + RAISE EXCEPTION 'Ürün lot/seri numarasıyla takip edilmiyor.' USING ERRCODE = 'P0001', DETAIL = '50314'; + END IF; + IF v_src_internal THEN + RAISE EXCEPTION 'Stoktan çıkan satırda lot oluşturulmaz; Otomatik Ata ile stoktaki lotlar seçilir.' USING ERRCODE = 'P0001', DETAIL = '50315'; + END IF; + + v_remain := v_quantity - COALESCE((SELECT SUM("Quantity") FROM "Inv_T_TransferLineLot" WHERE "TransferLineId" = p_id AND "IsDeleted" = false), 0); + IF v_remain <= 0 THEN + RETURN; + END IF; + + IF v_method = 'Lot' THEN + CALL public."Adm_P_SequenceNext"('Inventory.LotNumber', v_tenant, v_no); + INSERT INTO "Inv_T_TransferLineLot" ("Id", "TenantId", "TransferLineId", "LotNo", "Quantity", "CreationTime", "CreatorId", "IsDeleted") + VALUES (gen_random_uuid(), v_tenant, p_id, left(v_no, 64), v_remain, NOW() AT TIME ZONE 'UTC', p_user_id, false); + RETURN; + END IF; + + IF v_remain <> floor(v_remain) THEN + RAISE EXCEPTION 'Seri numaralı üründe miktar tam sayı olmalıdır.' USING ERRCODE = 'P0001', DETAIL = '50316'; + END IF; + WHILE v_remain > 0 LOOP + CALL public."Adm_P_SequenceNext"('Inventory.SerialNumber', v_tenant, v_no); + INSERT INTO "Inv_T_TransferLineLot" ("Id", "TenantId", "TransferLineId", "LotNo", "Quantity", "CreationTime", "CreatorId", "IsDeleted") + VALUES (gen_random_uuid(), v_tenant, p_id, left(v_no, 64), 1, NOW() AT TIME ZONE 'UTC', p_user_id, false); + v_remain := v_remain - 1; + END LOOP; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferLineLotStockSave.sql b/configs/seeds/postgres/object/Inv_P_TransferLineLotStockSave.sql new file mode 100644 index 00000000..f9a6b53d --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferLineLotStockSave.sql @@ -0,0 +1,55 @@ +-- Stoktan Lot Seçimi (App.Inventory.TransferLineLotStock) satır kaydı: yazılan miktar varsa o, yoksa Seç işaretliyse lotun +-- eldeki miktarı atanır (ekranda Seç aynı değeri yazar); ikisi de yoksa lot satırdan çıkar. Batch kaydı her satırı ayrı ve +-- eşzamanlı istekle gönderir; aynı satırın lotları üst üste yazılmasın diye hareket satırı kilitlenip istekler sırayla işlenir. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferLineLotStockSave"( + p_id varchar, + p_is_selected boolean DEFAULT NULL, + p_selected_quantity numeric(18, 4) DEFAULT NULL, + p_last_modifier_id uuid DEFAULT NULL +) +LANGUAGE plpgsql AS $$ +DECLARE v_line uuid := CAST(left(p_id, 36) AS uuid); v_stock uuid := CAST(substr(p_id, 38, 36) AS uuid); + v_tenant uuid; v_doc uuid; v_status varchar(16); v_lot varchar(64); v_on_hand numeric(18, 4); v_qty numeric(18, 4); +BEGIN + SELECT l."TenantId", l."TransferId" + INTO v_tenant, v_doc + FROM "Inv_T_TransferLine" l + WHERE l."Id" = v_line + FOR UPDATE; + + SELECT t."Status", s."LotNo", public."Inv_F_UomConvert"(s."Quantity", s."UomId", l."UomId") + INTO v_status, v_lot, v_on_hand + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Transfer" t ON t."Id" = l."TransferId" + INNER JOIN "Inv_T_Stock" s ON s."Id" = v_stock AND s."LocationId" = t."SourceLocationId" AND s."ProductId" = l."ProductId" + WHERE l."Id" = v_line; + + IF v_lot IS NULL THEN + RAISE EXCEPTION 'Lot, belgenin kaynak konumunda bulunamadı.' USING ERRCODE = 'P0001', DETAIL = '50322'; + END IF; + IF v_status IN ('Done', 'Cancelled') THEN + RAISE EXCEPTION 'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.' USING ERRCODE = 'P0001', DETAIL = '50313'; + END IF; + + IF COALESCE(p_selected_quantity, 0) > 0 THEN + v_qty := p_selected_quantity; + ELSIF p_is_selected THEN + v_qty := v_on_hand; + ELSE + v_qty := 0; + END IF; + + IF v_qty > v_on_hand THEN + RAISE EXCEPTION 'Seçilen miktar lotun eldeki miktarını aşamaz.' USING ERRCODE = 'P0001', DETAIL = '50324'; + END IF; + + UPDATE "Inv_T_TransferLineLot" SET "IsDeleted" = true, "DeletionTime" = NOW() AT TIME ZONE 'UTC', "DeleterId" = p_last_modifier_id + WHERE "TransferLineId" = v_line AND "LotNo" = v_lot AND "IsDeleted" = false; + IF v_qty > 0 THEN + INSERT INTO "Inv_T_TransferLineLot" ("Id", "TenantId", "TransferLineId", "LotNo", "Quantity", "CreationTime", "CreatorId", "IsDeleted") + VALUES (gen_random_uuid(), v_tenant, v_line, v_lot, v_qty, NOW() AT TIME ZONE 'UTC', p_last_modifier_id, false); + END IF; + + CALL public."Inv_P_TransferRecalc"(v_doc); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferNumber.sql b/configs/seeds/postgres/object/Inv_P_TransferNumber.sql new file mode 100644 index 00000000..f8a9a2a3 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferNumber.sql @@ -0,0 +1,17 @@ +-- Numarası olmayan transfer belgesine operasyon türünün numaratöründen (Inv_T_OperationType.SequenceName) numara verir. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferNumber"(p_id uuid) +LANGUAGE plpgsql AS $$ +DECLARE v_seq varchar(128); v_tenant uuid; v_no varchar(128); +BEGIN + SELECT ot."SequenceName", t."TenantId" INTO v_seq, v_tenant + FROM "Inv_T_Transfer" t + INNER JOIN "Inv_T_OperationType" ot ON ot."Id" = t."OperationTypeId" + WHERE t."Id" = p_id AND t."TransferNo" IS NULL; + IF v_seq IS NULL THEN + RETURN; + END IF; + + CALL public."Adm_P_SequenceNext"(v_seq, v_tenant, v_no); + UPDATE "Inv_T_Transfer" SET "TransferNo" = left(v_no, 32) WHERE "Id" = p_id; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferRecalc.sql b/configs/seeds/postgres/object/Inv_P_TransferRecalc.sql new file mode 100644 index 00000000..6aa5fa01 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferRecalc.sql @@ -0,0 +1,43 @@ +-- Belgenin ağırlığını (ürün ağırlığı × miktar, ürün biriminde) ve yazdırılan satır özetini yeniler; satırın takip yöntemini +-- (Lot/Serial, envanter takibi kapalıysa boş) üründen, lotun stoktan seçilip seçilmeyeceğini (kaynak iç konum) belgeden yazar — +-- satırın Lot/Seri butonları ve açılan lot ekranı bu iki kolona göre belirlenir. Lot/seri takipli satırda lot girilmişse yapılan +-- miktar lot toplamıdır (lot seçmek o kadar teslim etmektir) ve seçilen lotlar satırın LotNumbers kolonunda listelenir. +-- Özet satırı: [Referans] Ürün: talep / yapılan birim · lot (miktar), ... +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferRecalc"(p_id uuid) +LANGUAGE plpgsql AS $$ +BEGIN + UPDATE "Inv_T_TransferLine" l SET "TrackingMethod" = CASE WHEN p."TrackInventory" AND p."TrackingMethod" IN ('Lot', 'Serial') THEN p."TrackingMethod" END, + "LotFromStock" = COALESCE(src."LocationType" = 'Internal', false) + FROM "Inv_T_Product" p, "Inv_T_Transfer" t + LEFT JOIN "Inv_T_Location" src ON src."Id" = t."SourceLocationId" + WHERE p."Id" = l."ProductId" AND t."Id" = l."TransferId" AND l."TransferId" = p_id AND l."IsDeleted" = false; + + UPDATE "Inv_T_TransferLine" l SET + "Quantity" = CASE WHEN t."Status" IN ('Done', 'Cancelled') THEN l."Quantity" + ELSE COALESCE((SELECT SUM(lt."Quantity") FROM "Inv_T_TransferLineLot" lt + WHERE lt."TransferLineId" = l."Id" AND lt."IsDeleted" = false), l."Quantity") END, + "LotNumbers" = (SELECT string_agg(CASE WHEN l."TrackingMethod" = 'Serial' THEN lt."LotNo" + ELSE lt."LotNo" || ' (' || rtrim(rtrim(lt."Quantity"::text, '0'), '.') || ')' END, ', ' ORDER BY lt."LotNo") + FROM "Inv_T_TransferLineLot" lt + WHERE lt."TransferLineId" = l."Id" AND lt."IsDeleted" = false) + FROM "Inv_T_Transfer" t + WHERE t."Id" = l."TransferId" AND l."TransferId" = p_id AND l."IsDeleted" = false AND l."TrackingMethod" IN ('Lot', 'Serial'); + + UPDATE "Inv_T_Transfer" t SET + "Weight" = COALESCE((SELECT SUM(public."Inv_F_UomConvert"(CASE WHEN l."Quantity" > 0 THEN l."Quantity" ELSE l."DemandQuantity" END, l."UomId", p."UomId") * COALESCE(p."Weight", 0)) + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + WHERE l."TransferId" = p_id AND l."IsDeleted" = false), 0), + "LineSummary" = (SELECT string_agg( + CASE WHEN COALESCE(p."InternalReference", '') = '' THEN '' ELSE '[' || p."InternalReference" || '] ' END || p."Name" || ': ' || + rtrim(rtrim(l."DemandQuantity"::text, '0'), '.') || ' / ' || rtrim(rtrim(l."Quantity"::text, '0'), '.') || ' ' || l."UomId" || + COALESCE(' · ' || (SELECT string_agg(lt."LotNo" || ' (' || rtrim(rtrim(lt."Quantity"::text, '0'), '.') || ')', ', ' ORDER BY lt."CreationTime", lt."Id") + FROM "Inv_T_TransferLineLot" lt + WHERE lt."TransferLineId" = l."Id" AND lt."IsDeleted" = false), ''), + E'\n' ORDER BY l."CreationTime", l."Id") + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + WHERE l."TransferId" = p_id AND l."IsDeleted" = false) + WHERE t."Id" = p_id; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferSetStatus.sql b/configs/seeds/postgres/object/Inv_P_TransferSetStatus.sql new file mode 100644 index 00000000..c845f3d2 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferSetStatus.sql @@ -0,0 +1,59 @@ +-- Transfer belgesinin durum butonları: Confirm (Hazırla, taslakta), Check (Hazırla, bekleyende), Validate (Tamamla), Cancel (İptal Et), Return (İade Et). +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferSetStatus"(p_id uuid, p_action varchar, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_status varchar(16); v_kind varchar(32); v_approval varchar(50); v_src uuid; v_dst uuid; v_new uuid; +BEGIN + SELECT "Status", "OperationKind", "ApprovalStatus", "SourceLocationId", "DestinationLocationId" + INTO v_status, v_kind, v_approval, v_src, v_dst + FROM "Inv_T_Transfer" WHERE "Id" = p_id; + UPDATE "Inv_T_Transfer" SET "PendingAction" = NULL WHERE "Id" = p_id; + + -- İç transfer depo içinde taşımadır: iki uç da stok tutan iç konum ve birbirinden farklı olmalı (dış konuma giden mal stoktan düşer, hiçbir yere girmez). + -- İade belgesi muaftır: yanlışlıkla dış konuma yapılmış transfer İade Et ile geri alınabilmeli. + IF v_kind = 'InternalTransfer' AND p_action IN ('Confirm', 'Check', 'Validate') + AND NOT EXISTS (SELECT 1 FROM "Inv_T_Transfer" WHERE "Id" = p_id AND "ReturnOfId" IS NOT NULL) THEN + IF v_src = v_dst THEN + RAISE EXCEPTION 'Kaynak ve hedef konum aynı olamaz.' USING ERRCODE = 'P0001', DETAIL = '50325'; + END IF; + IF EXISTS (SELECT 1 FROM "Inv_T_Location" WHERE "Id" IN (v_src, v_dst) AND "LocationType" <> 'Internal') THEN + RAISE EXCEPTION 'İç transferde kaynak ve hedef konum iç konum olmalıdır.' USING ERRCODE = 'P0001', DETAIL = '50326'; + END IF; + END IF; + + IF p_action = 'Confirm' THEN + IF v_status <> 'Draft' THEN + RAISE EXCEPTION 'Yalnız taslak belge hazırlanabilir.' USING ERRCODE = 'P0001', DETAIL = '50301'; + END IF; + IF NOT EXISTS (SELECT 1 FROM "Inv_T_TransferLine" WHERE "TransferId" = p_id AND "IsDeleted" = false) THEN + RAISE EXCEPTION 'Ürün satırı olmayan belge hazırlanamaz.' USING ERRCODE = 'P0001', DETAIL = '50302'; + END IF; + IF v_src IS NULL OR v_dst IS NULL THEN + RAISE EXCEPTION 'Kaynak ve hedef konum seçilmelidir.' USING ERRCODE = 'P0001', DETAIL = '50303'; + END IF; + IF v_kind = 'InternalTransfer' AND COALESCE(v_approval, '') NOT IN ('Onaylandı', 'Onay Gerekmez') THEN + RAISE EXCEPTION 'Kaynak depo onayı tamamlanmadan iç transfer hazırlanamaz.' USING ERRCODE = 'P0001', DETAIL = '50304'; + END IF; + CALL public."Inv_P_TransferCheckAvailability"(p_id); + ELSIF p_action = 'Check' THEN + IF v_status NOT IN ('Waiting', 'Ready') THEN + RAISE EXCEPTION 'Stok kontrolü yalnız bekleyen ya da hazır belgede yapılır.' USING ERRCODE = 'P0001', DETAIL = '50305'; + END IF; + CALL public."Inv_P_TransferCheckAvailability"(p_id); + ELSIF p_action = 'Validate' THEN + IF v_status <> 'Ready' THEN + RAISE EXCEPTION 'Yalnız hazır belge tamamlanabilir.' USING ERRCODE = 'P0001', DETAIL = '50306'; + END IF; + CALL public."Inv_P_TransferValidate"(p_id, p_user_id); + ELSIF p_action = 'Cancel' THEN + IF v_status IN ('Done', 'Cancelled') THEN + RAISE EXCEPTION 'Tamamlanmış ya da iptal edilmiş belge iptal edilemez.' USING ERRCODE = 'P0001', DETAIL = '50307'; + END IF; + UPDATE "Inv_T_Transfer" SET "Status" = 'Cancelled' WHERE "Id" = p_id; + ELSIF p_action = 'Return' THEN + IF v_status <> 'Done' THEN + RAISE EXCEPTION 'Yalnız tamamlanmış belge iade edilebilir.' USING ERRCODE = 'P0001', DETAIL = '50308'; + END IF; + CALL public."Inv_P_TransferCopy"(p_id, 'Return', p_user_id, v_new); + END IF; +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_P_TransferValidate.sql b/configs/seeds/postgres/object/Inv_P_TransferValidate.sql new file mode 100644 index 00000000..ffbb7f02 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_P_TransferValidate.sql @@ -0,0 +1,135 @@ +-- Tamamla: yapılan miktarlar stoğa işlenir (Inv_T_Stock, ürün biriminde, lot kırılımlı). İç konumdan çıkışta stok yetmezse +-- işlem durur; dış konumlar stok tutmaz. Envanter takibi kapalı ürün stoğa girmez. Lot/seri takipli üründe lot toplamı +-- yapılan miktara eşit olmalıdır. Sipariş kalemlerinin alınan, talep kalemlerinin teslim edilen miktarı güncellenir (iadede düşülür). +-- Talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. +CREATE OR REPLACE PROCEDURE public."Inv_P_TransferValidate"(p_id uuid, p_user_id uuid DEFAULT NULL) +LANGUAGE plpgsql AS $$ +DECLARE v_tenant uuid; v_status varchar(16); v_kind varchar(32); v_return_of uuid; v_src uuid; v_dst uuid; + v_src_internal boolean := false; v_dst_internal boolean := false; v_dst_branch uuid; v_dst_warehouse uuid; + v_sign int; v_new uuid; v_now timestamp := NOW() AT TIME ZONE 'UTC'; v_msg varchar(512); +BEGIN + SELECT "TenantId", "Status", "OperationKind", "ReturnOfId", "SourceLocationId", "DestinationLocationId" + INTO v_tenant, v_status, v_kind, v_return_of, v_src, v_dst + FROM "Inv_T_Transfer" WHERE "Id" = p_id + FOR UPDATE; + IF v_status <> 'Ready' THEN + RAISE EXCEPTION 'Yalnız hazır belge tamamlanabilir.' USING ERRCODE = 'P0001', DETAIL = '50306'; + END IF; + v_sign := CASE WHEN v_return_of IS NULL THEN 1 ELSE -1 END; + + SELECT "LocationType" = 'Internal' INTO v_src_internal FROM "Inv_T_Location" WHERE "Id" = v_src; + SELECT "LocationType" = 'Internal', "BranchId", "WarehouseId" INTO v_dst_internal, v_dst_branch, v_dst_warehouse + FROM "Inv_T_Location" WHERE "Id" = v_dst; + v_src_internal := COALESCE(v_src_internal, false); + v_dst_internal := COALESCE(v_dst_internal, false); + + IF NOT EXISTS (SELECT 1 FROM "Inv_T_TransferLine" WHERE "TransferId" = p_id AND "IsDeleted" = false AND "Quantity" > 0) THEN + RAISE EXCEPTION 'Yapılan miktarı girilmiş satır yok.' USING ERRCODE = 'P0001', DETAIL = '50309'; + END IF; + + SELECT p."Name" || ': lot/seri toplamı ' || rtrim(rtrim(z.q::text, '0'), '.') || ', yapılan miktar ' || rtrim(rtrim(l."Quantity"::text, '0'), '.') INTO v_msg + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + CROSS JOIN LATERAL (SELECT COALESCE(SUM(lt."Quantity"), 0) AS q FROM "Inv_T_TransferLineLot" lt WHERE lt."TransferLineId" = l."Id" AND lt."IsDeleted" = false) z + WHERE l."TransferId" = p_id AND l."IsDeleted" = false AND l."Quantity" > 0 AND p."TrackInventory" = true AND p."TrackingMethod" IN ('Lot', 'Serial') + AND z.q <> l."Quantity" + LIMIT 1; + IF v_msg IS NOT NULL THEN + RAISE EXCEPTION 'Lot/seri miktarı yapılan miktara eşit değil — %', v_msg USING ERRCODE = 'P0001', DETAIL = '50310'; + END IF; + + SELECT p."Name" || ' / ' || z."LotNo" INTO v_msg + FROM "Inv_T_TransferLineLot" z + INNER JOIN "Inv_T_TransferLine" l ON l."Id" = z."TransferLineId" + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + WHERE l."TransferId" = p_id AND l."IsDeleted" = false AND z."IsDeleted" = false AND p."TrackingMethod" = 'Serial' + AND (z."Quantity" <> 1 OR EXISTS (SELECT 1 FROM "Inv_T_TransferLineLot" z2 + INNER JOIN "Inv_T_TransferLine" l2 ON l2."Id" = z2."TransferLineId" + WHERE l2."TransferId" = p_id AND l2."IsDeleted" = false AND z2."IsDeleted" = false + AND l2."ProductId" = l."ProductId" AND z2."LotNo" = z."LotNo" AND z2."Id" <> z."Id")) + LIMIT 1; + IF v_msg IS NOT NULL THEN + RAISE EXCEPTION 'Seri numaralı üründe her seri 1 adet ve tekil olmalıdır: %', v_msg USING ERRCODE = 'P0001', DETAIL = '50311'; + END IF; + + -- Stoğa işlenecek hareket: ürün × lot, ürün biriminde. + DROP TABLE IF EXISTS tmp_inv_move; + CREATE TEMP TABLE tmp_inv_move AS + SELECT m."ProductId", m."LotNo", SUM(m."Quantity") AS "Quantity", m."UomId" + FROM (SELECT l."ProductId", p."UomId", + CASE WHEN p."TrackingMethod" IN ('Lot', 'Serial') THEN z."LotNo" ELSE '' END AS "LotNo", + public."Inv_F_UomConvert"(CASE WHEN p."TrackingMethod" IN ('Lot', 'Serial') THEN z."Quantity" ELSE l."Quantity" END, l."UomId", p."UomId") AS "Quantity" + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Product" p ON p."Id" = l."ProductId" + LEFT JOIN "Inv_T_TransferLineLot" z ON z."TransferLineId" = l."Id" AND z."IsDeleted" = false AND p."TrackingMethod" IN ('Lot', 'Serial') + WHERE l."TransferId" = p_id AND l."IsDeleted" = false AND l."Quantity" > 0 AND p."TrackInventory" = true) m + GROUP BY m."ProductId", m."LotNo", m."UomId"; + + IF v_src_internal THEN + PERFORM 1 FROM "Inv_T_Stock" s + WHERE s."LocationId" = v_src AND s."TenantId" IS NOT DISTINCT FROM v_tenant + AND (s."ProductId", s."LotNo") IN (SELECT "ProductId", "LotNo" FROM tmp_inv_move) + FOR UPDATE; + + SELECT p."Name" || CASE WHEN m."LotNo" = '' THEN '' ELSE ' / ' || m."LotNo" END INTO v_msg + FROM tmp_inv_move m + INNER JOIN "Inv_T_Product" p ON p."Id" = m."ProductId" + LEFT JOIN "Inv_T_Stock" s ON s."LocationId" = v_src AND s."ProductId" = m."ProductId" AND s."LotNo" = m."LotNo" + AND s."TenantId" IS NOT DISTINCT FROM v_tenant + WHERE COALESCE(s."Quantity", 0) < m."Quantity" + LIMIT 1; + IF v_msg IS NOT NULL THEN + RAISE EXCEPTION 'Kaynak konumda yeterli stok yok: %', v_msg USING ERRCODE = 'P0001', DETAIL = '50312'; + END IF; + + UPDATE "Inv_T_Stock" s SET "Quantity" = s."Quantity" - m."Quantity", "LastMoveDate" = v_now, "LastModificationTime" = v_now, "LastModifierId" = p_user_id + FROM tmp_inv_move m + WHERE m."ProductId" = s."ProductId" AND m."LotNo" = s."LotNo" AND s."LocationId" = v_src AND s."TenantId" IS NOT DISTINCT FROM v_tenant; + END IF; + + IF v_dst_internal THEN + UPDATE "Inv_T_Stock" s SET "Quantity" = s."Quantity" + m."Quantity", "LastMoveDate" = v_now, "LastModificationTime" = v_now, "LastModifierId" = p_user_id, + "InDate" = CASE WHEN s."Quantity" <= 0 THEN v_now ELSE s."InDate" END + FROM tmp_inv_move m + WHERE m."ProductId" = s."ProductId" AND m."LotNo" = s."LotNo" AND s."LocationId" = v_dst AND s."TenantId" IS NOT DISTINCT FROM v_tenant; + + INSERT INTO "Inv_T_Stock" ("Id", "TenantId", "BranchId", "WarehouseId", "LocationId", "ProductId", "LotNo", "Quantity", "UomId", "InDate", "LastMoveDate", "CreationTime", "CreatorId", "IsDeleted") + SELECT gen_random_uuid(), v_tenant, v_dst_branch, v_dst_warehouse, v_dst, m."ProductId", m."LotNo", m."Quantity", m."UomId", v_now, v_now, v_now, p_user_id, false + FROM tmp_inv_move m + WHERE NOT EXISTS (SELECT 1 FROM "Inv_T_Stock" s + WHERE s."LocationId" = v_dst AND s."ProductId" = m."ProductId" AND s."LotNo" = m."LotNo" + AND s."TenantId" IS NOT DISTINCT FROM v_tenant); + END IF; + DROP TABLE tmp_inv_move; + + UPDATE "Inv_T_Transfer" + SET "Status" = 'Done', "EffectiveDate" = v_now, + "ReceivedByUserId" = CASE WHEN v_kind = 'InternalTransfer' THEN p_user_id ELSE "ReceivedByUserId" END, + "ReceivedDate" = CASE WHEN v_kind = 'InternalTransfer' THEN v_now ELSE "ReceivedDate" END + WHERE "Id" = p_id; + + UPDATE "Prc_T_PurchaseOrderLine" ol SET "ReceivedQuantity" = ol."ReceivedQuantity" + v_sign * x."Quantity" + FROM (SELECT l."PurchaseOrderLineId", SUM(public."Inv_F_UomConvert"(l."Quantity", l."UomId", pl."UomId")) AS "Quantity" + FROM "Inv_T_TransferLine" l + INNER JOIN "Prc_T_PurchaseOrderLine" pl ON pl."Id" = l."PurchaseOrderLineId" + WHERE l."TransferId" = p_id AND l."IsDeleted" = false AND l."Quantity" > 0 + GROUP BY l."PurchaseOrderLineId") x + WHERE x."PurchaseOrderLineId" = ol."Id"; + + UPDATE "Prc_T_MaterialRequestItem" i SET "DeliveredQuantity" = i."DeliveredQuantity" + v_sign * x."Quantity", + "LineStatus" = CASE WHEN i."DeliveredQuantity" + v_sign * x."Quantity" >= i."Quantity" THEN 'Done' + WHEN i."LineStatus" = 'Done' THEN 'Waiting' ELSE i."LineStatus" END + FROM (SELECT l."MaterialRequestItemId", SUM(public."Inv_F_UomConvert"(l."Quantity", l."UomId", mi."UomId")) AS "Quantity" + FROM "Inv_T_TransferLine" l + INNER JOIN "Prc_T_MaterialRequestItem" mi ON mi."Id" = l."MaterialRequestItemId" + WHERE l."TransferId" = p_id AND l."IsDeleted" = false AND l."Quantity" > 0 + GROUP BY l."MaterialRequestItemId") x + WHERE x."MaterialRequestItemId" = i."Id"; + + IF v_return_of IS NULL AND EXISTS (SELECT 1 FROM "Inv_T_TransferLine" WHERE "TransferId" = p_id AND "IsDeleted" = false AND "Quantity" < "DemandQuantity") THEN + CALL public."Inv_P_TransferCopy"(p_id, 'Backorder', p_user_id, v_new); + END IF; + + CALL public."Inv_P_TransferRecalc"(p_id); +END; +$$; diff --git a/configs/seeds/postgres/object/Inv_T_Location.sql b/configs/seeds/postgres/object/Inv_T_Location.sql index 4a029c4c..89aa346a 100644 --- a/configs/seeds/postgres/object/Inv_T_Location.sql +++ b/configs/seeds/postgres/object/Inv_T_Location.sql @@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS public."Inv_T_Location" "Name" varchar(128) NOT NULL, "LocationType" varchar(16) NOT NULL DEFAULT 'Internal', "DepartmentId" uuid NULL, - "ResponsibleUserId" uuid NULL, + "ResponsibleUserName" varchar(256) NULL, "IsActive" boolean NOT NULL DEFAULT TRUE, "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), "CreatorId" uuid NULL, diff --git a/configs/seeds/postgres/object/Inv_T_OperationType.sql b/configs/seeds/postgres/object/Inv_T_OperationType.sql index af564cef..28f445e6 100644 --- a/configs/seeds/postgres/object/Inv_T_OperationType.sql +++ b/configs/seeds/postgres/object/Inv_T_OperationType.sql @@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS public."Inv_T_OperationType" "WarehouseId" uuid NOT NULL, "Name" varchar(128) NOT NULL, "OperationKind" varchar(32) NOT NULL DEFAULT 'Receipt', - "SequencePrefix" varchar(16) NULL, + "SequenceName" varchar(128) NOT NULL, "Barcode" varchar(64) NULL, "SourceLocationId" uuid NULL, "DestinationLocationId" uuid NULL, diff --git a/configs/seeds/postgres/object/Inv_T_Stock.sql b/configs/seeds/postgres/object/Inv_T_Stock.sql new file mode 100644 index 00000000..e826e4be --- /dev/null +++ b/configs/seeds/postgres/object/Inv_T_Stock.sql @@ -0,0 +1,49 @@ +-- Şube × depo × konum × ürün × lot bakiyesi (ürün biriminde). Yalnız Tamamla yordamı (Inv_P_TransferValidate) yazar. +CREATE TABLE IF NOT EXISTS public."Inv_T_Stock" +( + "Id" uuid NOT NULL DEFAULT gen_random_uuid(), + "TenantId" uuid NULL, + "BranchId" uuid NOT NULL, + "WarehouseId" uuid NOT NULL, + "LocationId" uuid NOT NULL, + "ProductId" uuid NOT NULL, + "LotNo" varchar(64) NOT NULL DEFAULT '', + "Quantity" numeric(18, 4) NOT NULL DEFAULT 0, + "UomId" varchar(64) NOT NULL DEFAULT 'Adet', + "InDate" timestamp NULL, + "LastMoveDate" timestamp NULL, + "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), + "CreatorId" uuid NULL, + "LastModificationTime" timestamp NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeletionTime" timestamp NULL, + "DeleterId" uuid NULL, + CONSTRAINT "PK_Inv_T_Stock" PRIMARY KEY ("Id") +); + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'UQ_Inv_T_Stock_TenantId_LocationId_ProductId_LotNo') THEN + ALTER TABLE public."Inv_T_Stock" ADD CONSTRAINT "UQ_Inv_T_Stock_TenantId_LocationId_ProductId_LotNo" UNIQUE ("TenantId", "LocationId", "ProductId", "LotNo"); + END IF; +END +$$; + +CREATE INDEX IF NOT EXISTS "IX_Inv_T_Stock_ProductId" ON public."Inv_T_Stock" ("ProductId"); + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_Stock_BranchId') THEN + ALTER TABLE public."Inv_T_Stock" ADD CONSTRAINT "FK_Inv_T_Stock_BranchId" FOREIGN KEY ("BranchId") REFERENCES public."Sas_T_Branch" ("Id") ON DELETE NO ACTION ON UPDATE NO ACTION; + END IF; +END +$$; + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_Stock_LocationId') THEN + ALTER TABLE public."Inv_T_Stock" ADD CONSTRAINT "FK_Inv_T_Stock_LocationId" FOREIGN KEY ("LocationId") REFERENCES public."Inv_T_Location" ("Id") ON DELETE NO ACTION ON UPDATE NO ACTION; + END IF; +END +$$; diff --git a/configs/seeds/postgres/object/Inv_T_Transfer.sql b/configs/seeds/postgres/object/Inv_T_Transfer.sql new file mode 100644 index 00000000..26be2ebf --- /dev/null +++ b/configs/seeds/postgres/object/Inv_T_Transfer.sql @@ -0,0 +1,84 @@ +-- Envanter hareket belgesi: Alım, Teslimat, İç Transfer (ve sonra Üretim) aynı başlık tablosunu paylaşır; tür OperationKind ile ayrılır. +CREATE TABLE IF NOT EXISTS public."Inv_T_Transfer" +( + "Id" uuid NOT NULL DEFAULT gen_random_uuid(), + "TenantId" uuid NULL, + "TransferNo" varchar(32) NULL, + "BranchId" uuid NOT NULL, + "WarehouseId" uuid NOT NULL, + "OperationTypeId" uuid NOT NULL, + "OperationKind" varchar(32) NOT NULL DEFAULT 'Receipt', + "PartnerId" uuid NULL, + "SourceLocationId" uuid NULL, + "DestinationLocationId" uuid NULL, + "ScheduledDate" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), + "EffectiveDate" timestamp NULL, + "SourceDocument" varchar(128) NULL, + "PurchaseOrderId" uuid NULL, + "BackorderOfId" uuid NULL, + "ReturnOfId" uuid NULL, + "CarrierId" uuid NULL, + "TrackingReference" varchar(128) NULL, + "Weight" numeric(18, 4) NOT NULL DEFAULT 0, + "ShippingWeight" numeric(18, 4) NOT NULL DEFAULT 0, + "ResponsibleUserId" uuid NULL, + "ProjectId" uuid NULL, + "DeliveryPolicy" varchar(16) NULL, + "Note" text NULL, + "LineSummary" text NULL, + "Status" varchar(16) NOT NULL DEFAULT 'Draft', + "PendingAction" varchar(16) NULL, + "SourceApproverUserNames" varchar(512) NULL, + "ApprovalUserName" varchar(256) NULL, + "ApprovalStatus" varchar(50) NULL, + "ApprovalDate" timestamp NULL, + "ApprovalDescription" varchar(200) NULL, + "ReceivedByUserId" uuid NULL, + "ReceivedDate" timestamp NULL, + "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), + "CreatorId" uuid NULL, + "LastModificationTime" timestamp NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeletionTime" timestamp NULL, + "DeleterId" uuid NULL, + CONSTRAINT "PK_Inv_T_Transfer" PRIMARY KEY ("Id") +); + +CREATE INDEX IF NOT EXISTS "IX_Inv_T_Transfer_TenantId_OperationKind_Status" ON public."Inv_T_Transfer" ("TenantId", "OperationKind", "Status"); + +CREATE INDEX IF NOT EXISTS "IX_Inv_T_Transfer_OperationTypeId" ON public."Inv_T_Transfer" ("OperationTypeId"); + +CREATE INDEX IF NOT EXISTS "IX_Inv_T_Transfer_PurchaseOrderId" ON public."Inv_T_Transfer" ("PurchaseOrderId"); + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_Transfer_BranchId') THEN + ALTER TABLE public."Inv_T_Transfer" ADD CONSTRAINT "FK_Inv_T_Transfer_BranchId" FOREIGN KEY ("BranchId") REFERENCES public."Sas_T_Branch" ("Id") ON DELETE NO ACTION ON UPDATE NO ACTION; + END IF; +END +$$; + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_Transfer_OperationTypeId') THEN + ALTER TABLE public."Inv_T_Transfer" ADD CONSTRAINT "FK_Inv_T_Transfer_OperationTypeId" FOREIGN KEY ("OperationTypeId") REFERENCES public."Inv_T_OperationType" ("Id") ON DELETE NO ACTION ON UPDATE NO ACTION; + END IF; +END +$$; + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_Transfer_SourceLocationId') THEN + ALTER TABLE public."Inv_T_Transfer" ADD CONSTRAINT "FK_Inv_T_Transfer_SourceLocationId" FOREIGN KEY ("SourceLocationId") REFERENCES public."Inv_T_Location" ("Id") ON DELETE NO ACTION ON UPDATE NO ACTION; + END IF; +END +$$; + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_Transfer_DestinationLocationId') THEN + ALTER TABLE public."Inv_T_Transfer" ADD CONSTRAINT "FK_Inv_T_Transfer_DestinationLocationId" FOREIGN KEY ("DestinationLocationId") REFERENCES public."Inv_T_Location" ("Id") ON DELETE NO ACTION ON UPDATE NO ACTION; + END IF; +END +$$; diff --git a/configs/seeds/postgres/object/Inv_T_TransferLine.sql b/configs/seeds/postgres/object/Inv_T_TransferLine.sql new file mode 100644 index 00000000..91770086 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_T_TransferLine.sql @@ -0,0 +1,35 @@ +CREATE TABLE IF NOT EXISTS public."Inv_T_TransferLine" +( + "Id" uuid NOT NULL DEFAULT gen_random_uuid(), + "TenantId" uuid NULL, + "TransferId" uuid NOT NULL, + "ProductId" uuid NOT NULL, + "Description" varchar(512) NULL, + "DemandQuantity" numeric(18, 4) NOT NULL DEFAULT 1, + "Quantity" numeric(18, 4) NOT NULL DEFAULT 0, + "UomId" varchar(64) NOT NULL DEFAULT 'Adet', + "PurchaseOrderLineId" uuid NULL, + "MaterialRequestItemId" uuid NULL, + "PendingAction" varchar(16) NULL, + "TrackingMethod" varchar(16) NULL, + "LotFromStock" boolean NOT NULL DEFAULT FALSE, + "LotNumbers" text NULL, + "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), + "CreatorId" uuid NULL, + "LastModificationTime" timestamp NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeletionTime" timestamp NULL, + "DeleterId" uuid NULL, + CONSTRAINT "PK_Inv_T_TransferLine" PRIMARY KEY ("Id") +); + +CREATE INDEX IF NOT EXISTS "IX_Inv_T_TransferLine_TransferId" ON public."Inv_T_TransferLine" ("TransferId"); + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_TransferLine_TransferId') THEN + ALTER TABLE public."Inv_T_TransferLine" ADD CONSTRAINT "FK_Inv_T_TransferLine_TransferId" FOREIGN KEY ("TransferId") REFERENCES public."Inv_T_Transfer" ("Id") ON DELETE CASCADE ON UPDATE NO ACTION; + END IF; +END +$$; diff --git a/configs/seeds/postgres/object/Inv_T_TransferLineLot.sql b/configs/seeds/postgres/object/Inv_T_TransferLineLot.sql new file mode 100644 index 00000000..fa5b2509 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_T_TransferLineLot.sql @@ -0,0 +1,27 @@ +-- Hareket satırının lot/seri dağılımı; miktar satırın biriminde tutulur. +CREATE TABLE IF NOT EXISTS public."Inv_T_TransferLineLot" +( + "Id" uuid NOT NULL DEFAULT gen_random_uuid(), + "TenantId" uuid NULL, + "TransferLineId" uuid NOT NULL, + "LotNo" varchar(64) NOT NULL, + "Quantity" numeric(18, 4) NOT NULL DEFAULT 1, + "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), + "CreatorId" uuid NULL, + "LastModificationTime" timestamp NULL, + "LastModifierId" uuid NULL, + "IsDeleted" boolean NOT NULL DEFAULT FALSE, + "DeletionTime" timestamp NULL, + "DeleterId" uuid NULL, + CONSTRAINT "PK_Inv_T_TransferLineLot" PRIMARY KEY ("Id") +); + +CREATE INDEX IF NOT EXISTS "IX_Inv_T_TransferLineLot_TransferLineId" ON public."Inv_T_TransferLineLot" ("TransferLineId"); + +DO $$ +BEGIN + IF NOT EXISTS (SELECT 1 FROM pg_constraint WHERE conname = 'FK_Inv_T_TransferLineLot_TransferLineId') THEN + ALTER TABLE public."Inv_T_TransferLineLot" ADD CONSTRAINT "FK_Inv_T_TransferLineLot_TransferLineId" FOREIGN KEY ("TransferLineId") REFERENCES public."Inv_T_TransferLine" ("Id") ON DELETE CASCADE ON UPDATE NO ACTION; + END IF; +END +$$; diff --git a/configs/seeds/postgres/object/Inv_V_StockMove.sql b/configs/seeds/postgres/object/Inv_V_StockMove.sql new file mode 100644 index 00000000..f4c2f7ea --- /dev/null +++ b/configs/seeds/postgres/object/Inv_V_StockMove.sql @@ -0,0 +1,11 @@ +-- Hareketler: bütün operasyon türlerinin satırları ortak kolonlarla, lot/seri dağılımı varsa lot başına bir satır. +-- Miktar yapılan miktardır (lotlu satırda lotun miktarı); Talep satırın talep miktarıdır. +CREATE OR REPLACE VIEW public."Inv_V_StockMove" AS +SELECT COALESCE(z."Id", l."Id") AS "Id", l."TenantId", t."Id" AS "TransferId", t."TransferNo", t."OperationKind", t."OperationTypeId", t."Status", + COALESCE(t."EffectiveDate", t."ScheduledDate") AS "MoveDate", t."BranchId", t."WarehouseId", + t."SourceLocationId", t."DestinationLocationId", t."PartnerId", t."SourceDocument", + l."ProductId", COALESCE(z."LotNo", '') AS "LotNo", l."DemandQuantity", COALESCE(z."Quantity", l."Quantity") AS "Quantity", l."UomId" + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Transfer" t ON t."Id" = l."TransferId" + LEFT JOIN "Inv_T_TransferLineLot" z ON z."TransferLineId" = l."Id" AND z."IsDeleted" = false + WHERE l."IsDeleted" = false AND t."IsDeleted" = false; diff --git a/configs/seeds/postgres/object/Inv_V_TransferLineLot.sql b/configs/seeds/postgres/object/Inv_V_TransferLineLot.sql new file mode 100644 index 00000000..e8222ddc --- /dev/null +++ b/configs/seeds/postgres/object/Inv_V_TransferLineLot.sql @@ -0,0 +1,5 @@ +-- Lot Detayları diyaloğu: satırın lot/seri dağılımı; BaseId diyaloğun süzdüğü (ve yeni satıra yazdığı) hareket satırıdır. +CREATE OR REPLACE VIEW public."Inv_V_TransferLineLot" AS +SELECT z."Id", z."TenantId", z."TransferLineId" AS "BaseId", z."LotNo", z."Quantity", z."CreationTime", z."CreatorId", z."LastModificationTime", z."LastModifierId" + FROM "Inv_T_TransferLineLot" z + WHERE z."IsDeleted" = false; diff --git a/configs/seeds/postgres/object/Inv_V_TransferLineLotStock.sql b/configs/seeds/postgres/object/Inv_V_TransferLineLotStock.sql new file mode 100644 index 00000000..3becbb28 --- /dev/null +++ b/configs/seeds/postgres/object/Inv_V_TransferLineLotStock.sql @@ -0,0 +1,15 @@ +-- Stoktan Lot Seçimi diyaloğu: stoktan çıkan satırın kaynak konumundaki bütün lotları (eldeki miktar satırın biriminde) ve +-- satıra atanmış miktarları. BaseId diyaloğun süzdüğü hareket satırıdır; Id satır + stok kaydıdır (kayıt yordamı ikisini ayırır). +-- Atanmış lotun stoğu bitse de (tamamlanmış belge) satır görünür. +CREATE OR REPLACE VIEW public."Inv_V_TransferLineLotStock" AS +SELECT l."Id"::text || ':' || s."Id"::text AS "Id", l."TenantId", l."Id" AS "BaseId", s."LotNo", s."InDate", + public."Inv_F_UomConvert"(s."Quantity", s."UomId", l."UomId") AS "OnHand", l."UomId", + z."Quantity" IS NOT NULL AS "IsSelected", z."Quantity" AS "SelectedQuantity" + FROM "Inv_T_TransferLine" l + INNER JOIN "Inv_T_Transfer" t ON t."Id" = l."TransferId" + INNER JOIN "Inv_T_Stock" s ON s."LocationId" = t."SourceLocationId" AND s."ProductId" = l."ProductId" AND s."LotNo" <> '' AND s."IsDeleted" = false + LEFT JOIN (SELECT "TransferLineId", "LotNo", SUM("Quantity") AS "Quantity" + FROM "Inv_T_TransferLineLot" + WHERE "IsDeleted" = false + GROUP BY "TransferLineId", "LotNo") z ON z."TransferLineId" = l."Id" AND z."LotNo" = s."LotNo" + WHERE l."IsDeleted" = false AND (s."Quantity" > 0 OR z."Quantity" IS NOT NULL); diff --git a/configs/seeds/postgres/object/Prc_P_PurchaseOrderSetStatus.sql b/configs/seeds/postgres/object/Prc_P_PurchaseOrderSetStatus.sql index 631bb026..02217838 100644 --- a/configs/seeds/postgres/object/Prc_P_PurchaseOrderSetStatus.sql +++ b/configs/seeds/postgres/object/Prc_P_PurchaseOrderSetStatus.sql @@ -13,13 +13,19 @@ BEGIN RAISE EXCEPTION 'Kalemi olmayan sipariş onaylanamaz.' USING ERRCODE = 'P0001', DETAIL = '50182'; END IF; UPDATE "Prc_T_PurchaseOrder" SET "Status" = 'Purchase', "ConfirmDate" = NOW() AT TIME ZONE 'UTC' WHERE "Id" = p_id; + CALL public."Inv_P_TransferFromPurchaseOrder"(p_id, p_user_id); ELSIF p_action = 'Send' THEN IF v_status = 'Cancelled' THEN RAISE EXCEPTION 'İptal edilmiş sipariş gönderilemez.' USING ERRCODE = 'P0001', DETAIL = '50183'; END IF; CALL public."Prc_P_PurchaseOrderSend"(p_id, p_user_id); ELSIF p_action = 'Cancel' THEN + IF EXISTS (SELECT 1 FROM "Inv_T_Transfer" WHERE "PurchaseOrderId" = p_id AND "IsDeleted" = false AND "Status" = 'Done') THEN + RAISE EXCEPTION 'Teslim alınmış (yapılmış alımı olan) sipariş iptal edilemez.' USING ERRCODE = 'P0001', DETAIL = '50318'; + END IF; UPDATE "Prc_T_PurchaseOrder" SET "Status" = 'Cancelled' WHERE "Id" = p_id; + -- Siparişin yapılmamış alımları da iptal olur; sipariş yeniden onaylanırsa yeni alım açılır. + UPDATE "Inv_T_Transfer" SET "Status" = 'Cancelled' WHERE "PurchaseOrderId" = p_id AND "IsDeleted" = false AND "Status" IN ('Draft', 'Waiting', 'Ready'); ELSIF p_action = 'Draft' THEN IF v_status <> 'Cancelled' THEN RAISE EXCEPTION 'Yalnız iptal edilmiş sipariş taslağa alınabilir.' USING ERRCODE = 'P0001', DETAIL = '50184'; diff --git a/configs/seeds/postgres/object/Prc_P_PurchaseRfqAward.sql b/configs/seeds/postgres/object/Prc_P_PurchaseRfqAward.sql index aeb3ef0e..325ee9cf 100644 --- a/configs/seeds/postgres/object/Prc_P_PurchaseRfqAward.sql +++ b/configs/seeds/postgres/object/Prc_P_PurchaseRfqAward.sql @@ -26,7 +26,7 @@ BEGIN FOR v_rfq IN SELECT DISTINCT rfq_id FROM prc_award_win LOOP v_po := gen_random_uuid(); - CALL public."Adm_P_SequenceNext"('PurchaseOrder1', v_tenant, v_no); + CALL public."Adm_P_SequenceNext"('Prc.PurchaseOrder', v_tenant, v_no); INSERT INTO "Prc_T_PurchaseOrder" ("Id", "TenantId", "OrderNo", "PurchaseRfqId", "SupplierId", "SupplierReference", "AgreementId", "BranchId", "OperationTypeId", "WarehouseId", "CurrencyId", "ExpectedArrival", "ConfirmDate", "BuyerUserId", "ProjectId", "IncotermId", "IncotermLocation", "PaymentTermId", "Terms", @@ -45,6 +45,7 @@ BEGIN WHERE w.rfq_id = v_rfq; CALL public."Prc_P_PurchaseOrderRecalc"(v_po); + CALL public."Inv_P_TransferFromPurchaseOrder"(v_po, p_user_id); END LOOP; UPDATE "Prc_T_PurchaseRfqLine" l SET "IsSelected" = EXISTS (SELECT 1 FROM prc_award_win w WHERE w.line_id = l."Id") diff --git a/configs/seeds/postgres/object/Prc_P_PurchaseRfqCreateAlternative.sql b/configs/seeds/postgres/object/Prc_P_PurchaseRfqCreateAlternative.sql index 0a0fbd2c..6105921d 100644 --- a/configs/seeds/postgres/object/Prc_P_PurchaseRfqCreateAlternative.sql +++ b/configs/seeds/postgres/object/Prc_P_PurchaseRfqCreateAlternative.sql @@ -18,7 +18,7 @@ BEGIN RAISE EXCEPTION 'Bu tedarikçinin ihalede zaten bir teklif talebi var.' USING ERRCODE = 'P0001', DETAIL = '50167'; END IF; - CALL public."Adm_P_SequenceNext"('PurchaseRfq', v_tenant, v_no); + CALL public."Adm_P_SequenceNext"('Prc.PurchaseRfq', v_tenant, v_no); INSERT INTO "Prc_T_PurchaseRfq" ("Id", "TenantId", "RfqNo", "TenderGroupId", "SupplierId", "AgreementId", "BranchId", "OperationTypeId", "WarehouseId", "CurrencyId", "OrderDeadline", "ExpectedArrival", "BuyerUserId", "ProjectId", "IncotermId", "IncotermLocation", "PaymentTermId", diff --git a/configs/seeds/postgres/object/Prc_T_PurchaseOrderLine.sql b/configs/seeds/postgres/object/Prc_T_PurchaseOrderLine.sql index 1392a1d7..3a4e88fe 100644 --- a/configs/seeds/postgres/object/Prc_T_PurchaseOrderLine.sql +++ b/configs/seeds/postgres/object/Prc_T_PurchaseOrderLine.sql @@ -13,6 +13,7 @@ CREATE TABLE IF NOT EXISTS public."Prc_T_PurchaseOrderLine" "DeliveryDate" timestamp NULL, "MaterialRequestItemId" uuid NULL, "PurchaseRfqLineId" uuid NULL, + "ReceivedQuantity" numeric(18, 4) NOT NULL DEFAULT 0, "CreationTime" timestamp NOT NULL DEFAULT (NOW() AT TIME ZONE 'UTC'), "CreatorId" uuid NULL, "LastModificationTime" timestamp NULL, diff --git a/configs/seeds/postgres/object/Prc_V_MaterialRequestTransferItem.sql b/configs/seeds/postgres/object/Prc_V_MaterialRequestTransferItem.sql new file mode 100644 index 00000000..9c907665 --- /dev/null +++ b/configs/seeds/postgres/object/Prc_V_MaterialRequestTransferItem.sql @@ -0,0 +1,17 @@ +-- İç transfere aktarılabilecek talep kalemleri: onaylı talebin transferle karşılanacak, bekleyen ve açık bir transferde yer almayan +-- kalemi, aynı şubedeki taslak iç transfer belgesiyle eşlenir. Id = belge|kalem; Talepten Aktar seçilen satırları Inv_P_TransferImportItem ile ekler. +CREATE OR REPLACE VIEW public."Prc_V_MaterialRequestTransferItem" AS +SELECT d."Id"::text || '|' || i."Id"::text AS "Id", d."Id" AS "BaseId", i."TenantId", i."Id" AS "MaterialRequestItemId", + i."MaterialRequestId", r."RequestNo", r."RequesterUserId", i."ProductId", i."Quantity" - i."DeliveredQuantity" AS "Quantity", i."UomId", + i."RequestReason", i."DueDate", r."WarehouseId", r."LocationId" + FROM "Inv_T_Transfer" d + INNER JOIN "Prc_T_MaterialRequest" r ON r."BranchId" = d."BranchId" AND r."TenantId" IS NOT DISTINCT FROM d."TenantId" + INNER JOIN "Prc_T_MaterialRequestItem" i ON i."MaterialRequestId" = r."Id" + WHERE d."IsDeleted" = false AND d."OperationKind" = 'InternalTransfer' AND d."Status" = 'Draft' + AND r."IsDeleted" = false AND i."IsDeleted" = false + AND r."ApprovalStatus" IN ('Onaylandı', 'Teklif Talebi', 'Teklif Talebi Gönderildi', 'Satınalma Siparişi') + AND i."FulfillmentMethod" = 'Transfer' AND i."LineStatus" = 'Waiting' AND i."Quantity" > i."DeliveredQuantity" + AND NOT EXISTS (SELECT 1 FROM "Inv_T_TransferLine" tl + INNER JOIN "Inv_T_Transfer" t ON t."Id" = tl."TransferId" + WHERE tl."MaterialRequestItemId" = i."Id" AND tl."IsDeleted" = false + AND t."IsDeleted" = false AND t."Status" NOT IN ('Done', 'Cancelled')); diff --git a/configs/seeds/sql/object/Inv_F_UomConvert.sql b/configs/seeds/sql/object/Inv_F_UomConvert.sql new file mode 100644 index 00000000..091f63a7 --- /dev/null +++ b/configs/seeds/sql/object/Inv_F_UomConvert.sql @@ -0,0 +1,25 @@ +-- Miktarı bir ölçü biriminden diğerine çevirir (aynı kategori içinde, Adm_T_Uom.Type + Ratio). +-- Referans birim 1; büyük birim 1 birim = Ratio referans; küçük birim Ratio birim = 1 referans. Kategori farklıysa ya da birim yoksa miktar aynen döner. +CREATE OR ALTER FUNCTION [dbo].[Inv_F_UomConvert] +( + @Quantity decimal(18, 4), + @FromUomId nvarchar(64), + @ToUomId nvarchar(64) +) +RETURNS decimal(18, 4) +AS +BEGIN + IF @Quantity IS NULL OR @FromUomId IS NULL OR @ToUomId IS NULL OR @FromUomId = @ToUomId + RETURN @Quantity; + + DECLARE @From float, @To float; + SELECT @From = CASE f.Type WHEN 'BiggerThanReference' THEN f.Ratio WHEN 'SmallerThanReference' THEN 1.0 / NULLIF(f.Ratio, 0) ELSE 1 END, + @To = CASE t.Type WHEN 'BiggerThanReference' THEN t.Ratio WHEN 'SmallerThanReference' THEN 1.0 / NULLIF(t.Ratio, 0) ELSE 1 END + FROM Adm_T_Uom f + INNER JOIN Adm_T_Uom t ON t.Id = @ToUomId AND t.UomCategoryId = f.UomCategoryId + WHERE f.Id = @FromUomId; + + IF @From IS NULL OR NULLIF(@To, 0) IS NULL + RETURN @Quantity; + RETURN ROUND(@Quantity * @From / @To, 4); +END diff --git a/configs/seeds/sql/object/Inv_P_TransferAfterSave.sql b/configs/seeds/sql/object/Inv_P_TransferAfterSave.sql new file mode 100644 index 00000000..98d8d41e --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferAfterSave.sql @@ -0,0 +1,52 @@ +-- Transfer belgesi kaydı (ve iş akışı adımları) sonrası: tür, şube, depo ve boş konumlar operasyon türünden gelir (formda olmayan alımın +-- kaynağı ve teslimatın hedefi her zaman, iade belgesi hariç); teslimat politikası +-- yalnız teslimatta tutulur; iç transferin onaycısı kaynak konumun depo sorumlusudur (kullanıcı adı; iş akışı onaycıyı adla eşler), +-- sorumlusu olmayan konumdan transfer onay beklemez. +-- Numara, özet ve durum butonunun işlemi (PendingAction) buradan çalışır. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferAfterSave] + @Id uniqueidentifier, + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Act nvarchar(16) = (SELECT PendingAction FROM Inv_T_Transfer WHERE Id = @Id); + + UPDATE t SET + OperationKind = ot.OperationKind, + BranchId = ot.BranchId, + WarehouseId = ot.WarehouseId, + SourceLocationId = CASE WHEN t.ReturnOfId IS NULL AND (ot.OperationKind = 'Receipt' OR t.SourceLocationId IS NULL) + THEN COALESCE(ot.SourceLocationId, t.SourceLocationId) ELSE t.SourceLocationId END, + DestinationLocationId = CASE WHEN t.ReturnOfId IS NULL AND (ot.OperationKind = 'Delivery' OR t.DestinationLocationId IS NULL) + THEN COALESCE(ot.DestinationLocationId, t.DestinationLocationId) ELSE t.DestinationLocationId END, + DeliveryPolicy = CASE WHEN ot.OperationKind = 'Delivery' THEN COALESCE(t.DeliveryPolicy, 'Direct') END + FROM Inv_T_Transfer t + INNER JOIN Inv_T_OperationType ot ON ot.Id = t.OperationTypeId + WHERE t.Id = @Id; + + UPDATE t SET + SourceApproverUserNames = NULLIF(l.ResponsibleUserName, ''), + ApprovalStatus = CASE WHEN NULLIF(l.ResponsibleUserName, '') IS NULL AND t.ApprovalStatus IS NULL THEN N'Onay Gerekmez' + WHEN NULLIF(l.ResponsibleUserName, '') IS NOT NULL AND t.ApprovalStatus = N'Onay Gerekmez' THEN NULL + ELSE t.ApprovalStatus END + FROM Inv_T_Transfer t + LEFT JOIN Inv_T_Location l ON l.Id = t.SourceLocationId + WHERE t.Id = @Id AND t.OperationKind = 'InternalTransfer' AND t.Status = 'Draft'; + + EXEC Inv_P_TransferNumber @Id; + EXEC Inv_P_TransferRecalc @Id; + -- Durum butonları işlemi PendingAction alanına yazıp ekranın güncelleme ucuyla kaydeder. + IF @Act IS NOT NULL + EXEC Inv_P_TransferSetStatus @Id, @Act, @UserId; + -- Kaynak depo onayı verilen taslak iç transfer kendiliğinden hazırlanır (kullanıcı kararı: onay → Hazırla tek adım). + -- Hazırla'nın şartları (satır, farklı iki iç konum) sağlanmıyorsa denenmez: onay kaydı bozulmaz, belge taslak kalır ve + -- Hazırla elle basılınca hatayı gösterir. + ELSE IF EXISTS (SELECT 1 + FROM Inv_T_Transfer t + INNER JOIN Inv_T_Location s ON s.Id = t.SourceLocationId AND s.LocationType = 'Internal' + INNER JOIN Inv_T_Location d ON d.Id = t.DestinationLocationId AND d.LocationType = 'Internal' + WHERE t.Id = @Id AND t.OperationKind = 'InternalTransfer' AND t.Status = 'Draft' AND t.ApprovalStatus = N'Onaylandı' + AND s.Id <> d.Id + AND EXISTS (SELECT 1 FROM Inv_T_TransferLine l WHERE l.TransferId = t.Id AND l.IsDeleted = 0)) + EXEC Inv_P_TransferSetStatus @Id, 'Confirm', @UserId; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferCheckAvailability.sql b/configs/seeds/sql/object/Inv_P_TransferCheckAvailability.sql new file mode 100644 index 00000000..83bb6863 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferCheckAvailability.sql @@ -0,0 +1,54 @@ +-- Yapılacak miktarı doldurur ve belgeyi Hazır ya da Bekleyen yapar. Rezervasyon yoktur; Tamamla stoğu yeniden kontrol eder. +-- Kaynak konum stok tutmuyorsa (dış konum) yapılacak miktar talep kadardır. İç konumdan çıkışta satırlar ürün bazında sırayla +-- karşılanır; tümü karşılanırsa Hazır olur. Teslimatta "Mümkün olduğunca kısa sürede" politikası kısmi karşılamada da Hazır yapar. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferCheckAvailability] + @Id uniqueidentifier +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Src uniqueidentifier, @Kind nvarchar(32), @Policy nvarchar(16), @Tenant uniqueidentifier, @All bit, @Any bit; + + SELECT @Src = t.SourceLocationId, @Kind = t.OperationKind, @Policy = t.DeliveryPolicy, @Tenant = t.TenantId + FROM Inv_T_Transfer t WHERE t.Id = @Id; + + IF NOT EXISTS (SELECT 1 FROM Inv_T_Location WHERE Id = @Src AND LocationType = 'Internal') + BEGIN + UPDATE Inv_T_TransferLine SET Quantity = DemandQuantity WHERE TransferId = @Id AND IsDeleted = 0 AND Quantity = 0; + UPDATE Inv_T_Transfer SET Status = 'Ready' WHERE Id = @Id; + RETURN; + END + + DECLARE @Fill TABLE (Id uniqueidentifier PRIMARY KEY, Fill decimal(18, 4) NOT NULL, Demand decimal(18, 4) NOT NULL); + + WITH d AS ( + SELECT l.Id, l.ProductId, l.UomId, p.UomId AS ProductUomId, p.TrackInventory, l.DemandQuantity, + dbo.Inv_F_UomConvert(l.DemandQuantity, l.UomId, p.UomId) AS DemandBase, + SUM(dbo.Inv_F_UomConvert(l.DemandQuantity, l.UomId, p.UomId)) + OVER (PARTITION BY l.ProductId ORDER BY l.CreationTime, l.Id ROWS UNBOUNDED PRECEDING) AS CumBase + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + WHERE l.TransferId = @Id AND l.IsDeleted = 0), + s AS ( + SELECT ProductId, SUM(Quantity) AS OnHand + FROM Inv_T_Stock + WHERE LocationId = @Src AND (TenantId = @Tenant OR (TenantId IS NULL AND @Tenant IS NULL)) + GROUP BY ProductId) + INSERT INTO @Fill (Id, Fill, Demand) + SELECT d.Id, + CASE WHEN d.TrackInventory = 0 OR ISNULL(s.OnHand, 0) >= d.CumBase THEN d.DemandQuantity + WHEN ISNULL(s.OnHand, 0) > d.CumBase - d.DemandBase + THEN dbo.Inv_F_UomConvert(ISNULL(s.OnHand, 0) - (d.CumBase - d.DemandBase), d.ProductUomId, d.UomId) + ELSE 0 END, + d.DemandQuantity + FROM d + LEFT JOIN s ON s.ProductId = d.ProductId; + + UPDATE l SET Quantity = f.Fill FROM Inv_T_TransferLine l INNER JOIN @Fill f ON f.Id = l.Id; + + SET @All = CASE WHEN EXISTS (SELECT 1 FROM @Fill WHERE Fill < Demand) THEN 0 ELSE 1 END; + SET @Any = CASE WHEN EXISTS (SELECT 1 FROM @Fill WHERE Fill > 0) THEN 1 ELSE 0 END; + + UPDATE Inv_T_Transfer + SET Status = CASE WHEN @All = 1 OR (@Kind = 'Delivery' AND ISNULL(@Policy, 'Direct') = 'Direct' AND @Any = 1) THEN 'Ready' ELSE 'Waiting' END + WHERE Id = @Id; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferCopy.sql b/configs/seeds/sql/object/Inv_P_TransferCopy.sql new file mode 100644 index 00000000..76a10720 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferCopy.sql @@ -0,0 +1,54 @@ +-- Belgeden yeni belge açar. Backorder: talepten az yapılan satırların kalanı, aynı konumlarla; stok kontrolüyle Hazır/Bekleyen olur. +-- Return (İade): yapılan miktarlar lotlarıyla, kaynak ve hedef yer değiştirerek Taslak açılır. İkisi de onay durumunu ve bağları taşır. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferCopy] + @SourceId uniqueidentifier, + @Mode nvarchar(16), + @UserId uniqueidentifier = NULL, + @NewId uniqueidentifier OUTPUT +AS +BEGIN + SET NOCOUNT ON; + DECLARE @IsReturn bit = CASE WHEN @Mode = 'Return' THEN 1 ELSE 0 END; + DECLARE @Map TABLE (OldId uniqueidentifier PRIMARY KEY, NewId uniqueidentifier NOT NULL); + SET @NewId = NEWID(); + + INSERT INTO Inv_T_Transfer (Id, TenantId, BranchId, WarehouseId, OperationTypeId, OperationKind, PartnerId, SourceLocationId, DestinationLocationId, + ScheduledDate, SourceDocument, PurchaseOrderId, BackorderOfId, ReturnOfId, CarrierId, ResponsibleUserId, ProjectId, DeliveryPolicy, + Status, SourceApproverUserNames, ApprovalUserName, ApprovalStatus, ApprovalDate, ApprovalDescription, CreationTime, CreatorId, IsDeleted) + SELECT @NewId, t.TenantId, t.BranchId, t.WarehouseId, t.OperationTypeId, t.OperationKind, t.PartnerId, + CASE WHEN @IsReturn = 1 THEN t.DestinationLocationId ELSE t.SourceLocationId END, + CASE WHEN @IsReturn = 1 THEN t.SourceLocationId ELSE t.DestinationLocationId END, + CASE WHEN @IsReturn = 1 THEN GETUTCDATE() ELSE t.ScheduledDate END, + CASE WHEN @IsReturn = 1 THEN t.TransferNo ELSE t.SourceDocument END, t.PurchaseOrderId, + CASE WHEN @IsReturn = 1 THEN NULL ELSE @SourceId END, CASE WHEN @IsReturn = 1 THEN @SourceId END, + t.CarrierId, t.ResponsibleUserId, t.ProjectId, t.DeliveryPolicy, + 'Draft', t.SourceApproverUserNames, t.ApprovalUserName, t.ApprovalStatus, t.ApprovalDate, t.ApprovalDescription, GETUTCDATE(), @UserId, 0 + FROM Inv_T_Transfer t + WHERE t.Id = @SourceId; + + INSERT INTO @Map (OldId, NewId) + SELECT Id, NEWID() + FROM Inv_T_TransferLine + WHERE TransferId = @SourceId AND IsDeleted = 0 + AND ((@IsReturn = 1 AND Quantity > 0) OR (@IsReturn = 0 AND Quantity < DemandQuantity)); + + INSERT INTO Inv_T_TransferLine (Id, TenantId, TransferId, ProductId, Description, DemandQuantity, Quantity, UomId, + PurchaseOrderLineId, MaterialRequestItemId, CreationTime, CreatorId, IsDeleted) + SELECT m.NewId, l.TenantId, @NewId, l.ProductId, l.Description, + CASE WHEN @IsReturn = 1 THEN l.Quantity ELSE l.DemandQuantity - l.Quantity END, 0, l.UomId, + l.PurchaseOrderLineId, l.MaterialRequestItemId, GETUTCDATE(), @UserId, 0 + FROM Inv_T_TransferLine l + INNER JOIN @Map m ON m.OldId = l.Id; + + IF @IsReturn = 1 + INSERT INTO Inv_T_TransferLineLot (Id, TenantId, TransferLineId, LotNo, Quantity, CreationTime, CreatorId, IsDeleted) + SELECT NEWID(), z.TenantId, m.NewId, z.LotNo, z.Quantity, GETUTCDATE(), @UserId, 0 + FROM Inv_T_TransferLineLot z + INNER JOIN @Map m ON m.OldId = z.TransferLineId + WHERE z.IsDeleted = 0; + + EXEC Inv_P_TransferNumber @NewId; + IF @IsReturn = 0 + EXEC Inv_P_TransferCheckAvailability @NewId; + EXEC Inv_P_TransferRecalc @NewId; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferFromPurchaseOrder.sql b/configs/seeds/sql/object/Inv_P_TransferFromPurchaseOrder.sql new file mode 100644 index 00000000..4fafc59b --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferFromPurchaseOrder.sql @@ -0,0 +1,35 @@ +-- Onaylanan satınalma siparişinden siparişin operasyon türünde Taslak alım açar: konumlar operasyon türünden, satırlar +-- siparişin envanter takipli kalemlerinin henüz alınmamış miktarıdır. Siparişin iptal olmayan alımı varsa yeni alım açılmaz. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferFromPurchaseOrder] + @OrderId uniqueidentifier, + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + DECLARE @New uniqueidentifier = NEWID(); + + IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE PurchaseOrderId = @OrderId AND IsDeleted = 0 AND Status <> 'Cancelled') + RETURN; + + INSERT INTO Inv_T_Transfer (Id, TenantId, BranchId, WarehouseId, OperationTypeId, OperationKind, PartnerId, SourceLocationId, DestinationLocationId, + ScheduledDate, SourceDocument, PurchaseOrderId, ResponsibleUserId, ProjectId, Status, CreationTime, CreatorId, IsDeleted) + SELECT @New, o.TenantId, ot.BranchId, ot.WarehouseId, o.OperationTypeId, ot.OperationKind, o.SupplierId, ot.SourceLocationId, ot.DestinationLocationId, + COALESCE(o.ExpectedArrival, GETUTCDATE()), o.OrderNo, o.Id, o.BuyerUserId, o.ProjectId, 'Draft', GETUTCDATE(), @UserId, 0 + FROM Prc_T_PurchaseOrder o + INNER JOIN Inv_T_OperationType ot ON ot.Id = o.OperationTypeId + WHERE o.Id = @OrderId + AND EXISTS (SELECT 1 FROM Prc_T_PurchaseOrderLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + WHERE l.PurchaseOrderId = o.Id AND l.IsDeleted = 0 AND p.TrackInventory = 1 AND l.Quantity > l.ReceivedQuantity); + IF @@ROWCOUNT = 0 + RETURN; + + INSERT INTO Inv_T_TransferLine (Id, TenantId, TransferId, ProductId, Description, DemandQuantity, Quantity, UomId, PurchaseOrderLineId, CreationTime, CreatorId, IsDeleted) + SELECT NEWID(), l.TenantId, @New, l.ProductId, l.Description, l.Quantity - l.ReceivedQuantity, 0, l.UomId, l.Id, GETUTCDATE(), @UserId, 0 + FROM Prc_T_PurchaseOrderLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + WHERE l.PurchaseOrderId = @OrderId AND l.IsDeleted = 0 AND p.TrackInventory = 1 AND l.Quantity > l.ReceivedQuantity; + + EXEC Inv_P_TransferNumber @New; + EXEC Inv_P_TransferRecalc @New; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferImportItem.sql b/configs/seeds/sql/object/Inv_P_TransferImportItem.sql new file mode 100644 index 00000000..9052632c --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferImportItem.sql @@ -0,0 +1,23 @@ +-- Talepten Aktar: seçilen malzeme talebi kalemini (@Key = belge|kalem) taslak iç transfere satır olarak ekler; kalanı (talep − teslim) aktarılır. +-- Belgenin hedef konumu boşsa talebin konumu yazılır. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferImportItem] + @Key nvarchar(80) +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Doc uniqueidentifier, @Tenant uniqueidentifier, @Item uniqueidentifier, @ProductId uniqueidentifier, @Description nvarchar(256), + @Quantity decimal(18, 4), @UomId nvarchar(64), @LocationId uniqueidentifier; + + SELECT @Doc = BaseId, @Tenant = TenantId, @Item = MaterialRequestItemId, @ProductId = ProductId, @Description = RequestReason, + @Quantity = Quantity, @UomId = UomId, @LocationId = LocationId + FROM Prc_V_MaterialRequestTransferItem + WHERE Id = @Key; + IF @Doc IS NULL + THROW 50319, N'Talep kalemi artık aktarılamaz: belge taslak değil, kalem başka bir transfere aktarılmış ya da talep değişmiş.', 1; + + INSERT INTO Inv_T_TransferLine (Id, TenantId, TransferId, ProductId, Description, DemandQuantity, Quantity, UomId, MaterialRequestItemId, CreationTime, IsDeleted) + VALUES (NEWID(), @Tenant, @Doc, @ProductId, @Description, @Quantity, 0, @UomId, @Item, GETUTCDATE(), 0); + + UPDATE Inv_T_Transfer SET DestinationLocationId = COALESCE(DestinationLocationId, @LocationId) WHERE Id = @Doc; + EXEC Inv_P_TransferRecalc @Doc; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferLineAfterSave.sql b/configs/seeds/sql/object/Inv_P_TransferLineAfterSave.sql new file mode 100644 index 00000000..c788f28c --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferLineAfterSave.sql @@ -0,0 +1,21 @@ +-- Hareket satırı kaydı sonrası: satırın araç çubuğu işlemi (GenerateLots = Lot/Seri Oluştur, AssignLots = Otomatik Ata) ve belge özeti. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferLineAfterSave] + @Id uniqueidentifier, + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Act nvarchar(16), @Doc uniqueidentifier; + SELECT @Act = PendingAction, @Doc = TransferId FROM Inv_T_TransferLine WHERE Id = @Id; + + IF @Act IS NOT NULL + BEGIN + UPDATE Inv_T_TransferLine SET PendingAction = NULL WHERE Id = @Id; + IF @Act = 'GenerateLots' + EXEC Inv_P_TransferLineLotGenerate @Id, @UserId; + ELSE IF @Act = 'AssignLots' + EXEC Inv_P_TransferLineLotAssign @Id, @UserId; + END + + EXEC Inv_P_TransferRecalc @Doc; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferLineLotAssign.sql b/configs/seeds/sql/object/Inv_P_TransferLineLotAssign.sql new file mode 100644 index 00000000..0988b1ab --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferLineLotAssign.sql @@ -0,0 +1,40 @@ +-- Otomatik Ata: stoktan çıkan satırın lot dağılımını kaynak konumun stoğundan ilk giren ilk çıkar (InDate) sırasıyla yeniden kurar. +-- Stok yetmezse karşılanabilen kadar atanır; eksik Tamamla'da bildirilir. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferLineLotAssign] + @Id uniqueidentifier, + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Tenant uniqueidentifier, @Method nvarchar(16), @Src uniqueidentifier, @SrcInternal bit, @ProductId uniqueidentifier, + @LineUom nvarchar(64), @ProductUom nvarchar(64), @Need decimal(18, 4); + + SELECT @Tenant = l.TenantId, @Method = CASE WHEN p.TrackInventory = 1 THEN p.TrackingMethod END, @Src = t.SourceLocationId, + @SrcInternal = CASE WHEN src.LocationType = 'Internal' THEN 1 ELSE 0 END, @ProductId = l.ProductId, + @LineUom = l.UomId, @ProductUom = p.UomId, + @Need = dbo.Inv_F_UomConvert(CASE WHEN l.Quantity > 0 THEN l.Quantity ELSE l.DemandQuantity END, l.UomId, p.UomId) + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + LEFT JOIN Inv_T_Location src ON src.Id = t.SourceLocationId + WHERE l.Id = @Id; + + IF ISNULL(@Method, '') NOT IN ('Lot', 'Serial') THROW 50314, N'Ürün lot/seri numarasıyla takip edilmiyor.', 1; + IF ISNULL(@SrcInternal, 0) = 0 THROW 50317, N'Otomatik atama yalnız stoktan çıkan satırda yapılır.', 1; + + UPDATE Inv_T_TransferLineLot SET IsDeleted = 1, DeletionTime = GETUTCDATE(), DeleterId = @UserId + WHERE TransferLineId = @Id AND IsDeleted = 0; + + WITH s AS ( + SELECT LotNo, Quantity, + SUM(Quantity) OVER (ORDER BY InDate, LotNo ROWS UNBOUNDED PRECEDING) - Quantity AS Before + FROM Inv_T_Stock + WHERE LocationId = @Src AND ProductId = @ProductId AND LotNo <> '' AND Quantity > 0 + AND (TenantId = @Tenant OR (TenantId IS NULL AND @Tenant IS NULL))) + INSERT INTO Inv_T_TransferLineLot (Id, TenantId, TransferLineId, LotNo, Quantity, CreationTime, CreatorId, IsDeleted) + SELECT NEWID(), @Tenant, @Id, s.LotNo, + dbo.Inv_F_UomConvert(CASE WHEN s.Quantity < @Need - s.Before THEN s.Quantity ELSE @Need - s.Before END, @ProductUom, @LineUom), + GETUTCDATE(), @UserId, 0 + FROM s + WHERE s.Before < @Need; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferLineLotGenerate.sql b/configs/seeds/sql/object/Inv_P_TransferLineLotGenerate.sql new file mode 100644 index 00000000..3f43cd01 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferLineLotGenerate.sql @@ -0,0 +1,43 @@ +-- Lot/Seri Oluştur: stoğa giren satırın lot dağılımı olmayan kısmı için numaratörden lot (Inventory.LotNumber, tek lot) ya da +-- seri (Inventory.SerialNumber, birim başına bir seri) numarası üretir. Stoktan çıkan satırda lot stoktan seçilir (Otomatik Ata). +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferLineLotGenerate] + @Id uniqueidentifier, + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Tenant uniqueidentifier, @Method nvarchar(16), @Quantity decimal(18, 4), @Remain decimal(18, 4), @SrcInternal bit, @No nvarchar(128); + + SELECT @Tenant = l.TenantId, @Method = CASE WHEN p.TrackInventory = 1 THEN p.TrackingMethod END, + @Quantity = CASE WHEN l.Quantity > 0 THEN l.Quantity ELSE l.DemandQuantity END, + @SrcInternal = CASE WHEN src.LocationType = 'Internal' THEN 1 ELSE 0 END + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + LEFT JOIN Inv_T_Location src ON src.Id = t.SourceLocationId + WHERE l.Id = @Id; + + IF ISNULL(@Method, '') NOT IN ('Lot', 'Serial') THROW 50314, N'Ürün lot/seri numarasıyla takip edilmiyor.', 1; + IF @SrcInternal = 1 THROW 50315, N'Stoktan çıkan satırda lot oluşturulmaz; Otomatik Ata ile stoktaki lotlar seçilir.', 1; + + SET @Remain = @Quantity - ISNULL((SELECT SUM(Quantity) FROM Inv_T_TransferLineLot WHERE TransferLineId = @Id AND IsDeleted = 0), 0); + IF @Remain <= 0 + RETURN; + + IF @Method = 'Lot' + BEGIN + EXEC Adm_P_SequenceNext 'Inventory.LotNumber', @Tenant, @No OUTPUT; + INSERT INTO Inv_T_TransferLineLot (Id, TenantId, TransferLineId, LotNo, Quantity, CreationTime, CreatorId, IsDeleted) + VALUES (NEWID(), @Tenant, @Id, LEFT(@No, 64), @Remain, GETUTCDATE(), @UserId, 0); + RETURN; + END + + IF @Remain <> FLOOR(@Remain) THROW 50316, N'Seri numaralı üründe miktar tam sayı olmalıdır.', 1; + WHILE @Remain > 0 + BEGIN + EXEC Adm_P_SequenceNext 'Inventory.SerialNumber', @Tenant, @No OUTPUT; + INSERT INTO Inv_T_TransferLineLot (Id, TenantId, TransferLineId, LotNo, Quantity, CreationTime, CreatorId, IsDeleted) + VALUES (NEWID(), @Tenant, @Id, LEFT(@No, 64), 1, GETUTCDATE(), @UserId, 0); + SET @Remain = @Remain - 1; + END +END diff --git a/configs/seeds/sql/object/Inv_P_TransferLineLotStockSave.sql b/configs/seeds/sql/object/Inv_P_TransferLineLotStockSave.sql new file mode 100644 index 00000000..c5a699b2 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferLineLotStockSave.sql @@ -0,0 +1,49 @@ +-- Stoktan Lot Seçimi (App.Inventory.TransferLineLotStock) satır kaydı: yazılan miktar varsa o, yoksa Seç işaretliyse lotun +-- eldeki miktarı atanır (ekranda Seç aynı değeri yazar); ikisi de yoksa lot satırdan çıkar. Batch kaydı her satırı ayrı ve +-- eşzamanlı istekle gönderir; aynı satırın lotları üst üste yazılmasın diye hareket satırı kilitlenip istekler sırayla işlenir. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferLineLotStockSave] + @Id nvarchar(80), + @IsSelected bit = NULL, + @SelectedQuantity decimal(18, 4) = NULL, + @LastModifierId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + SET XACT_ABORT ON; + DECLARE @LineId uniqueidentifier = TRY_CAST(LEFT(@Id, 36) AS uniqueidentifier), + @StockId uniqueidentifier = TRY_CAST(SUBSTRING(@Id, 38, 36) AS uniqueidentifier), + @Tenant uniqueidentifier, @Doc uniqueidentifier, @Status nvarchar(16), @Lot nvarchar(64), + @OnHand decimal(18, 4), @Qty decimal(18, 4); + + BEGIN TRAN; + SELECT @Tenant = l.TenantId, @Doc = l.TransferId + FROM Inv_T_TransferLine l WITH (UPDLOCK, HOLDLOCK) + WHERE l.Id = @LineId; + + SELECT @Status = t.Status, @Lot = s.LotNo, @OnHand = dbo.Inv_F_UomConvert(s.Quantity, s.UomId, l.UomId) + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + INNER JOIN Inv_T_Stock s ON s.Id = @StockId AND s.LocationId = t.SourceLocationId AND s.ProductId = l.ProductId + WHERE l.Id = @LineId; + + IF @Lot IS NULL THROW 50322, N'Lot, belgenin kaynak konumunda bulunamadı.', 1; + IF @Status IN ('Done', 'Cancelled') THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1; + + IF ISNULL(@SelectedQuantity, 0) > 0 + SET @Qty = @SelectedQuantity; + ELSE IF @IsSelected = 1 + SET @Qty = @OnHand; + ELSE + SET @Qty = 0; + + IF @Qty > @OnHand THROW 50324, N'Seçilen miktar lotun eldeki miktarını aşamaz.', 1; + + UPDATE Inv_T_TransferLineLot SET IsDeleted = 1, DeletionTime = GETUTCDATE(), DeleterId = @LastModifierId + WHERE TransferLineId = @LineId AND LotNo = @Lot AND IsDeleted = 0; + IF @Qty > 0 + INSERT INTO Inv_T_TransferLineLot (Id, TenantId, TransferLineId, LotNo, Quantity, CreationTime, CreatorId, IsDeleted) + VALUES (NEWID(), @Tenant, @LineId, @Lot, @Qty, GETUTCDATE(), @LastModifierId, 0); + + EXEC Inv_P_TransferRecalc @Doc; + COMMIT; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferNumber.sql b/configs/seeds/sql/object/Inv_P_TransferNumber.sql new file mode 100644 index 00000000..0fd62b15 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferNumber.sql @@ -0,0 +1,18 @@ +-- Numarası olmayan transfer belgesine operasyon türünün numaratöründen (Inv_T_OperationType.SequenceName) numara verir. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferNumber] + @Id uniqueidentifier +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Seq nvarchar(128), @Tenant uniqueidentifier, @No nvarchar(128); + + SELECT @Seq = ot.SequenceName, @Tenant = t.TenantId + FROM Inv_T_Transfer t + INNER JOIN Inv_T_OperationType ot ON ot.Id = t.OperationTypeId + WHERE t.Id = @Id AND t.TransferNo IS NULL; + IF @Seq IS NULL + RETURN; + + EXEC Adm_P_SequenceNext @Seq, @Tenant, @No OUTPUT; + UPDATE Inv_T_Transfer SET TransferNo = LEFT(@No, 32) WHERE Id = @Id; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferRecalc.sql b/configs/seeds/sql/object/Inv_P_TransferRecalc.sql new file mode 100644 index 00000000..6a0013a0 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferRecalc.sql @@ -0,0 +1,49 @@ +-- Belgenin ağırlığını (ürün ağırlığı × miktar, ürün biriminde) ve yazdırılan satır özetini yeniler; satırın takip yöntemini +-- (Lot/Serial, envanter takibi kapalıysa boş) üründen, lotun stoktan seçilip seçilmeyeceğini (kaynak iç konum) belgeden yazar — +-- satırın Lot/Seri butonları ve açılan lot ekranı bu iki kolona göre belirlenir. Lot/seri takipli satırda lot girilmişse yapılan +-- miktar lot toplamıdır (lot seçmek o kadar teslim etmektir) ve seçilen lotlar satırın LotNumbers kolonunda listelenir. +-- Özet satırı: [Referans] Ürün: talep / yapılan birim · lot (miktar), ... +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferRecalc] + @Id uniqueidentifier +AS +BEGIN + SET NOCOUNT ON; + + UPDATE l SET TrackingMethod = CASE WHEN p.TrackInventory = 1 AND p.TrackingMethod IN ('Lot', 'Serial') THEN p.TrackingMethod END, + LotFromStock = CASE WHEN src.LocationType = 'Internal' THEN 1 ELSE 0 END + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + LEFT JOIN Inv_T_Location src ON src.Id = t.SourceLocationId + WHERE l.TransferId = @Id AND l.IsDeleted = 0; + + UPDATE l SET Quantity = CASE WHEN t.Status IN ('Done', 'Cancelled') OR z.Quantity IS NULL THEN l.Quantity ELSE z.Quantity END, + LotNumbers = CASE WHEN l.TrackingMethod = 'Serial' THEN z.Serials ELSE z.Lots END + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + OUTER APPLY (SELECT SUM(lt.Quantity) AS Quantity, + STRING_AGG(lt.LotNo, ', ') WITHIN GROUP (ORDER BY lt.LotNo) AS Serials, + STRING_AGG(CONCAT(lt.LotNo, ' (', FORMAT(lt.Quantity, '0.####'), ')'), ', ') WITHIN GROUP (ORDER BY lt.LotNo) AS Lots + FROM Inv_T_TransferLineLot lt + WHERE lt.TransferLineId = l.Id AND lt.IsDeleted = 0) z + WHERE l.TransferId = @Id AND l.IsDeleted = 0 AND l.TrackingMethod IN ('Lot', 'Serial'); + + UPDATE t SET + Weight = ISNULL((SELECT SUM(dbo.Inv_F_UomConvert(CASE WHEN l.Quantity > 0 THEN l.Quantity ELSE l.DemandQuantity END, l.UomId, p.UomId) * ISNULL(p.Weight, 0)) + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + WHERE l.TransferId = @Id AND l.IsDeleted = 0), 0), + LineSummary = (SELECT STRING_AGG(x.Txt, CHAR(10)) WITHIN GROUP (ORDER BY x.CreationTime, x.Id) + FROM (SELECT l.Id, l.CreationTime, + CONCAT(CASE WHEN ISNULL(p.InternalReference, '') = '' THEN '' ELSE CONCAT('[', p.InternalReference, '] ') END, p.Name, ': ', + FORMAT(l.DemandQuantity, '0.####'), ' / ', FORMAT(l.Quantity, '0.####'), ' ', l.UomId, + CASE WHEN z.Txt IS NULL THEN '' ELSE CONCAT(N' · ', z.Txt) END) AS Txt + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + OUTER APPLY (SELECT STRING_AGG(CONCAT(lt.LotNo, ' (', FORMAT(lt.Quantity, '0.####'), ')'), ', ') AS Txt + FROM Inv_T_TransferLineLot lt + WHERE lt.TransferLineId = l.Id AND lt.IsDeleted = 0) z + WHERE l.TransferId = @Id AND l.IsDeleted = 0) x) + FROM Inv_T_Transfer t + WHERE t.Id = @Id; +END diff --git a/configs/seeds/sql/object/Inv_P_TransferSetStatus.sql b/configs/seeds/sql/object/Inv_P_TransferSetStatus.sql new file mode 100644 index 00000000..fec50523 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferSetStatus.sql @@ -0,0 +1,55 @@ +-- Transfer belgesinin durum butonları: Confirm (Hazırla, taslakta), Check (Hazırla, bekleyende), Validate (Tamamla), Cancel (İptal Et), Return (İade Et). +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferSetStatus] + @Id uniqueidentifier, + @Action nvarchar(16), + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + DECLARE @Status nvarchar(16), @Kind nvarchar(32), @Approval nvarchar(50), @Src uniqueidentifier, @Dst uniqueidentifier, @New uniqueidentifier; + + SELECT @Status = Status, @Kind = OperationKind, @Approval = ApprovalStatus, @Src = SourceLocationId, @Dst = DestinationLocationId + FROM Inv_T_Transfer WHERE Id = @Id; + UPDATE Inv_T_Transfer SET PendingAction = NULL WHERE Id = @Id; + + -- İç transfer depo içinde taşımadır: iki uç da stok tutan iç konum ve birbirinden farklı olmalı (dış konuma giden mal stoktan düşer, hiçbir yere girmez). + -- İade belgesi muaftır: yanlışlıkla dış konuma yapılmış transfer İade Et ile geri alınabilmeli. + IF @Kind = 'InternalTransfer' AND @Action IN ('Confirm', 'Check', 'Validate') + AND NOT EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id = @Id AND ReturnOfId IS NOT NULL) + BEGIN + IF @Src = @Dst THROW 50325, N'Kaynak ve hedef konum aynı olamaz.', 1; + IF EXISTS (SELECT 1 FROM Inv_T_Location WHERE Id IN (@Src, @Dst) AND LocationType <> 'Internal') + THROW 50326, N'İç transferde kaynak ve hedef konum iç konum olmalıdır.', 1; + END + + IF @Action = 'Confirm' + BEGIN + IF @Status <> 'Draft' THROW 50301, N'Yalnız taslak belge hazırlanabilir.', 1; + IF NOT EXISTS (SELECT 1 FROM Inv_T_TransferLine WHERE TransferId = @Id AND IsDeleted = 0) + THROW 50302, N'Ürün satırı olmayan belge hazırlanamaz.', 1; + IF @Src IS NULL OR @Dst IS NULL THROW 50303, N'Kaynak ve hedef konum seçilmelidir.', 1; + IF @Kind = 'InternalTransfer' AND ISNULL(@Approval, N'') NOT IN (N'Onaylandı', N'Onay Gerekmez') + THROW 50304, N'Kaynak depo onayı tamamlanmadan iç transfer hazırlanamaz.', 1; + EXEC Inv_P_TransferCheckAvailability @Id; + END + ELSE IF @Action = 'Check' + BEGIN + IF @Status NOT IN ('Waiting', 'Ready') THROW 50305, N'Stok kontrolü yalnız bekleyen ya da hazır belgede yapılır.', 1; + EXEC Inv_P_TransferCheckAvailability @Id; + END + ELSE IF @Action = 'Validate' + BEGIN + IF @Status <> 'Ready' THROW 50306, N'Yalnız hazır belge tamamlanabilir.', 1; + EXEC Inv_P_TransferValidate @Id, @UserId; + END + ELSE IF @Action = 'Cancel' + BEGIN + IF @Status IN ('Done', 'Cancelled') THROW 50307, N'Tamamlanmış ya da iptal edilmiş belge iptal edilemez.', 1; + UPDATE Inv_T_Transfer SET Status = 'Cancelled' WHERE Id = @Id; + END + ELSE IF @Action = 'Return' + BEGIN + IF @Status <> 'Done' THROW 50308, N'Yalnız tamamlanmış belge iade edilebilir.', 1; + EXEC Inv_P_TransferCopy @Id, 'Return', @UserId, @New OUTPUT; + END +END diff --git a/configs/seeds/sql/object/Inv_P_TransferValidate.sql b/configs/seeds/sql/object/Inv_P_TransferValidate.sql new file mode 100644 index 00000000..e2497171 --- /dev/null +++ b/configs/seeds/sql/object/Inv_P_TransferValidate.sql @@ -0,0 +1,140 @@ +-- Tamamla: yapılan miktarlar stoğa işlenir (Inv_T_Stock, ürün biriminde, lot kırılımlı). İç konumdan çıkışta stok yetmezse +-- işlem durur; dış konumlar stok tutmaz. Envanter takibi kapalı ürün stoğa girmez. Lot/seri takipli üründe lot toplamı +-- yapılan miktara eşit olmalıdır. Sipariş kalemlerinin alınan, talep kalemlerinin teslim edilen miktarı güncellenir (iadede düşülür). +-- Talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. +CREATE OR ALTER PROCEDURE [dbo].[Inv_P_TransferValidate] + @Id uniqueidentifier, + @UserId uniqueidentifier = NULL +AS +BEGIN + SET NOCOUNT ON; + SET XACT_ABORT ON; + DECLARE @Tenant uniqueidentifier, @Status nvarchar(16), @Kind nvarchar(32), @ReturnOf uniqueidentifier, + @Src uniqueidentifier, @Dst uniqueidentifier, @SrcInternal bit = 0, @DstInternal bit = 0, + @DstBranch uniqueidentifier, @DstWarehouse uniqueidentifier, @Sign int, @New uniqueidentifier, + @Now datetime = GETUTCDATE(), @Msg nvarchar(512); + + BEGIN TRANSACTION; + + SELECT @Tenant = TenantId, @Status = Status, @Kind = OperationKind, @ReturnOf = ReturnOfId, + @Src = SourceLocationId, @Dst = DestinationLocationId + FROM Inv_T_Transfer WITH (UPDLOCK, HOLDLOCK) + WHERE Id = @Id; + IF @Status <> 'Ready' THROW 50306, N'Yalnız hazır belge tamamlanabilir.', 1; + SET @Sign = CASE WHEN @ReturnOf IS NULL THEN 1 ELSE -1 END; + + SELECT @SrcInternal = CASE WHEN LocationType = 'Internal' THEN 1 ELSE 0 END FROM Inv_T_Location WHERE Id = @Src; + SELECT @DstInternal = CASE WHEN LocationType = 'Internal' THEN 1 ELSE 0 END, @DstBranch = BranchId, @DstWarehouse = WarehouseId + FROM Inv_T_Location WHERE Id = @Dst; + + IF NOT EXISTS (SELECT 1 FROM Inv_T_TransferLine WHERE TransferId = @Id AND IsDeleted = 0 AND Quantity > 0) + THROW 50309, N'Yapılan miktarı girilmiş satır yok.', 1; + + SELECT TOP 1 @Msg = CONCAT(p.Name, N': lot/seri toplamı ', FORMAT(z.Quantity, '0.####'), N', yapılan miktar ', FORMAT(l.Quantity, '0.####')) + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + CROSS APPLY (SELECT ISNULL(SUM(lt.Quantity), 0) AS Quantity FROM Inv_T_TransferLineLot lt WHERE lt.TransferLineId = l.Id AND lt.IsDeleted = 0) z + WHERE l.TransferId = @Id AND l.IsDeleted = 0 AND l.Quantity > 0 AND p.TrackInventory = 1 AND p.TrackingMethod IN ('Lot', 'Serial') + AND z.Quantity <> l.Quantity; + IF @Msg IS NOT NULL + BEGIN + SET @Msg = CONCAT(N'Lot/seri miktarı yapılan miktara eşit değil — ', @Msg); + THROW 50310, @Msg, 1; + END + + SELECT TOP 1 @Msg = CONCAT(p.Name, ' / ', z.LotNo) + FROM Inv_T_TransferLineLot z + INNER JOIN Inv_T_TransferLine l ON l.Id = z.TransferLineId + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + WHERE l.TransferId = @Id AND l.IsDeleted = 0 AND z.IsDeleted = 0 AND p.TrackingMethod = 'Serial' + AND (z.Quantity <> 1 OR EXISTS (SELECT 1 FROM Inv_T_TransferLineLot z2 + INNER JOIN Inv_T_TransferLine l2 ON l2.Id = z2.TransferLineId + WHERE l2.TransferId = @Id AND l2.IsDeleted = 0 AND z2.IsDeleted = 0 + AND l2.ProductId = l.ProductId AND z2.LotNo = z.LotNo AND z2.Id <> z.Id)); + IF @Msg IS NOT NULL + BEGIN + SET @Msg = CONCAT(N'Seri numaralı üründe her seri 1 adet ve tekil olmalıdır: ', @Msg); + THROW 50311, @Msg, 1; + END + + -- Stoğa işlenecek hareket: ürün × lot, ürün biriminde. + DECLARE @Move TABLE (ProductId uniqueidentifier NOT NULL, LotNo nvarchar(64) NOT NULL, Quantity decimal(18, 4) NOT NULL, UomId nvarchar(64) NOT NULL, + PRIMARY KEY (ProductId, LotNo)); + INSERT INTO @Move (ProductId, LotNo, Quantity, UomId) + SELECT m.ProductId, m.LotNo, SUM(m.Quantity), m.UomId + FROM (SELECT l.ProductId, p.UomId, + CASE WHEN p.TrackingMethod IN ('Lot', 'Serial') THEN z.LotNo ELSE '' END AS LotNo, + dbo.Inv_F_UomConvert(CASE WHEN p.TrackingMethod IN ('Lot', 'Serial') THEN z.Quantity ELSE l.Quantity END, l.UomId, p.UomId) AS Quantity + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Product p ON p.Id = l.ProductId + LEFT JOIN Inv_T_TransferLineLot z ON z.TransferLineId = l.Id AND z.IsDeleted = 0 AND p.TrackingMethod IN ('Lot', 'Serial') + WHERE l.TransferId = @Id AND l.IsDeleted = 0 AND l.Quantity > 0 AND p.TrackInventory = 1) m + GROUP BY m.ProductId, m.LotNo, m.UomId; + + IF @SrcInternal = 1 + BEGIN + SELECT TOP 1 @Msg = CONCAT(p.Name, CASE WHEN m.LotNo = '' THEN '' ELSE CONCAT(' / ', m.LotNo) END) + FROM @Move m + INNER JOIN Inv_T_Product p ON p.Id = m.ProductId + LEFT JOIN Inv_T_Stock s WITH (UPDLOCK, HOLDLOCK) + ON s.LocationId = @Src AND s.ProductId = m.ProductId AND s.LotNo = m.LotNo + AND (s.TenantId = @Tenant OR (s.TenantId IS NULL AND @Tenant IS NULL)) + WHERE ISNULL(s.Quantity, 0) < m.Quantity; + IF @Msg IS NOT NULL + BEGIN + SET @Msg = CONCAT(N'Kaynak konumda yeterli stok yok: ', @Msg); + THROW 50312, @Msg, 1; + END + + UPDATE s SET Quantity = s.Quantity - m.Quantity, LastMoveDate = @Now, LastModificationTime = @Now, LastModifierId = @UserId + FROM Inv_T_Stock s + INNER JOIN @Move m ON m.ProductId = s.ProductId AND m.LotNo = s.LotNo + WHERE s.LocationId = @Src AND (s.TenantId = @Tenant OR (s.TenantId IS NULL AND @Tenant IS NULL)); + END + + IF @DstInternal = 1 + BEGIN + UPDATE s SET Quantity = s.Quantity + m.Quantity, LastMoveDate = @Now, LastModificationTime = @Now, LastModifierId = @UserId, + InDate = CASE WHEN s.Quantity <= 0 THEN @Now ELSE s.InDate END + FROM Inv_T_Stock s WITH (UPDLOCK, HOLDLOCK) + INNER JOIN @Move m ON m.ProductId = s.ProductId AND m.LotNo = s.LotNo + WHERE s.LocationId = @Dst AND (s.TenantId = @Tenant OR (s.TenantId IS NULL AND @Tenant IS NULL)); + + INSERT INTO Inv_T_Stock (Id, TenantId, BranchId, WarehouseId, LocationId, ProductId, LotNo, Quantity, UomId, InDate, LastMoveDate, CreationTime, CreatorId, IsDeleted) + SELECT NEWID(), @Tenant, @DstBranch, @DstWarehouse, @Dst, m.ProductId, m.LotNo, m.Quantity, m.UomId, @Now, @Now, @Now, @UserId, 0 + FROM @Move m + WHERE NOT EXISTS (SELECT 1 FROM Inv_T_Stock s + WHERE s.LocationId = @Dst AND s.ProductId = m.ProductId AND s.LotNo = m.LotNo + AND (s.TenantId = @Tenant OR (s.TenantId IS NULL AND @Tenant IS NULL))); + END + + UPDATE Inv_T_Transfer + SET Status = 'Done', EffectiveDate = @Now, + ReceivedByUserId = CASE WHEN @Kind = 'InternalTransfer' THEN @UserId ELSE ReceivedByUserId END, + ReceivedDate = CASE WHEN @Kind = 'InternalTransfer' THEN @Now ELSE ReceivedDate END + WHERE Id = @Id; + + UPDATE ol SET ReceivedQuantity = ol.ReceivedQuantity + @Sign * x.Quantity + FROM Prc_T_PurchaseOrderLine ol + INNER JOIN (SELECT l.PurchaseOrderLineId, SUM(dbo.Inv_F_UomConvert(l.Quantity, l.UomId, pl.UomId)) AS Quantity + FROM Inv_T_TransferLine l + INNER JOIN Prc_T_PurchaseOrderLine pl ON pl.Id = l.PurchaseOrderLineId + WHERE l.TransferId = @Id AND l.IsDeleted = 0 AND l.Quantity > 0 + GROUP BY l.PurchaseOrderLineId) x ON x.PurchaseOrderLineId = ol.Id; + + UPDATE i SET DeliveredQuantity = i.DeliveredQuantity + @Sign * x.Quantity, + LineStatus = CASE WHEN i.DeliveredQuantity + @Sign * x.Quantity >= i.Quantity THEN 'Done' + WHEN i.LineStatus = 'Done' THEN 'Waiting' ELSE i.LineStatus END + FROM Prc_T_MaterialRequestItem i + INNER JOIN (SELECT l.MaterialRequestItemId, SUM(dbo.Inv_F_UomConvert(l.Quantity, l.UomId, mi.UomId)) AS Quantity + FROM Inv_T_TransferLine l + INNER JOIN Prc_T_MaterialRequestItem mi ON mi.Id = l.MaterialRequestItemId + WHERE l.TransferId = @Id AND l.IsDeleted = 0 AND l.Quantity > 0 + GROUP BY l.MaterialRequestItemId) x ON x.MaterialRequestItemId = i.Id; + + IF @ReturnOf IS NULL AND EXISTS (SELECT 1 FROM Inv_T_TransferLine WHERE TransferId = @Id AND IsDeleted = 0 AND Quantity < DemandQuantity) + EXEC Inv_P_TransferCopy @Id, 'Backorder', @UserId, @New OUTPUT; + + EXEC Inv_P_TransferRecalc @Id; + COMMIT TRANSACTION; +END diff --git a/configs/seeds/sql/object/Inv_T_Location.sql b/configs/seeds/sql/object/Inv_T_Location.sql index 4b14523d..2aff6523 100644 --- a/configs/seeds/sql/object/Inv_T_Location.sql +++ b/configs/seeds/sql/object/Inv_T_Location.sql @@ -11,7 +11,7 @@ BEGIN [Name] nvarchar(128) NOT NULL, [LocationType] nvarchar(16) NOT NULL DEFAULT 'Internal', [DepartmentId] uniqueidentifier NULL, - [ResponsibleUserId] uniqueidentifier NULL, + [ResponsibleUserName] nvarchar(256) NULL, [IsActive] bit NOT NULL DEFAULT 1, [CreationTime] datetime2 NOT NULL DEFAULT GETUTCDATE(), [CreatorId] uniqueidentifier NULL, diff --git a/configs/seeds/sql/object/Inv_T_OperationType.sql b/configs/seeds/sql/object/Inv_T_OperationType.sql index 18d976ad..3644c3d5 100644 --- a/configs/seeds/sql/object/Inv_T_OperationType.sql +++ b/configs/seeds/sql/object/Inv_T_OperationType.sql @@ -8,7 +8,7 @@ BEGIN [WarehouseId] uniqueidentifier NOT NULL, [Name] nvarchar(128) NOT NULL, [OperationKind] nvarchar(32) NOT NULL DEFAULT 'Receipt', - [SequencePrefix] nvarchar(16) NULL, + [SequenceName] nvarchar(128) NOT NULL, [Barcode] nvarchar(64) NULL, [SourceLocationId] uniqueidentifier NULL, [DestinationLocationId] uniqueidentifier NULL, diff --git a/configs/seeds/sql/object/Inv_T_Stock.sql b/configs/seeds/sql/object/Inv_T_Stock.sql new file mode 100644 index 00000000..af28f069 --- /dev/null +++ b/configs/seeds/sql/object/Inv_T_Stock.sql @@ -0,0 +1,54 @@ +-- Şube × depo × konum × ürün × lot bakiyesi (ürün biriminde). Yalnız Tamamla yordamı (Inv_P_TransferValidate) yazar. +IF OBJECT_ID(N'[dbo].[Inv_T_Stock]', 'U') IS NULL +BEGIN + CREATE TABLE [dbo].[Inv_T_Stock] + ( + [Id] uniqueidentifier NOT NULL DEFAULT NEWID(), + [TenantId] uniqueidentifier NULL, + [BranchId] uniqueidentifier NOT NULL, + [WarehouseId] uniqueidentifier NOT NULL, + [LocationId] uniqueidentifier NOT NULL, + [ProductId] uniqueidentifier NOT NULL, + [LotNo] nvarchar(64) NOT NULL DEFAULT '', + [Quantity] decimal(18, 4) NOT NULL DEFAULT 0, + [UomId] nvarchar(64) NOT NULL DEFAULT 'Adet', + [InDate] datetime NULL, + [LastMoveDate] datetime NULL, + [CreationTime] datetime2 NOT NULL DEFAULT GETUTCDATE(), + [CreatorId] uniqueidentifier NULL, + [LastModificationTime] datetime2 NULL, + [LastModifierId] uniqueidentifier NULL, + [IsDeleted] bit NOT NULL DEFAULT 0, + [DeletionTime] datetime2 NULL, + [DeleterId] uniqueidentifier NULL, + CONSTRAINT [PK_Inv_T_Stock] PRIMARY KEY NONCLUSTERED + ( + [Id] ASC + )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] + ) ON [PRIMARY] +END +GO + +IF OBJECT_ID(N'[dbo].[UQ_Inv_T_Stock_TenantId_LocationId_ProductId_LotNo]', 'UQ') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Stock] ADD CONSTRAINT [UQ_Inv_T_Stock_TenantId_LocationId_ProductId_LotNo] UNIQUE NONCLUSTERED ([TenantId] ASC, [LocationId] ASC, [ProductId] ASC, [LotNo] ASC); +END +GO + +IF INDEXPROPERTY(OBJECT_ID(N'[dbo].[Inv_T_Stock]'), 'IX_Inv_T_Stock_ProductId', 'IndexID') IS NULL +BEGIN + CREATE INDEX [IX_Inv_T_Stock_ProductId] ON [dbo].[Inv_T_Stock] ([ProductId] ASC); +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_Stock_BranchId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Stock] ADD CONSTRAINT [FK_Inv_T_Stock_BranchId] FOREIGN KEY ([BranchId]) REFERENCES [dbo].[Sas_T_Branch] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION; +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_Stock_LocationId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Stock] ADD CONSTRAINT [FK_Inv_T_Stock_LocationId] FOREIGN KEY ([LocationId]) REFERENCES [dbo].[Inv_T_Location] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION; +END +GO \ No newline at end of file diff --git a/configs/seeds/sql/object/Inv_T_Transfer.sql b/configs/seeds/sql/object/Inv_T_Transfer.sql new file mode 100644 index 00000000..696c10d6 --- /dev/null +++ b/configs/seeds/sql/object/Inv_T_Transfer.sql @@ -0,0 +1,95 @@ +-- Envanter hareket belgesi: Alım, Teslimat, İç Transfer (ve sonra Üretim) aynı başlık tablosunu paylaşır; tür OperationKind ile ayrılır. +IF OBJECT_ID(N'[dbo].[Inv_T_Transfer]', 'U') IS NULL +BEGIN + CREATE TABLE [dbo].[Inv_T_Transfer] + ( + [Id] uniqueidentifier NOT NULL DEFAULT NEWID(), + [TenantId] uniqueidentifier NULL, + [TransferNo] nvarchar(32) NULL, + [BranchId] uniqueidentifier NOT NULL, + [WarehouseId] uniqueidentifier NOT NULL, + [OperationTypeId] uniqueidentifier NOT NULL, + [OperationKind] nvarchar(32) NOT NULL DEFAULT 'Receipt', + [PartnerId] uniqueidentifier NULL, + [SourceLocationId] uniqueidentifier NULL, + [DestinationLocationId] uniqueidentifier NULL, + [ScheduledDate] datetime NOT NULL DEFAULT GETUTCDATE(), + [EffectiveDate] datetime NULL, + [SourceDocument] nvarchar(128) NULL, + [PurchaseOrderId] uniqueidentifier NULL, + [BackorderOfId] uniqueidentifier NULL, + [ReturnOfId] uniqueidentifier NULL, + [CarrierId] uniqueidentifier NULL, + [TrackingReference] nvarchar(128) NULL, + [Weight] decimal(18, 4) NOT NULL DEFAULT 0, + [ShippingWeight] decimal(18, 4) NOT NULL DEFAULT 0, + [ResponsibleUserId] uniqueidentifier NULL, + [ProjectId] uniqueidentifier NULL, + [DeliveryPolicy] nvarchar(16) NULL, + [Note] nvarchar(MAX) NULL, + [LineSummary] nvarchar(MAX) NULL, + [Status] nvarchar(16) NOT NULL DEFAULT 'Draft', + [PendingAction] nvarchar(16) NULL, + [SourceApproverUserNames] nvarchar(512) NULL, + [ApprovalUserName] nvarchar(256) NULL, + [ApprovalStatus] nvarchar(50) NULL, + [ApprovalDate] datetime NULL, + [ApprovalDescription] nvarchar(200) NULL, + [ReceivedByUserId] uniqueidentifier NULL, + [ReceivedDate] datetime NULL, + [CreationTime] datetime2 NOT NULL DEFAULT GETUTCDATE(), + [CreatorId] uniqueidentifier NULL, + [LastModificationTime] datetime2 NULL, + [LastModifierId] uniqueidentifier NULL, + [IsDeleted] bit NOT NULL DEFAULT 0, + [DeletionTime] datetime2 NULL, + [DeleterId] uniqueidentifier NULL, + CONSTRAINT [PK_Inv_T_Transfer] PRIMARY KEY NONCLUSTERED + ( + [Id] ASC + )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] + ) ON [PRIMARY] +END +GO + +IF INDEXPROPERTY(OBJECT_ID(N'[dbo].[Inv_T_Transfer]'), 'IX_Inv_T_Transfer_TenantId_OperationKind_Status', 'IndexID') IS NULL +BEGIN + CREATE INDEX [IX_Inv_T_Transfer_TenantId_OperationKind_Status] ON [dbo].[Inv_T_Transfer] ([TenantId] ASC, [OperationKind] ASC, [Status] ASC); +END +GO + +IF INDEXPROPERTY(OBJECT_ID(N'[dbo].[Inv_T_Transfer]'), 'IX_Inv_T_Transfer_OperationTypeId', 'IndexID') IS NULL +BEGIN + CREATE INDEX [IX_Inv_T_Transfer_OperationTypeId] ON [dbo].[Inv_T_Transfer] ([OperationTypeId] ASC); +END +GO + +IF INDEXPROPERTY(OBJECT_ID(N'[dbo].[Inv_T_Transfer]'), 'IX_Inv_T_Transfer_PurchaseOrderId', 'IndexID') IS NULL +BEGIN + CREATE INDEX [IX_Inv_T_Transfer_PurchaseOrderId] ON [dbo].[Inv_T_Transfer] ([PurchaseOrderId] ASC); +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_Transfer_BranchId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Transfer] ADD CONSTRAINT [FK_Inv_T_Transfer_BranchId] FOREIGN KEY ([BranchId]) REFERENCES [dbo].[Sas_T_Branch] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION; +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_Transfer_OperationTypeId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Transfer] ADD CONSTRAINT [FK_Inv_T_Transfer_OperationTypeId] FOREIGN KEY ([OperationTypeId]) REFERENCES [dbo].[Inv_T_OperationType] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION; +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_Transfer_SourceLocationId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Transfer] ADD CONSTRAINT [FK_Inv_T_Transfer_SourceLocationId] FOREIGN KEY ([SourceLocationId]) REFERENCES [dbo].[Inv_T_Location] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION; +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_Transfer_DestinationLocationId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_Transfer] ADD CONSTRAINT [FK_Inv_T_Transfer_DestinationLocationId] FOREIGN KEY ([DestinationLocationId]) REFERENCES [dbo].[Inv_T_Location] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION; +END +GO \ No newline at end of file diff --git a/configs/seeds/sql/object/Inv_T_TransferLine.sql b/configs/seeds/sql/object/Inv_T_TransferLine.sql new file mode 100644 index 00000000..cb9a6e8f --- /dev/null +++ b/configs/seeds/sql/object/Inv_T_TransferLine.sql @@ -0,0 +1,44 @@ +IF OBJECT_ID(N'[dbo].[Inv_T_TransferLine]', 'U') IS NULL +BEGIN + CREATE TABLE [dbo].[Inv_T_TransferLine] + ( + [Id] uniqueidentifier NOT NULL DEFAULT NEWID(), + [TenantId] uniqueidentifier NULL, + [TransferId] uniqueidentifier NOT NULL, + [ProductId] uniqueidentifier NOT NULL, + [Description] nvarchar(512) NULL, + [DemandQuantity] decimal(18, 4) NOT NULL DEFAULT 1, + [Quantity] decimal(18, 4) NOT NULL DEFAULT 0, + [UomId] nvarchar(64) NOT NULL DEFAULT 'Adet', + [PurchaseOrderLineId] uniqueidentifier NULL, + [MaterialRequestItemId] uniqueidentifier NULL, + [PendingAction] nvarchar(16) NULL, + [TrackingMethod] nvarchar(16) NULL, + [LotFromStock] bit NOT NULL DEFAULT 0, + [LotNumbers] nvarchar(max) NULL, + [CreationTime] datetime2 NOT NULL DEFAULT GETUTCDATE(), + [CreatorId] uniqueidentifier NULL, + [LastModificationTime] datetime2 NULL, + [LastModifierId] uniqueidentifier NULL, + [IsDeleted] bit NOT NULL DEFAULT 0, + [DeletionTime] datetime2 NULL, + [DeleterId] uniqueidentifier NULL, + CONSTRAINT [PK_Inv_T_TransferLine] PRIMARY KEY NONCLUSTERED + ( + [Id] ASC + )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] + ) ON [PRIMARY] +END +GO + +IF INDEXPROPERTY(OBJECT_ID(N'[dbo].[Inv_T_TransferLine]'), 'IX_Inv_T_TransferLine_TransferId', 'IndexID') IS NULL +BEGIN + CREATE INDEX [IX_Inv_T_TransferLine_TransferId] ON [dbo].[Inv_T_TransferLine] ([TransferId] ASC); +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_TransferLine_TransferId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_TransferLine] ADD CONSTRAINT [FK_Inv_T_TransferLine_TransferId] FOREIGN KEY ([TransferId]) REFERENCES [dbo].[Inv_T_Transfer] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION; +END +GO \ No newline at end of file diff --git a/configs/seeds/sql/object/Inv_T_TransferLineLot.sql b/configs/seeds/sql/object/Inv_T_TransferLineLot.sql new file mode 100644 index 00000000..573d56cd --- /dev/null +++ b/configs/seeds/sql/object/Inv_T_TransferLineLot.sql @@ -0,0 +1,36 @@ +-- Hareket satırının lot/seri dağılımı; miktar satırın biriminde tutulur. +IF OBJECT_ID(N'[dbo].[Inv_T_TransferLineLot]', 'U') IS NULL +BEGIN + CREATE TABLE [dbo].[Inv_T_TransferLineLot] + ( + [Id] uniqueidentifier NOT NULL DEFAULT NEWID(), + [TenantId] uniqueidentifier NULL, + [TransferLineId] uniqueidentifier NOT NULL, + [LotNo] nvarchar(64) NOT NULL, + [Quantity] decimal(18, 4) NOT NULL DEFAULT 1, + [CreationTime] datetime2 NOT NULL DEFAULT GETUTCDATE(), + [CreatorId] uniqueidentifier NULL, + [LastModificationTime] datetime2 NULL, + [LastModifierId] uniqueidentifier NULL, + [IsDeleted] bit NOT NULL DEFAULT 0, + [DeletionTime] datetime2 NULL, + [DeleterId] uniqueidentifier NULL, + CONSTRAINT [PK_Inv_T_TransferLineLot] PRIMARY KEY NONCLUSTERED + ( + [Id] ASC + )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] + ) ON [PRIMARY] +END +GO + +IF INDEXPROPERTY(OBJECT_ID(N'[dbo].[Inv_T_TransferLineLot]'), 'IX_Inv_T_TransferLineLot_TransferLineId', 'IndexID') IS NULL +BEGIN + CREATE INDEX [IX_Inv_T_TransferLineLot_TransferLineId] ON [dbo].[Inv_T_TransferLineLot] ([TransferLineId] ASC); +END +GO + +IF OBJECT_ID(N'[dbo].[FK_Inv_T_TransferLineLot_TransferLineId]', 'F') IS NULL +BEGIN + ALTER TABLE [dbo].[Inv_T_TransferLineLot] ADD CONSTRAINT [FK_Inv_T_TransferLineLot_TransferLineId] FOREIGN KEY ([TransferLineId]) REFERENCES [dbo].[Inv_T_TransferLine] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION; +END +GO \ No newline at end of file diff --git a/configs/seeds/sql/object/Inv_V_StockMove.sql b/configs/seeds/sql/object/Inv_V_StockMove.sql new file mode 100644 index 00000000..cd95e947 --- /dev/null +++ b/configs/seeds/sql/object/Inv_V_StockMove.sql @@ -0,0 +1,11 @@ +-- Hareketler: bütün operasyon türlerinin satırları ortak kolonlarla, lot/seri dağılımı varsa lot başına bir satır. +-- Miktar yapılan miktardır (lotlu satırda lotun miktarı); Talep satırın talep miktarıdır. +CREATE OR ALTER VIEW [dbo].[Inv_V_StockMove] AS +SELECT COALESCE(z.Id, l.Id) AS Id, l.TenantId, t.Id AS TransferId, t.TransferNo, t.OperationKind, t.OperationTypeId, t.Status, + COALESCE(t.EffectiveDate, t.ScheduledDate) AS MoveDate, t.BranchId, t.WarehouseId, + t.SourceLocationId, t.DestinationLocationId, t.PartnerId, t.SourceDocument, + l.ProductId, COALESCE(z.LotNo, '') AS LotNo, l.DemandQuantity, COALESCE(z.Quantity, l.Quantity) AS Quantity, l.UomId + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + LEFT JOIN Inv_T_TransferLineLot z ON z.TransferLineId = l.Id AND z.IsDeleted = 0 + WHERE l.IsDeleted = 0 AND t.IsDeleted = 0 diff --git a/configs/seeds/sql/object/Inv_V_TransferLineLot.sql b/configs/seeds/sql/object/Inv_V_TransferLineLot.sql new file mode 100644 index 00000000..3cbb9ebd --- /dev/null +++ b/configs/seeds/sql/object/Inv_V_TransferLineLot.sql @@ -0,0 +1,5 @@ +-- Lot Detayları diyaloğu: satırın lot/seri dağılımı; BaseId diyaloğun süzdüğü (ve yeni satıra yazdığı) hareket satırıdır. +CREATE OR ALTER VIEW [dbo].[Inv_V_TransferLineLot] AS +SELECT z.Id, z.TenantId, z.TransferLineId AS BaseId, z.LotNo, z.Quantity, z.CreationTime, z.CreatorId, z.LastModificationTime, z.LastModifierId + FROM Inv_T_TransferLineLot z + WHERE z.IsDeleted = 0 diff --git a/configs/seeds/sql/object/Inv_V_TransferLineLotStock.sql b/configs/seeds/sql/object/Inv_V_TransferLineLotStock.sql new file mode 100644 index 00000000..5c61032c --- /dev/null +++ b/configs/seeds/sql/object/Inv_V_TransferLineLotStock.sql @@ -0,0 +1,15 @@ +-- Stoktan Lot Seçimi diyaloğu: stoktan çıkan satırın kaynak konumundaki bütün lotları (eldeki miktar satırın biriminde) ve +-- satıra atanmış miktarları. BaseId diyaloğun süzdüğü hareket satırıdır; Id satır + stok kaydıdır (kayıt yordamı ikisini ayırır). +-- Atanmış lotun stoğu bitse de (tamamlanmış belge) satır görünür. +CREATE OR ALTER VIEW [dbo].[Inv_V_TransferLineLotStock] AS +SELECT CONCAT(CAST(l.Id AS nvarchar(36)), ':', CAST(s.Id AS nvarchar(36))) AS Id, l.TenantId, l.Id AS BaseId, s.LotNo, s.InDate, + dbo.Inv_F_UomConvert(s.Quantity, s.UomId, l.UomId) AS OnHand, l.UomId, + CAST(CASE WHEN z.Quantity IS NULL THEN 0 ELSE 1 END AS bit) AS IsSelected, z.Quantity AS SelectedQuantity + FROM Inv_T_TransferLine l + INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId + INNER JOIN Inv_T_Stock s ON s.LocationId = t.SourceLocationId AND s.ProductId = l.ProductId AND s.LotNo <> '' AND s.IsDeleted = 0 + LEFT JOIN (SELECT TransferLineId, LotNo, SUM(Quantity) AS Quantity + FROM Inv_T_TransferLineLot + WHERE IsDeleted = 0 + GROUP BY TransferLineId, LotNo) z ON z.TransferLineId = l.Id AND z.LotNo = s.LotNo + WHERE l.IsDeleted = 0 AND (s.Quantity > 0 OR z.Quantity IS NOT NULL) diff --git a/configs/seeds/sql/object/Prc_P_PurchaseOrderSetStatus.sql b/configs/seeds/sql/object/Prc_P_PurchaseOrderSetStatus.sql index 922ab90d..7f047d48 100644 --- a/configs/seeds/sql/object/Prc_P_PurchaseOrderSetStatus.sql +++ b/configs/seeds/sql/object/Prc_P_PurchaseOrderSetStatus.sql @@ -15,6 +15,7 @@ BEGIN IF NOT EXISTS (SELECT 1 FROM Prc_T_PurchaseOrderLine WHERE PurchaseOrderId = @Id AND IsDeleted = 0) THROW 50182, N'Kalemi olmayan sipariş onaylanamaz.', 1; UPDATE Prc_T_PurchaseOrder SET Status = 'Purchase', ConfirmDate = GETUTCDATE() WHERE Id = @Id; + EXEC Inv_P_TransferFromPurchaseOrder @Id, @UserId; END ELSE IF @Action = 'Send' BEGIN @@ -22,7 +23,13 @@ BEGIN EXEC Prc_P_PurchaseOrderSend @Id, @UserId; END ELSE IF @Action = 'Cancel' + BEGIN + IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE PurchaseOrderId = @Id AND IsDeleted = 0 AND Status = 'Done') + THROW 50318, N'Teslim alınmış (yapılmış alımı olan) sipariş iptal edilemez.', 1; UPDATE Prc_T_PurchaseOrder SET Status = 'Cancelled' WHERE Id = @Id; + -- Siparişin yapılmamış alımları da iptal olur; sipariş yeniden onaylanırsa yeni alım açılır. + UPDATE Inv_T_Transfer SET Status = 'Cancelled' WHERE PurchaseOrderId = @Id AND IsDeleted = 0 AND Status IN ('Draft', 'Waiting', 'Ready'); + END ELSE IF @Action = 'Draft' BEGIN IF @Status <> 'Cancelled' THROW 50184, N'Yalnız iptal edilmiş sipariş taslağa alınabilir.', 1; diff --git a/configs/seeds/sql/object/Prc_P_PurchaseRfqAward.sql b/configs/seeds/sql/object/Prc_P_PurchaseRfqAward.sql index dc9b6098..d64e6e25 100644 --- a/configs/seeds/sql/object/Prc_P_PurchaseRfqAward.sql +++ b/configs/seeds/sql/object/Prc_P_PurchaseRfqAward.sql @@ -31,7 +31,7 @@ BEGIN WHILE @@FETCH_STATUS = 0 BEGIN SET @Po = NEWID(); - EXEC Adm_P_SequenceNext N'PurchaseOrder1', @Tenant, @No OUTPUT; + EXEC Adm_P_SequenceNext N'Prc.PurchaseOrder', @Tenant, @No OUTPUT; INSERT INTO Prc_T_PurchaseOrder (Id, TenantId, OrderNo, PurchaseRfqId, SupplierId, SupplierReference, AgreementId, BranchId, OperationTypeId, WarehouseId, CurrencyId, ExpectedArrival, ConfirmDate, BuyerUserId, ProjectId, IncotermId, IncotermLocation, PaymentTermId, Terms, @@ -50,6 +50,7 @@ BEGIN WHERE w.RfqId = @Rfq; EXEC Prc_P_PurchaseOrderRecalc @Po; + EXEC Inv_P_TransferFromPurchaseOrder @Po, @UserId; FETCH NEXT FROM winners INTO @Rfq; END CLOSE winners; diff --git a/configs/seeds/sql/object/Prc_P_PurchaseRfqCreateAlternative.sql b/configs/seeds/sql/object/Prc_P_PurchaseRfqCreateAlternative.sql index c6eda037..040700b2 100644 --- a/configs/seeds/sql/object/Prc_P_PurchaseRfqCreateAlternative.sql +++ b/configs/seeds/sql/object/Prc_P_PurchaseRfqCreateAlternative.sql @@ -16,7 +16,7 @@ BEGIN IF EXISTS (SELECT 1 FROM Prc_T_PurchaseRfq WHERE TenderGroupId = @Group AND SupplierId = @SupplierId AND IsDeleted = 0 AND Status <> 'Cancelled') THROW 50167, N'Bu tedarikçinin ihalede zaten bir teklif talebi var.', 1; - EXEC Adm_P_SequenceNext N'PurchaseRfq', @Tenant, @No OUTPUT; + EXEC Adm_P_SequenceNext N'Prc.PurchaseRfq', @Tenant, @No OUTPUT; INSERT INTO Prc_T_PurchaseRfq (Id, TenantId, RfqNo, TenderGroupId, SupplierId, AgreementId, BranchId, OperationTypeId, WarehouseId, CurrencyId, OrderDeadline, ExpectedArrival, BuyerUserId, ProjectId, IncotermId, IncotermLocation, PaymentTermId, diff --git a/configs/seeds/sql/object/Prc_T_PurchaseOrderLine.sql b/configs/seeds/sql/object/Prc_T_PurchaseOrderLine.sql index c261738e..0ba8cd74 100644 --- a/configs/seeds/sql/object/Prc_T_PurchaseOrderLine.sql +++ b/configs/seeds/sql/object/Prc_T_PurchaseOrderLine.sql @@ -15,6 +15,7 @@ BEGIN [DeliveryDate] datetime NULL, [MaterialRequestItemId] uniqueidentifier NULL, [PurchaseRfqLineId] uniqueidentifier NULL, + [ReceivedQuantity] decimal(18, 4) NOT NULL DEFAULT 0, [CreationTime] datetime2 NOT NULL DEFAULT GETUTCDATE(), [CreatorId] uniqueidentifier NULL, [LastModificationTime] datetime2 NULL, diff --git a/configs/seeds/sql/object/Prc_V_MaterialRequestTransferItem.sql b/configs/seeds/sql/object/Prc_V_MaterialRequestTransferItem.sql new file mode 100644 index 00000000..30dfd4c6 --- /dev/null +++ b/configs/seeds/sql/object/Prc_V_MaterialRequestTransferItem.sql @@ -0,0 +1,17 @@ +-- İç transfere aktarılabilecek talep kalemleri: onaylı talebin transferle karşılanacak, bekleyen ve açık bir transferde yer almayan +-- kalemi, aynı şubedeki taslak iç transfer belgesiyle eşlenir. Id = belge|kalem; Talepten Aktar seçilen satırları Inv_P_TransferImportItem ile ekler. +CREATE OR ALTER VIEW [dbo].[Prc_V_MaterialRequestTransferItem] AS +SELECT CONCAT(CAST(d.Id AS nvarchar(36)), '|', CAST(i.Id AS nvarchar(36))) AS Id, d.Id AS BaseId, i.TenantId, i.Id AS MaterialRequestItemId, + i.MaterialRequestId, r.RequestNo, r.RequesterUserId, i.ProductId, i.Quantity - i.DeliveredQuantity AS Quantity, i.UomId, + i.RequestReason, i.DueDate, r.WarehouseId, r.LocationId + FROM Inv_T_Transfer d + INNER JOIN Prc_T_MaterialRequest r ON r.BranchId = d.BranchId AND (r.TenantId = d.TenantId OR (r.TenantId IS NULL AND d.TenantId IS NULL)) + INNER JOIN Prc_T_MaterialRequestItem i ON i.MaterialRequestId = r.Id + WHERE d.IsDeleted = 0 AND d.OperationKind = 'InternalTransfer' AND d.Status = 'Draft' + AND r.IsDeleted = 0 AND i.IsDeleted = 0 + AND r.ApprovalStatus IN (N'Onaylandı', N'Teklif Talebi', N'Teklif Talebi Gönderildi', N'Satınalma Siparişi') + AND i.FulfillmentMethod = 'Transfer' AND i.LineStatus = 'Waiting' AND i.Quantity > i.DeliveredQuantity + AND NOT EXISTS (SELECT 1 FROM Inv_T_TransferLine tl + INNER JOIN Inv_T_Transfer t ON t.Id = tl.TransferId + WHERE tl.MaterialRequestItemId = i.Id AND tl.IsDeleted = 0 + AND t.IsDeleted = 0 AND t.Status NOT IN ('Done', 'Cancelled')) diff --git a/configs/seeds/wizard/Inventory_Delivery.json b/configs/seeds/wizard/Inventory_Delivery.json new file mode 100644 index 00000000..45029004 --- /dev/null +++ b/configs/seeds/wizard/Inventory_Delivery.json @@ -0,0 +1,3106 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_Delivery", + "WizardCode": "App.Inventory.Delivery", + "SeededAt": "2026-10-12T22:11:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "MenuCode": "App.Inventory.Delivery", + "MenuOrder": 2, + "MenuUrl": "/admin/list/App.Inventory.Delivery", + "MenuIcon": "FcShipped" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Deliveries", + "MenuTr": "Teslimatlar", + "TitleEn": "Deliveries", + "TitleTr": "Teslimatlar", + "DescEn": "Deliveries — goods leaving the warehouse to customers.\nWhere: Inventory › Operations › Deliveries.\nFields: delivery address (contact), branch › warehouse › operation type (delivery types only), source location (from the operation type), scheduled date, source document, shipping policy (As soon as possible: the available part becomes Ready; When all products are ready: waits until every line is available).\nStatuses: Draft › Waiting / Ready › Done; Cancelled. Row buttons appear according to the document status. Mark as Ready checks stock and fills the done quantity; Mark as Done posts stock by branch › warehouse › location › product › lot; the remainder of lines done below demand moves to a new document (backorder). Return opens a reverse draft document from a done one; Print prints the transfer slip.\nTabs: Operations (product lines; Details for lots/serials, Generate Lot/Serial and Auto Assign), Additional Info (shipping, responsible, project), Note.\nProducts with inventory tracking off create no stock move; products tracked by lot or serial need a lot distribution before Mark as Done. The number comes from the operation type's sequence. Related screens: Inventory › Stock, Moves and Product Moves.", + "DescTr": "Teslimatlar — depodan müşteriye çıkan mallar.\nNerede: Envanter › Operasyonlar › Teslimatlar.\nAlanlar: teslim adresi (kontak), şube › depo › operasyon türü (yalnız teslimat türleri), kaynak konum (operasyon türünden gelir), planlanan tarih, kaynak belge, ürün teslimat politikası (Mümkün olduğunca kısa sürede: karşılanabilen kısım Hazır olur; Tüm ürünler hazır olduğunda: bütün satırlar karşılanana kadar Bekleyen kalır).\nDurumlar: Taslak › Bekleyen / Hazır › Tamamlandı; İptal. Satırdaki butonlar belgenin durumuna göre görünür. Hazırla stoğu kontrol eder ve yapılacak miktarı doldurur; Tamamla stoğu şube › depo › konum › ürün › lot bazında günceller, talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. İade Et, tamamlanmış belgeden ters yönlü taslak belge açar; Yazdır transfer fişini basar.\nSekmeler: Operasyonlar (ürün satırları; Detaylar ile lot/seri, Lot/Seri Oluştur ve Otomatik Ata), Ek Bilgi (nakliye, sorumlu, proje), Not.\nÜrünün Envanter Takibi kapalıysa stok hareketi oluşmaz; Takip Yöntemi Lot ya da Seri ise Tamamla'dan önce lot dağılımı girilmelidir. Numara operasyon türünün numaratöründen verilir. İlişkili ekranlar: Envanter › Stok, Hareketler ve Ürün Hareketleri.", + "Texts": [ + { + "Key": "App.Inventory.Transfer.Action.Confirm", + "En": "Mark as Ready", + "Tr": "Hazırla" + }, + { + "Key": "App.Inventory.Transfer.Action.Validate", + "En": "Mark as Done", + "Tr": "Tamamla" + }, + { + "Key": "App.Inventory.Transfer.Action.Cancel", + "En": "Cancel", + "Tr": "İptal Et" + }, + { + "Key": "App.Inventory.Transfer.Action.Return", + "En": "Return", + "Tr": "İade Et" + }, + { + "Key": "App.Inventory.Transfer.Action.Print", + "En": "Print", + "Tr": "Yazdır" + }, + { + "Key": "App.Inventory.Transfer.ConfirmAction", + "En": "Apply this action to the selected document?", + "Tr": "Bu işlem seçili belgeye uygulansın mı?" + }, + { + "Key": "App.Inventory.Transfer.Tab.Operations", + "En": "Operations", + "Tr": "Operasyonlar" + }, + { + "Key": "App.Inventory.Transfer.Tab.Other", + "En": "Additional Info", + "Tr": "Ek Bilgi" + }, + { + "Key": "App.Inventory.Transfer.Tab.Note", + "En": "Note", + "Tr": "Not" + }, + { + "Key": "App.Inventory.Widget.Ready", + "En": "Ready", + "Tr": "Hazır" + }, + { + "Key": "App.Inventory.Widget.Waiting", + "En": "Waiting", + "Tr": "Bekleyen" + }, + { + "Key": "App.Inventory.Widget.Late", + "En": "Late", + "Tr": "Geciken" + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "En": "Slip No", + "Tr": "Fiş No" + }, + { + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "En": "Status", + "Tr": "Durum" + }, + { + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "En": "Scheduled Date", + "Tr": "Planlanan Tarih" + }, + { + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Delivery.PartnerId", + "En": "Delivery Address", + "Tr": "Teslim Adresi" + }, + { + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "En": "Branch", + "Tr": "Şube" + }, + { + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "En": "Warehouse", + "Tr": "Depo" + }, + { + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "En": "Operation Type", + "Tr": "Operasyon Türü" + }, + { + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "En": "Source Location", + "Tr": "Kaynak Konum" + }, + { + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "En": "Destination Location", + "Tr": "Hedef Konum" + }, + { + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "En": "Effective Date", + "Tr": "Geçerlilik Tarihi" + }, + { + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "En": "Source Document", + "Tr": "Kaynak Belge" + }, + { + "FieldName": "DeliveryPolicy", + "CaptionName": "App.Listform.ListformField.DeliveryPolicy", + "En": "Shipping Policy", + "Tr": "Ürün Teslimat Politikası" + }, + { + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "En": "OperationKind", + "Tr": "OperationKind" + }, + { + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "En": "PendingAction", + "Tr": "PendingAction" + }, + { + "FieldName": "LineSummary", + "CaptionName": "App.Listform.ListformField.LineSummary", + "En": "LineSummary", + "Tr": "LineSummary" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false' AND \"OperationKind\" = 'Delivery'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": "UPDATE \"Inv_T_Transfer\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\" IN @Id", + "DeleteBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND (Status <> 'Draft' OR PurchaseOrderId IS NOT NULL OR BackorderOfId IS NOT NULL OR ReturnOfId IS NOT NULL)) THROW 50321, N'Yalnız elle açılmış taslak belge silinebilir; diğerlerini iptal edin.', 1;", + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": "EXEC Inv_P_TransferAfterSave @Id, @CreatorId", + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND Status = 'Cancelled') THROW 50320, N'İptal edilmiş belge değiştirilemez.', 1;", + "UpdateAfterCommand": "DECLARE @_id uniqueidentifier = (SELECT TOP 1 Id FROM Inv_T_Transfer WHERE Id IN @Id); EXEC Inv_P_TransferAfterSave @_id, @LastModifierId", + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [ + { + "FieldName": "Status", + "FieldDbType": 16, + "Value": "Draft", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "OperationKind", + "FieldDbType": 16, + "Value": "Delivery", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "ScheduledDate", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": "" + }, + { + "FieldName": "BranchId", + "FieldDbType": 9, + "Value": "", + "CustomValueType": 3, + "SqlQuery": "SELECT BranchId FROM Hr_T_Department WHERE Id = (SELECT DepartmentId FROM AbpUsers WHERE Id = '@USERID')" + }, + { + "FieldName": "DeliveryPolicy", + "FieldDbType": 16, + "Value": "Direct", + "CustomValueType": 1, + "SqlQuery": "" + } + ], + "WidgetsDto": [ + { + "ColGap": 3, + "ColSpan": 3, + "SqlQuery": "SELECT 'App.Widget.Draft' AS \"Title\", CAST(COUNT(*) AS VARCHAR(32)) AS \"Value\", 'gray' AS \"Color\", 'App.Inventory.Delivery' AS \"SubTitle\", 'FaFileAlt' AS \"Icon\" FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Delivery' AND \"Status\" = 'Draft' UNION ALL SELECT 'App.Inventory.Widget.Waiting', CAST(COUNT(*) AS VARCHAR(32)), 'orange', 'App.Inventory.Delivery', 'FaHourglassHalf' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Delivery' AND \"Status\" = 'Waiting' UNION ALL SELECT 'App.Inventory.Widget.Ready', CAST(COUNT(*) AS VARCHAR(32)), 'green', 'App.Inventory.Delivery', 'FaCheckCircle' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Delivery' AND \"Status\" = 'Ready' UNION ALL SELECT 'App.Inventory.Widget.Late', CAST(COUNT(*) AS VARCHAR(32)), 'red', 'App.Inventory.Delivery', 'FaClock' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Delivery' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') AND \"ScheduledDate\" < CURRENT_TIMESTAMP", + "Title": "Title", + "Value": "Value", + "ValueClassName": "text-3xl", + "Color": "Color", + "Icon": "Icon", + "SubTitle": "SubTitle", + "OnClick": "", + "ClassName": "mb-3", + "IsActive": true + } + ], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.Delivery", + "CultureName": "en", + "Name": "App.Inventory.Delivery", + "KeyFieldName": "Id", + "Title": "App.Inventory.Delivery.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.Delivery.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "single", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": true, + "AllowDeleting": true, + "AllowAllDeleting": false, + "AllowAdding": true, + "AllowDuplicate": false, + "OpenDetailAfterInsert": true, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.Delivery.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 560, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 3, + "ColSpan": 3 + } + ], + "PermissionDto": { + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "D": "App.Inventory.Delivery.Delete", + "E": "App.Inventory.Delivery.Export", + "I": "App.Inventory.Delivery.Import", + "N": "App.Inventory.Delivery.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery.Update", + "Text": "App.Inventory.Transfer.Action.Confirm", + "Hint": "App.Inventory.Transfer.Action.Confirm", + "Icon": "box", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: r.Status === 'Draft' ? 'Confirm' : 'Check' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Draft', 'Waiting'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery.Update", + "Text": "App.Inventory.Transfer.Action.Validate", + "Hint": "App.Inventory.Transfer.Action.Validate", + "Icon": "check", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Validate' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Ready'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery.Update", + "Text": "App.Inventory.Transfer.Action.Cancel", + "Hint": "App.Inventory.Transfer.Action.Cancel", + "Icon": "close", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Cancel' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Draft', 'Waiting', 'Ready'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery.Update", + "Text": "App.Inventory.Transfer.Action.Return", + "Hint": "App.Inventory.Transfer.Action.Return", + "Icon": "revert", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Return' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Done'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery", + "Text": "App.Inventory.Transfer.Action.Print", + "Hint": "App.Inventory.Transfer.Action.Print", + "Icon": "print", + "Url": "/admin/reports/DynamicReport/view/f1b66538-1db6-5a7d-8178-32c53bc135ff/App.Inventory.Delivery?recordId=@Id", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing" + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.Delivery", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": true, + "SubFormsListFormType": "Form", + "SubFormsDto": [ + { + "TabType": "List", + "TabTitle": "App.Inventory.Transfer.Tab.Operations", + "Code": "App.Inventory.TransferLine", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "TransferId" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Other", + "Code": "App.Inventory.TransferOther", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Note", + "Code": "App.Inventory.TransferNote", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + } + ], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Draft\",\"name\":\"App.StaticLookup.Draft\"},{\"key\":\"Waiting\",\"name\":\"App.StaticLookup.Waiting\"},{\"key\":\"Ready\",\"name\":\"App.StaticLookup.Ready\"},{\"key\":\"Done\",\"name\":\"App.StaticLookup.Done\"},{\"key\":\"Cancelled\",\"name\":\"App.StaticLookup.Cancelled\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Delivery.PartnerId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Contact WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 2, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": "WarehouseId,OperationTypeId,SourceLocationId,DestinationLocationId", + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "BranchId", + "CascadeEmptyFields": "OperationTypeId,SourceLocationId,DestinationLocationId", + "LookupQuery": "SELECT Id AS [Key], CONCAT(Code, ' - ', Name) AS [Name], BranchId FROM Inv_T_Warehouse WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' AND (@param0 IS NULL OR BranchId = @param0) ORDER BY Code" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 6, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name], WarehouseId, SourceLocationId, DestinationLocationId FROM Inv_T_OperationType WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' AND OperationKind = 'Delivery' AND (@param0 IS NULL OR WarehouseId = @param0) ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 7, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": "// @builder {\"v\":1,\"rules\":[{\"id\":\"copy_1\",\"recipe\":\"copy\",\"condition\":{\"operator\":\"always\",\"source\":\"\",\"value\":\"\"},\"params\":{\"source\":\"SourceLocationId\",\"target\":\"SourceLocationId\"},\"fields\":[],\"trigger\":\"change\"}]}\ncopy(\"SourceLocationId\", \"SourceLocationId\")", + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name], l.WarehouseId FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.IsDeleted = 'false' AND l.IsActive = 1 AND l.TenantId = '@TENANTID' AND (@param0 IS NULL OR l.WarehouseId = @param0) ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 8, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 11, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 9, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 12, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 10, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":128}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DeliveryPolicy", + "CaptionName": "App.Listform.ListformField.DeliveryPolicy", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 13, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Direct\",\"name\":\"App.StaticLookup.DeliveryDirect\"},{\"key\":\"OneTime\",\"name\":\"App.StaticLookup.DeliveryOneTime\"}]" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 11, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"searchEnabled\":false}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 14, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Receipt\",\"name\":\"App.StaticLookup.Receipt\"},{\"key\":\"Delivery\",\"name\":\"App.StaticLookup.Delivery\"},{\"key\":\"InternalTransfer\",\"name\":\"App.StaticLookup.InternalTransfer\"},{\"key\":\"Manufacturing\",\"name\":\"App.StaticLookup.Manufacturing\"},{\"key\":\"Repair\",\"name\":\"App.StaticLookup.Repair\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 15, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Delivery", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LineSummary", + "CaptionName": "App.Listform.ListformField.LineSummary", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 16, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Delivery.Create", + "R": "App.Inventory.Delivery", + "U": "App.Inventory.Delivery.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.Delivery", + "App.Inventory.Delivery.Title", + "App.Inventory.Delivery.Desc", + "App.Inventory.Transfer.Action.Confirm", + "App.Inventory.Transfer.Action.Validate", + "App.Inventory.Transfer.Action.Cancel", + "App.Inventory.Transfer.Action.Return", + "App.Inventory.Transfer.Action.Print", + "App.Inventory.Transfer.ConfirmAction", + "App.Inventory.Transfer.Tab.Operations", + "App.Inventory.Transfer.Tab.Other", + "App.Inventory.Transfer.Tab.Note", + "App.Inventory.Widget.Ready", + "App.Inventory.Widget.Waiting", + "App.Inventory.Widget.Late" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.Delivery", + "App.Inventory.Delivery.Create", + "App.Inventory.Delivery.Update", + "App.Inventory.Delivery.Delete", + "App.Inventory.Delivery.Export", + "App.Inventory.Delivery.Import", + "App.Inventory.Delivery.Note" + ], + "MenuCodes": [ + "App.Inventory.Delivery" + ], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_InternalTransfer.json b/configs/seeds/wizard/Inventory_InternalTransfer.json new file mode 100644 index 00000000..4970a75e --- /dev/null +++ b/configs/seeds/wizard/Inventory_InternalTransfer.json @@ -0,0 +1,3758 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_InternalTransfer", + "WizardCode": "App.Inventory.InternalTransfer", + "SeededAt": "2026-10-12T22:12:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "MenuCode": "App.Inventory.InternalTransfer", + "MenuOrder": 3, + "MenuUrl": "/admin/list/App.Inventory.InternalTransfer", + "MenuIcon": "FcRefresh" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Internal Transfers", + "MenuTr": "İç Transferler", + "TitleEn": "Internal Transfers", + "TitleTr": "İç Transferler", + "DescEn": "Internal Transfers — moves between locations of the same warehouse.\nWhere: Inventory › Operations › Internal Transfers; extra tab Approval & Delivery.\nFields: contact, branch › warehouse › operation type (internal transfer types only), source and destination location (internal locations only, different from each other), scheduled date, source document.\nOrder: enter the lines › Start Workflow › the warehouse responsible of the source location gives Source Warehouse Approval › the document is made ready automatically (Ready/Waiting) › select lots › Mark as Done. A location without a responsible has no approval step (No Approval Needed) and Mark as Ready is pressed by hand. Approval comes before the stock move; Mark as Done writes the receiving user and date.\nImport from Requests (draft transfer) adds the approved material request lines to be fulfilled by transfer; Mark as Done writes the delivered quantity to the request line.\nStatuses: Draft › Waiting / Ready › Done; Cancelled. Row buttons appear according to the document status. Mark as Ready checks stock and fills the done quantity; Mark as Done posts stock by branch › warehouse › location › product › lot; the remainder of lines done below demand moves to a new document (backorder). Return opens a reverse draft document from a done one; Print prints the transfer slip.\nTabs: Operations (product lines; Details for lots/serials, Generate Lot/Serial and Auto Assign), Additional Info (shipping, responsible, project), Note.\nProducts with inventory tracking off create no stock move; products tracked by lot or serial need a lot distribution before Mark as Done. The number comes from the operation type's sequence. Related screens: Inventory › Stock, Moves and Product Moves.", + "DescTr": "İç Transferler — aynı deponun konumları arasında taşıma.\nNerede: Envanter › Operasyonlar › İç Transferler; ek sekme Onay ve Teslim.\nAlanlar: kontak, şube › depo › operasyon türü (yalnız iç transfer türleri), kaynak ve hedef konum (yalnız iç konumlar, birbirinden farklı), planlanan tarih, kaynak belge.\nSıra: satırlar girilir › İş Akışı Başlat › kaynak konumun depo sorumlusu Kaynak Depo Onayı verir › belge kendiliğinden hazırlanır (Hazır/Bekleyen) › lotlar seçilir › Tamamla. Sorumlusu olmayan konumda onay adımı yoktur (Onay Gerekmez) ve Hazırla elle basılır. Onay stok hareketinden önce gelir; Tamamla teslim alanı ve teslim alma tarihini yazar.\nTalepten Aktar (taslak transferde) transferle karşılanacak onaylı malzeme talebi kalemlerini ekler; Tamamla teslim edilen miktarı talep kalemine yazar.\nDurumlar: Taslak › Bekleyen / Hazır › Tamamlandı; İptal. Satırdaki butonlar belgenin durumuna göre görünür. Hazırla stoğu kontrol eder ve yapılacak miktarı doldurur; Tamamla stoğu şube › depo › konum › ürün › lot bazında günceller, talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. İade Et, tamamlanmış belgeden ters yönlü taslak belge açar; Yazdır transfer fişini basar.\nSekmeler: Operasyonlar (ürün satırları; Detaylar ile lot/seri, Lot/Seri Oluştur ve Otomatik Ata), Ek Bilgi (nakliye, sorumlu, proje), Not.\nÜrünün Envanter Takibi kapalıysa stok hareketi oluşmaz; Takip Yöntemi Lot ya da Seri ise Tamamla'dan önce lot dağılımı girilmelidir. Numara operasyon türünün numaratöründen verilir. İlişkili ekranlar: Envanter › Stok, Hareketler ve Ürün Hareketleri.", + "Texts": [ + { + "Key": "App.Inventory.Transfer.Action.Confirm", + "En": "Mark as Ready", + "Tr": "Hazırla" + }, + { + "Key": "App.Inventory.Transfer.Action.Validate", + "En": "Mark as Done", + "Tr": "Tamamla" + }, + { + "Key": "App.Inventory.Transfer.Action.Cancel", + "En": "Cancel", + "Tr": "İptal Et" + }, + { + "Key": "App.Inventory.Transfer.Action.Return", + "En": "Return", + "Tr": "İade Et" + }, + { + "Key": "App.Inventory.Transfer.Action.Print", + "En": "Print", + "Tr": "Yazdır" + }, + { + "Key": "App.Inventory.Transfer.ConfirmAction", + "En": "Apply this action to the selected document?", + "Tr": "Bu işlem seçili belgeye uygulansın mı?" + }, + { + "Key": "App.Inventory.Transfer.Tab.Operations", + "En": "Operations", + "Tr": "Operasyonlar" + }, + { + "Key": "App.Inventory.Transfer.Tab.Other", + "En": "Additional Info", + "Tr": "Ek Bilgi" + }, + { + "Key": "App.Inventory.Transfer.Tab.Note", + "En": "Note", + "Tr": "Not" + }, + { + "Key": "App.Inventory.Widget.Ready", + "En": "Ready", + "Tr": "Hazır" + }, + { + "Key": "App.Inventory.Widget.Waiting", + "En": "Waiting", + "Tr": "Bekleyen" + }, + { + "Key": "App.Inventory.Widget.Late", + "En": "Late", + "Tr": "Geciken" + }, + { + "Key": "App.Inventory.Transfer.ImportRequests", + "En": "Import from Requests", + "Tr": "Talepten Aktar" + }, + { + "Key": "App.Inventory.Transfer.ImportRequestsInfo", + "En": "Select the approved material request lines to be fulfilled by transfer and click Transfer Selected. Only requests of the document branch are listed.", + "Tr": "Transferle karşılanacak onaylı malzeme talebi kalemlerini seçip Seçilenleri Aktar butonuna basın. Yalnız belgenin şubesindeki talepler listelenir." + }, + { + "Key": "App.Inventory.Transfer.Tab.Approval", + "En": "Approval & Delivery", + "Tr": "Onay ve Teslim" + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "En": "Slip No", + "Tr": "Fiş No" + }, + { + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "En": "Scheduled Date", + "Tr": "Planlanan Tarih" + }, + { + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.InternalTransfer.PartnerId", + "En": "Contact", + "Tr": "Kontak" + }, + { + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "En": "Status", + "Tr": "Durum" + }, + { + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "En": "Branch", + "Tr": "Şube" + }, + { + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "En": "Warehouse", + "Tr": "Depo" + }, + { + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "En": "Operation Type", + "Tr": "Operasyon Türü" + }, + { + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "En": "Effective Date", + "Tr": "Geçerlilik Tarihi" + }, + { + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "En": "Source Location", + "Tr": "Kaynak Konum" + }, + { + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "En": "Destination Location", + "Tr": "Hedef Konum" + }, + { + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "En": "Source Document", + "Tr": "Kaynak Belge" + }, + { + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "En": "OperationKind", + "Tr": "OperationKind" + }, + { + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "En": "PendingAction", + "Tr": "PendingAction" + }, + { + "FieldName": "LineSummary", + "CaptionName": "App.Listform.ListformField.LineSummary", + "En": "LineSummary", + "Tr": "LineSummary" + }, + { + "FieldName": "ApprovalStatus", + "CaptionName": "App.Inventory.TransferApproval.ApprovalStatus", + "En": "Source Warehouse Approval", + "Tr": "Kaynak Depo Onayı" + }, + { + "FieldName": "ApprovalUserName", + "CaptionName": "App.Listform.ListformField.ApprovalUserName", + "En": "Approval User", + "Tr": "Onaylayan" + }, + { + "FieldName": "ApprovalDate", + "CaptionName": "App.Listform.ListformField.ApprovalDate", + "En": "Approval Date", + "Tr": "Onay Tarihi" + }, + { + "FieldName": "ApprovalDescription", + "CaptionName": "App.Listform.ListformField.ApprovalDescription", + "En": "Approval Description", + "Tr": "Onay Açıklaması" + }, + { + "FieldName": "SourceApproverUserNames", + "CaptionName": "App.Listform.ListformField.SourceApproverUserNames", + "En": "SourceApproverUserNames", + "Tr": "SourceApproverUserNames" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false' AND \"OperationKind\" = 'InternalTransfer'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": "UPDATE \"Inv_T_Transfer\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\" IN @Id", + "DeleteBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND (Status <> 'Draft' OR PurchaseOrderId IS NOT NULL OR BackorderOfId IS NOT NULL OR ReturnOfId IS NOT NULL)) THROW 50321, N'Yalnız elle açılmış taslak belge silinebilir; diğerlerini iptal edin.', 1;", + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": "EXEC Inv_P_TransferAfterSave @Id, @CreatorId", + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND Status = 'Cancelled') THROW 50320, N'İptal edilmiş belge değiştirilemez.', 1;", + "UpdateAfterCommand": "DECLARE @_id uniqueidentifier = (SELECT TOP 1 Id FROM Inv_T_Transfer WHERE Id IN @Id); EXEC Inv_P_TransferAfterSave @_id, @LastModifierId", + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [ + { + "FieldName": "Status", + "FieldDbType": 16, + "Value": "Draft", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "OperationKind", + "FieldDbType": 16, + "Value": "InternalTransfer", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "ScheduledDate", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": "" + }, + { + "FieldName": "BranchId", + "FieldDbType": 9, + "Value": "", + "CustomValueType": 3, + "SqlQuery": "SELECT BranchId FROM Hr_T_Department WHERE Id = (SELECT DepartmentId FROM AbpUsers WHERE Id = '@USERID')" + } + ], + "WidgetsDto": [ + { + "ColGap": 3, + "ColSpan": 3, + "SqlQuery": "SELECT 'App.Widget.Draft' AS \"Title\", CAST(COUNT(*) AS VARCHAR(32)) AS \"Value\", 'gray' AS \"Color\", 'App.Inventory.InternalTransfer' AS \"SubTitle\", 'FaFileAlt' AS \"Icon\" FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'InternalTransfer' AND \"Status\" = 'Draft' UNION ALL SELECT 'App.Inventory.Widget.Waiting', CAST(COUNT(*) AS VARCHAR(32)), 'orange', 'App.Inventory.InternalTransfer', 'FaHourglassHalf' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'InternalTransfer' AND \"Status\" = 'Waiting' UNION ALL SELECT 'App.Inventory.Widget.Ready', CAST(COUNT(*) AS VARCHAR(32)), 'green', 'App.Inventory.InternalTransfer', 'FaCheckCircle' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'InternalTransfer' AND \"Status\" = 'Ready' UNION ALL SELECT 'App.Inventory.Widget.Late', CAST(COUNT(*) AS VARCHAR(32)), 'red', 'App.Inventory.InternalTransfer', 'FaClock' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'InternalTransfer' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') AND \"ScheduledDate\" < CURRENT_TIMESTAMP", + "Title": "Title", + "Value": "Value", + "ValueClassName": "text-3xl", + "Color": "Color", + "Icon": "Icon", + "SubTitle": "SubTitle", + "OnClick": "", + "ClassName": "mb-3", + "IsActive": true + } + ], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.InternalTransfer", + "CultureName": "en", + "Name": "App.Inventory.InternalTransfer", + "KeyFieldName": "Id", + "Title": "App.Inventory.InternalTransfer.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.InternalTransfer.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "single", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": true, + "AllowDeleting": true, + "AllowAllDeleting": false, + "AllowAdding": true, + "AllowDuplicate": false, + "OpenDetailAfterInsert": true, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.InternalTransfer.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 560, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 3, + "ColSpan": 3 + } + ], + "PermissionDto": { + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "D": "App.Inventory.InternalTransfer.Delete", + "E": "App.Inventory.InternalTransfer.Export", + "I": "App.Inventory.InternalTransfer.Import", + "N": "App.Inventory.InternalTransfer.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.TransferImportItem.Update", + "Text": "App.Inventory.Transfer.ImportRequests", + "Hint": "App.Inventory.Transfer.ImportRequests", + "Icon": "download", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(() => { const r = e.row.data; if (!r) return; dialog.setConfig({ component: 'PurchaseDocGrid', props: { docId: r.Id, listFormCode: 'App.Inventory.TransferImportItem', title: 'App.Inventory.Transfer.ImportRequests', info: 'App.Inventory.Transfer.ImportRequestsInfo' }, onClose: () => e.component.refresh() }); })()", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Draft'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer.Update", + "Text": "App.Inventory.Transfer.Action.Confirm", + "Hint": "App.Inventory.Transfer.Action.Confirm", + "Icon": "box", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: r.Status === 'Draft' ? 'Confirm' : 'Check' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && (e.row.data.Status === 'Waiting' || (e.row.data.Status === 'Draft' && ['Onaylandı', 'Onay Gerekmez'].includes(e.row.data.ApprovalStatus)))" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer.Update", + "Text": "App.Inventory.Transfer.Action.Validate", + "Hint": "App.Inventory.Transfer.Action.Validate", + "Icon": "check", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Validate' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Ready'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer.Update", + "Text": "App.Inventory.Transfer.Action.Cancel", + "Hint": "App.Inventory.Transfer.Action.Cancel", + "Icon": "close", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Cancel' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Draft', 'Waiting', 'Ready'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer.Update", + "Text": "App.Inventory.Transfer.Action.Return", + "Hint": "App.Inventory.Transfer.Action.Return", + "Icon": "revert", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Return' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Done'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer", + "Text": "App.Inventory.Transfer.Action.Print", + "Hint": "App.Inventory.Transfer.Action.Print", + "Icon": "print", + "Url": "/admin/reports/DynamicReport/view/f1b66538-1db6-5a7d-8178-32c53bc135ff/App.Inventory.InternalTransfer?recordId=@Id", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing" + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.InternalTransfer", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": true, + "SubFormsListFormType": "Form", + "SubFormsDto": [ + { + "TabType": "List", + "TabTitle": "App.Inventory.Transfer.Tab.Operations", + "Code": "App.Inventory.TransferLine", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "TransferId" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Other", + "Code": "App.Inventory.TransferOther", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Note", + "Code": "App.Inventory.TransferNote", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Approval", + "Code": "App.Inventory.TransferApproval", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + } + ], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": "ApprovalUserName", + "ApprovalDateFieldName": "ApprovalDate", + "ApprovalStatusFieldName": "ApprovalStatus", + "ApprovalDescriptionFieldName": "ApprovalDescription", + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": true, + "ApprovalIsManualStart": true, + "Criteria": [ + { + "ListFormCode": "App.Inventory.InternalTransfer", + "Kind": "Start", + "Title": "Onaya Gönderildi", + "CompareColumn": "", + "CompareOperator": "", + "CompareValue": 0, + "Approver": "", + "NextOnStart": "App.Inventory.InternalTransfer-N2", + "NextOnTrue": "", + "NextOnFalse": "", + "NextOnApprove": "", + "NextOnReject": "", + "PositionX": 40, + "PositionY": 40, + "CompareOutcomes": [], + "Id": "App.Inventory.InternalTransfer-N1" + }, + { + "ListFormCode": "App.Inventory.InternalTransfer", + "Kind": "Approval", + "Title": "Kaynak Depo Onayı", + "CompareColumn": "", + "CompareOperator": "", + "CompareValue": 0, + "Approver": "@SourceApproverUserNames", + "NextOnStart": "", + "NextOnTrue": "", + "NextOnFalse": "", + "NextOnApprove": "App.Inventory.InternalTransfer-N3", + "NextOnReject": "App.Inventory.InternalTransfer-N4", + "PositionX": 40, + "PositionY": 160, + "CompareOutcomes": [], + "Id": "App.Inventory.InternalTransfer-N2" + }, + { + "ListFormCode": "App.Inventory.InternalTransfer", + "Kind": "End", + "Title": "Onaylandı", + "CompareColumn": "", + "CompareOperator": "", + "CompareValue": 0, + "Approver": "", + "NextOnStart": "", + "NextOnTrue": "", + "NextOnFalse": "", + "NextOnApprove": "", + "NextOnReject": "", + "PositionX": 40, + "PositionY": 280, + "CompareOutcomes": [], + "Id": "App.Inventory.InternalTransfer-N3" + }, + { + "ListFormCode": "App.Inventory.InternalTransfer", + "Kind": "End", + "Title": "Reddedildi", + "CompareColumn": "", + "CompareOperator": "", + "CompareValue": 0, + "Approver": "", + "NextOnStart": "", + "NextOnTrue": "", + "NextOnFalse": "", + "NextOnApprove": "", + "NextOnReject": "", + "PositionX": 320, + "PositionY": 280, + "CompareOutcomes": [], + "Id": "App.Inventory.InternalTransfer-N4" + } + ] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.InternalTransfer.PartnerId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Contact WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 2, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Draft\",\"name\":\"App.StaticLookup.Draft\"},{\"key\":\"Waiting\",\"name\":\"App.StaticLookup.Waiting\"},{\"key\":\"Ready\",\"name\":\"App.StaticLookup.Ready\"},{\"key\":\"Done\",\"name\":\"App.StaticLookup.Done\"},{\"key\":\"Cancelled\",\"name\":\"App.StaticLookup.Cancelled\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": "WarehouseId,OperationTypeId,SourceLocationId,DestinationLocationId", + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 6, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "BranchId", + "CascadeEmptyFields": "OperationTypeId,SourceLocationId,DestinationLocationId", + "LookupQuery": "SELECT Id AS [Key], CONCAT(Code, ' - ', Name) AS [Name], BranchId FROM Inv_T_Warehouse WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' AND (@param0 IS NULL OR BranchId = @param0) ORDER BY Code" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 7, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name], WarehouseId, SourceLocationId, DestinationLocationId FROM Inv_T_OperationType WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' AND OperationKind = 'InternalTransfer' AND (@param0 IS NULL OR WarehouseId = @param0) ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 8, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": "// @builder {\"v\":1,\"rules\":[{\"id\":\"copy_1\",\"recipe\":\"copy\",\"condition\":{\"operator\":\"always\",\"source\":\"\",\"value\":\"\"},\"params\":{\"source\":\"SourceLocationId\",\"target\":\"SourceLocationId\"},\"fields\":[],\"trigger\":\"change\"},{\"id\":\"copy_2\",\"recipe\":\"copy\",\"condition\":{\"operator\":\"always\",\"source\":\"\",\"value\":\"\"},\"params\":{\"source\":\"DestinationLocationId\",\"target\":\"DestinationLocationId\"},\"fields\":[],\"trigger\":\"change\"}]}\ncopy(\"SourceLocationId\", \"SourceLocationId\")\ncopy(\"DestinationLocationId\", \"DestinationLocationId\")", + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name], l.WarehouseId FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.IsDeleted = 'false' AND l.IsActive = 1 AND l.LocationType = 'Internal' AND l.TenantId = '@TENANTID' AND (@param0 IS NULL OR l.WarehouseId = @param0) ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 9, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 11, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name], l.WarehouseId FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.IsDeleted = 'false' AND l.IsActive = 1 AND l.LocationType = 'Internal' AND l.TenantId = '@TENANTID' AND (@param0 IS NULL OR l.WarehouseId = @param0) ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + }, + { + "Type": "compare", + "Message": "App.Inventory.Transfer.SameLocation", + "IgnoreEmptyValue": true, + "Reevaluate": true, + "ComparisonType": "!=", + "ComparisonTarget": "SourceLocationId", + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 10, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 12, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 11, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":128}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 13, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Receipt\",\"name\":\"App.StaticLookup.Receipt\"},{\"key\":\"Delivery\",\"name\":\"App.StaticLookup.Delivery\"},{\"key\":\"InternalTransfer\",\"name\":\"App.StaticLookup.InternalTransfer\"},{\"key\":\"Manufacturing\",\"name\":\"App.StaticLookup.Manufacturing\"},{\"key\":\"Repair\",\"name\":\"App.StaticLookup.Repair\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 14, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LineSummary", + "CaptionName": "App.Listform.ListformField.LineSummary", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 15, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalStatus", + "CaptionName": "App.Inventory.TransferApproval.ApprovalStatus", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 16, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalUserName", + "CaptionName": "App.Listform.ListformField.ApprovalUserName", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 17, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalDate", + "CaptionName": "App.Listform.ListformField.ApprovalDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 18, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalDescription", + "CaptionName": "App.Listform.ListformField.ApprovalDescription", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 19, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.InternalTransfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceApproverUserNames", + "CaptionName": "App.Listform.ListformField.SourceApproverUserNames", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 20, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.InternalTransfer.Create", + "R": "App.Inventory.InternalTransfer", + "U": "App.Inventory.InternalTransfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.InternalTransfer", + "App.Inventory.InternalTransfer.Title", + "App.Inventory.InternalTransfer.Desc", + "App.Inventory.Transfer.Action.Confirm", + "App.Inventory.Transfer.Action.Validate", + "App.Inventory.Transfer.Action.Cancel", + "App.Inventory.Transfer.Action.Return", + "App.Inventory.Transfer.Action.Print", + "App.Inventory.Transfer.ConfirmAction", + "App.Inventory.Transfer.Tab.Operations", + "App.Inventory.Transfer.Tab.Other", + "App.Inventory.Transfer.Tab.Note", + "App.Inventory.Widget.Ready", + "App.Inventory.Widget.Waiting", + "App.Inventory.Widget.Late", + "App.Inventory.Transfer.ImportRequests", + "App.Inventory.Transfer.ImportRequestsInfo", + "App.Inventory.Transfer.Tab.Approval" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.InternalTransfer", + "App.Inventory.InternalTransfer.Create", + "App.Inventory.InternalTransfer.Update", + "App.Inventory.InternalTransfer.Delete", + "App.Inventory.InternalTransfer.Export", + "App.Inventory.InternalTransfer.Import", + "App.Inventory.InternalTransfer.Note" + ], + "MenuCodes": [ + "App.Inventory.InternalTransfer" + ], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_Location.json b/configs/seeds/wizard/Inventory_Location.json index 4a10fb09..24580fc6 100644 --- a/configs/seeds/wizard/Inventory_Location.json +++ b/configs/seeds/wizard/Inventory_Location.json @@ -87,7 +87,7 @@ "Tr": "Departman" }, { - "FieldName": "ResponsibleUserId", + "FieldName": "ResponsibleUserName", "CaptionName": "App.Listform.ListformField.WarehouseResponsible", "En": "Warehouse Responsible", "Tr": "Depo Sorumlusu" @@ -390,6 +390,7 @@ "AllowAllDeleting": false, "AllowAdding": true, "AllowDuplicate": false, + "OpenDetailAfterInsert": false, "UseIcons": false, "ConfirmDelete": true, "NewRowPosition": "viewportTop", @@ -470,6 +471,7 @@ "ApprovalDescriptionFieldName": null, "ApprovalIsFilterUserName": false, "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, "Criteria": [] }, "UserId": null, @@ -947,6 +949,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1085,6 +1089,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1349,6 +1355,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1539,7 +1547,7 @@ "JoinFieldName2": null, "BaseTableJoinFieldName2_OrValue": null }, - "FieldName": "ResponsibleUserId", + "FieldName": "ResponsibleUserName", "CaptionName": "App.Listform.ListformField.WarehouseResponsible", "PlaceHolder": null, "ReadOnly": false, @@ -1547,7 +1555,7 @@ "IsActive": true, "Width": 0, "ListOrderNo": 7, - "SourceDbType": 9, + "SourceDbType": 16, "CultureName": "en", "DataType": "string", "SortIndex": 0, @@ -1604,7 +1612,7 @@ "CascadeFilterOperator": "=", "CascadeParentFields": null, "CascadeEmptyFields": null, - "LookupQuery": "SELECT Id AS [Key], CONCAT(Name, ' ', Surname) AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + "LookupQuery": "SELECT UserName AS [Key], CONCAT(Name, ' ', Surname) AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" }, "ValidationRuleDto": [], "ColumnStylingDto": [], @@ -1739,6 +1747,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -2003,6 +2013,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, diff --git a/configs/seeds/wizard/Inventory_OperationType.json b/configs/seeds/wizard/Inventory_OperationType.json index 93ad3a8f..bde96ce7 100644 --- a/configs/seeds/wizard/Inventory_OperationType.json +++ b/configs/seeds/wizard/Inventory_OperationType.json @@ -32,8 +32,8 @@ "MenuTr": "Operasyon Türleri", "TitleEn": "Operation Types", "TitleTr": "Operasyon Türleri", - "DescEn": "Operation Types — stock operation types defined per branch and warehouse (e.g. Receipts, Deliveries, Internal Transfers).\nWhere: Inventory › Definitions › Operation Types.\nFields: operation type name, type (Receipt / Delivery / Internal Transfer / Manufacturing / Repair), branch, warehouse (filtered by branch), sequence prefix, barcode, default source and destination locations (filtered by warehouse), active.\nUsed by: stock movement documents pick their type from here. Changing the branch clears warehouse and locations.", - "DescTr": "Operasyon Türleri — şube ve depo bazında tanımlanan stok operasyon türleri (ör. Alımlar, Teslimatlar, İç Transferler).\nNerede: Envanter › Tanımlamalar › Operasyon Türleri.\nAlanlar: operasyon türü adı, tür (Alım / Teslimat / İç Transfer / Üretim / Onarım), şube, depo (şubeye göre süzülür), sıra öneki, barkod, varsayılan kaynak ve hedef konum (depoya göre süzülür), aktif.\nKullanıldığı yer: stok hareket belgeleri türünü buradan seçer. Şube değişince depo ve konumlar temizlenir.", + "DescEn": "Operation Types — stock operation types defined per branch and warehouse (e.g. Receipts, Deliveries, Internal Transfers).\nWhere: Inventory › Definitions › Operation Types.\nFields: operation type name, type (Receipt / Delivery / Internal Transfer / Manufacturing / Repair), branch, warehouse (filtered by branch), sequence (document numbers of the transfers come from it, e.g. IKT/IN/00001), barcode, default source and destination locations (filtered by warehouse), active.\nUsed by: stock movement documents pick their type from here. Changing the branch clears warehouse and locations.", + "DescTr": "Operasyon Türleri — şube ve depo bazında tanımlanan stok operasyon türleri (ör. Alımlar, Teslimatlar, İç Transferler).\nNerede: Envanter › Tanımlamalar › Operasyon Türleri.\nAlanlar: operasyon türü adı, tür (Alım / Teslimat / İç Transfer / Üretim / Onarım), şube, depo (şubeye göre süzülür), numaratör (transfer belgelerinin numarası buradan gelir, ör. IKT/IN/00001), barkod, varsayılan kaynak ve hedef konum (depoya göre süzülür), aktif.\nKullanıldığı yer: stok hareket belgeleri türünü buradan seçer. Şube değişince depo ve konumlar temizlenir.", "Texts": [ { "Key": "App.StaticLookup.Receipt", @@ -96,10 +96,10 @@ "Tr": "Tür" }, { - "FieldName": "SequencePrefix", - "CaptionName": "App.Listform.ListformField.SequencePrefix", - "En": "Sequence Prefix", - "Tr": "Sıra Öneki" + "FieldName": "SequenceName", + "CaptionName": "App.Listform.ListformField.SequenceName", + "En": "Sequence", + "Tr": "Numaratör" }, { "FieldName": "Barcode", @@ -964,6 +964,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1102,6 +1104,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1240,6 +1244,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1378,6 +1384,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -1442,8 +1450,8 @@ "JoinFieldName2": null, "BaseTableJoinFieldName2_OrValue": null }, - "FieldName": "SequencePrefix", - "CaptionName": "App.Listform.ListformField.SequencePrefix", + "FieldName": "SequenceName", + "CaptionName": "App.Listform.ListformField.SequenceName", "PlaceHolder": null, "ReadOnly": false, "Visible": true, @@ -1500,16 +1508,30 @@ "ShowInColumn": null }, "LookupDto": { - "DataSourceType": 0, + "DataSourceType": 2, "ValueExpr": "Key", "DisplayExpr": "Name", "CascadeRelationField": null, "CascadeFilterOperator": "=", "CascadeParentFields": null, "CascadeEmptyFields": null, - "LookupQuery": null + "LookupQuery": "SELECT Name AS [Key], CONCAT(Name, ' (', Prefix, ')') AS [Name] FROM Adm_T_Sequence WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name" }, - "ValidationRuleDto": [], + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], "ColumnStylingDto": [], "PermissionDto": { "Deny": false, @@ -1539,9 +1561,9 @@ "Format": null, "EditOrderNo": 5, "EditGroupOrderNo": 1, - "EditorType2": "dxTextBox", + "EditorType2": "dxSelectBox", "ColSpan": 1, - "EditorOptions": "{\"showClearButton\":true,\"maxLength\":16}", + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", "GridBoxOptions": null, "TagBoxOptions": null, "ImageUploadOptions": null, @@ -2020,6 +2042,8 @@ "IgnoreEmptyValue": false, "Reevaluate": true, "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, "Pattern": "", "Max": null, "Min": null, @@ -2083,7 +2107,7 @@ "App.StaticLookup.Repair", "App.Listform.ListformField.OperationTypeName", "App.Listform.ListformField.OperationKind", - "App.Listform.ListformField.SequencePrefix", + "App.Listform.ListformField.SequenceName", "App.Listform.ListformField.SourceLocation", "App.Listform.ListformField.DestinationLocation" ], diff --git a/configs/seeds/wizard/Inventory_Receipt.json b/configs/seeds/wizard/Inventory_Receipt.json new file mode 100644 index 00000000..7c4cead8 --- /dev/null +++ b/configs/seeds/wizard/Inventory_Receipt.json @@ -0,0 +1,2953 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_Receipt", + "WizardCode": "App.Inventory.Receipt", + "SeededAt": "2026-10-12T22:10:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "MenuCode": "App.Inventory.Receipt", + "MenuOrder": 1, + "MenuUrl": "/admin/list/App.Inventory.Receipt", + "MenuIcon": "FcDownload" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Receipts", + "MenuTr": "Alımlar", + "TitleEn": "Receipts", + "TitleTr": "Alımlar", + "DescEn": "Receipts — goods entering the warehouse from suppliers.\nWhere: Inventory › Operations › Receipts. Confirming a purchase order opens a draft receipt automatically (Source Document = order no; received quantities are written back to the order lines).\nFields: received from (supplier), branch › warehouse › operation type (receipt types only), destination location (from the operation type), scheduled date, source document.\nStatuses: Draft › Waiting / Ready › Done; Cancelled. Row buttons appear according to the document status. Mark as Ready checks stock and fills the done quantity; Mark as Done posts stock by branch › warehouse › location › product › lot; the remainder of lines done below demand moves to a new document (backorder). Return opens a reverse draft document from a done one; Print prints the transfer slip.\nTabs: Operations (product lines; Details for lots/serials, Generate Lot/Serial and Auto Assign), Additional Info (shipping, responsible, project), Note.\nProducts with inventory tracking off create no stock move; products tracked by lot or serial need a lot distribution before Mark as Done. The number comes from the operation type's sequence. Related screens: Inventory › Stock, Moves and Product Moves.", + "DescTr": "Alımlar — tedarikçiden depoya giren mallar.\nNerede: Envanter › Operasyonlar › Alımlar. Satınalma siparişi onaylanınca taslak alım kendiliğinden açılır (Kaynak Belge = sipariş no; alınan miktarlar sipariş kalemlerine yazılır).\nAlanlar: alım yapılan (tedarikçi), şube › depo › operasyon türü (yalnız alım türleri), hedef konum (operasyon türünden gelir), planlanan tarih, kaynak belge.\nDurumlar: Taslak › Bekleyen / Hazır › Tamamlandı; İptal. Satırdaki butonlar belgenin durumuna göre görünür. Hazırla stoğu kontrol eder ve yapılacak miktarı doldurur; Tamamla stoğu şube › depo › konum › ürün › lot bazında günceller, talepten az yapılan satırların kalanı aynı türde yeni belgeye (backorder) geçer. İade Et, tamamlanmış belgeden ters yönlü taslak belge açar; Yazdır transfer fişini basar.\nSekmeler: Operasyonlar (ürün satırları; Detaylar ile lot/seri, Lot/Seri Oluştur ve Otomatik Ata), Ek Bilgi (nakliye, sorumlu, proje), Not.\nÜrünün Envanter Takibi kapalıysa stok hareketi oluşmaz; Takip Yöntemi Lot ya da Seri ise Tamamla'dan önce lot dağılımı girilmelidir. Numara operasyon türünün numaratöründen verilir. İlişkili ekranlar: Envanter › Stok, Hareketler ve Ürün Hareketleri.", + "Texts": [ + { + "Key": "App.Inventory.Transfer.Action.Confirm", + "En": "Mark as Ready", + "Tr": "Hazırla" + }, + { + "Key": "App.Inventory.Transfer.Action.Validate", + "En": "Mark as Done", + "Tr": "Tamamla" + }, + { + "Key": "App.Inventory.Transfer.Action.Cancel", + "En": "Cancel", + "Tr": "İptal Et" + }, + { + "Key": "App.Inventory.Transfer.Action.Return", + "En": "Return", + "Tr": "İade Et" + }, + { + "Key": "App.Inventory.Transfer.Action.Print", + "En": "Print", + "Tr": "Yazdır" + }, + { + "Key": "App.Inventory.Transfer.ConfirmAction", + "En": "Apply this action to the selected document?", + "Tr": "Bu işlem seçili belgeye uygulansın mı?" + }, + { + "Key": "App.Inventory.Transfer.Tab.Operations", + "En": "Operations", + "Tr": "Operasyonlar" + }, + { + "Key": "App.Inventory.Transfer.Tab.Other", + "En": "Additional Info", + "Tr": "Ek Bilgi" + }, + { + "Key": "App.Inventory.Transfer.Tab.Note", + "En": "Note", + "Tr": "Not" + }, + { + "Key": "App.Inventory.Widget.Ready", + "En": "Ready", + "Tr": "Hazır" + }, + { + "Key": "App.Inventory.Widget.Waiting", + "En": "Waiting", + "Tr": "Bekleyen" + }, + { + "Key": "App.Inventory.Widget.Late", + "En": "Late", + "Tr": "Geciken" + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "En": "Slip No", + "Tr": "Fiş No" + }, + { + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "En": "Status", + "Tr": "Durum" + }, + { + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "En": "Source Document", + "Tr": "Kaynak Belge" + }, + { + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Receipt.PartnerId", + "En": "Supplier Name", + "Tr": "Tedarikçi Adı" + }, + { + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "En": "Scheduled Date", + "Tr": "Planlanan Tarih" + }, + { + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "En": "Effective Date", + "Tr": "Geçerlilik Tarihi" + }, + { + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "En": "Branch", + "Tr": "Şube" + }, + { + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "En": "Warehouse", + "Tr": "Depo" + }, + { + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "En": "Operation Type", + "Tr": "Operasyon Türü" + }, + { + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "En": "Destination Location", + "Tr": "Hedef Konum" + }, + { + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "En": "Source Location", + "Tr": "Kaynak Konum" + }, + { + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "En": "OperationKind", + "Tr": "OperationKind" + }, + { + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "En": "PendingAction", + "Tr": "PendingAction" + }, + { + "FieldName": "LineSummary", + "CaptionName": "App.Listform.ListformField.LineSummary", + "En": "LineSummary", + "Tr": "LineSummary" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false' AND \"OperationKind\" = 'Receipt'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": "UPDATE \"Inv_T_Transfer\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\" IN @Id", + "DeleteBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND (Status <> 'Draft' OR PurchaseOrderId IS NOT NULL OR BackorderOfId IS NOT NULL OR ReturnOfId IS NOT NULL)) THROW 50321, N'Yalnız elle açılmış taslak belge silinebilir; diğerlerini iptal edin.', 1;", + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": "EXEC Inv_P_TransferAfterSave @Id, @CreatorId", + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND Status = 'Cancelled') THROW 50320, N'İptal edilmiş belge değiştirilemez.', 1;", + "UpdateAfterCommand": "DECLARE @_id uniqueidentifier = (SELECT TOP 1 Id FROM Inv_T_Transfer WHERE Id IN @Id); EXEC Inv_P_TransferAfterSave @_id, @LastModifierId", + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [ + { + "FieldName": "Status", + "FieldDbType": 16, + "Value": "Draft", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "OperationKind", + "FieldDbType": 16, + "Value": "Receipt", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "ScheduledDate", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": "" + }, + { + "FieldName": "BranchId", + "FieldDbType": 9, + "Value": "", + "CustomValueType": 3, + "SqlQuery": "SELECT BranchId FROM Hr_T_Department WHERE Id = (SELECT DepartmentId FROM AbpUsers WHERE Id = '@USERID')" + } + ], + "WidgetsDto": [ + { + "ColGap": 3, + "ColSpan": 3, + "SqlQuery": "SELECT 'App.Widget.Draft' AS \"Title\", CAST(COUNT(*) AS VARCHAR(32)) AS \"Value\", 'gray' AS \"Color\", 'App.Inventory.Receipt' AS \"SubTitle\", 'FaFileAlt' AS \"Icon\" FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Receipt' AND \"Status\" = 'Draft' UNION ALL SELECT 'App.Inventory.Widget.Waiting', CAST(COUNT(*) AS VARCHAR(32)), 'orange', 'App.Inventory.Receipt', 'FaHourglassHalf' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Receipt' AND \"Status\" = 'Waiting' UNION ALL SELECT 'App.Inventory.Widget.Ready', CAST(COUNT(*) AS VARCHAR(32)), 'green', 'App.Inventory.Receipt', 'FaCheckCircle' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Receipt' AND \"Status\" = 'Ready' UNION ALL SELECT 'App.Inventory.Widget.Late', CAST(COUNT(*) AS VARCHAR(32)), 'red', 'App.Inventory.Receipt', 'FaClock' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Receipt' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') AND \"ScheduledDate\" < CURRENT_TIMESTAMP", + "Title": "Title", + "Value": "Value", + "ValueClassName": "text-3xl", + "Color": "Color", + "Icon": "Icon", + "SubTitle": "SubTitle", + "OnClick": "", + "ClassName": "mb-3", + "IsActive": true + } + ], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.Receipt", + "CultureName": "en", + "Name": "App.Inventory.Receipt", + "KeyFieldName": "Id", + "Title": "App.Inventory.Receipt.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.Receipt.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "single", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": true, + "AllowDeleting": true, + "AllowAllDeleting": false, + "AllowAdding": true, + "AllowDuplicate": false, + "OpenDetailAfterInsert": true, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.Receipt.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 560, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 3, + "ColSpan": 3 + } + ], + "PermissionDto": { + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "D": "App.Inventory.Receipt.Delete", + "E": "App.Inventory.Receipt.Export", + "I": "App.Inventory.Receipt.Import", + "N": "App.Inventory.Receipt.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt.Update", + "Text": "App.Inventory.Transfer.Action.Confirm", + "Hint": "App.Inventory.Transfer.Action.Confirm", + "Icon": "box", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: r.Status === 'Draft' ? 'Confirm' : 'Check' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Draft', 'Waiting'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt.Update", + "Text": "App.Inventory.Transfer.Action.Validate", + "Hint": "App.Inventory.Transfer.Action.Validate", + "Icon": "check", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Validate' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Ready'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt.Update", + "Text": "App.Inventory.Transfer.Action.Cancel", + "Hint": "App.Inventory.Transfer.Action.Cancel", + "Icon": "close", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Cancel' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Draft', 'Waiting', 'Ready'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt.Update", + "Text": "App.Inventory.Transfer.Action.Return", + "Hint": "App.Inventory.Transfer.Action.Return", + "Icon": "revert", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'Return' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Done'].includes(e.row.data.Status)" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt", + "Text": "App.Inventory.Transfer.Action.Print", + "Hint": "App.Inventory.Transfer.Action.Print", + "Icon": "print", + "Url": "/admin/reports/DynamicReport/view/f1b66538-1db6-5a7d-8178-32c53bc135ff/App.Inventory.Receipt?recordId=@Id", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing" + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.Receipt", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": true, + "SubFormsListFormType": "Form", + "SubFormsDto": [ + { + "TabType": "List", + "TabTitle": "App.Inventory.Transfer.Tab.Operations", + "Code": "App.Inventory.TransferLine", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "TransferId" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Other", + "Code": "App.Inventory.TransferOther", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + }, + { + "TabType": "Form", + "TabTitle": "App.Inventory.Transfer.Tab.Note", + "Code": "App.Inventory.TransferNote", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "Id" + } + ] + } + ], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Draft\",\"name\":\"App.StaticLookup.Draft\"},{\"key\":\"Waiting\",\"name\":\"App.StaticLookup.Waiting\"},{\"key\":\"Ready\",\"name\":\"App.StaticLookup.Ready\"},{\"key\":\"Done\",\"name\":\"App.StaticLookup.Done\"},{\"key\":\"Cancelled\",\"name\":\"App.StaticLookup.Cancelled\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":128}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Receipt.PartnerId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Contact WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 2, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 7, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": "WarehouseId,OperationTypeId,SourceLocationId,DestinationLocationId", + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 8, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "BranchId", + "CascadeEmptyFields": "OperationTypeId,SourceLocationId,DestinationLocationId", + "LookupQuery": "SELECT Id AS [Key], CONCAT(Code, ' - ', Name) AS [Name], BranchId FROM Inv_T_Warehouse WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' AND (@param0 IS NULL OR BranchId = @param0) ORDER BY Code" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 9, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 11, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name], WarehouseId, SourceLocationId, DestinationLocationId FROM Inv_T_OperationType WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' AND OperationKind = 'Receipt' AND (@param0 IS NULL OR WarehouseId = @param0) ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 10, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": "// @builder {\"v\":1,\"rules\":[{\"id\":\"copy_1\",\"recipe\":\"copy\",\"condition\":{\"operator\":\"always\",\"source\":\"\",\"value\":\"\"},\"params\":{\"source\":\"DestinationLocationId\",\"target\":\"DestinationLocationId\"},\"fields\":[],\"trigger\":\"change\"}]}\ncopy(\"DestinationLocationId\", \"DestinationLocationId\")", + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 12, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": "WarehouseId", + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name], l.WarehouseId FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.IsDeleted = 'false' AND l.IsActive = 1 AND l.TenantId = '@TENANTID' AND (@param0 IS NULL OR l.WarehouseId = @param0) ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 11, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 13, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 14, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Receipt\",\"name\":\"App.StaticLookup.Receipt\"},{\"key\":\"Delivery\",\"name\":\"App.StaticLookup.Delivery\"},{\"key\":\"InternalTransfer\",\"name\":\"App.StaticLookup.InternalTransfer\"},{\"key\":\"Manufacturing\",\"name\":\"App.StaticLookup.Manufacturing\"},{\"key\":\"Repair\",\"name\":\"App.StaticLookup.Repair\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 15, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Receipt", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LineSummary", + "CaptionName": "App.Listform.ListformField.LineSummary", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 16, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Receipt.Create", + "R": "App.Inventory.Receipt", + "U": "App.Inventory.Receipt.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.Receipt", + "App.Inventory.Receipt.Title", + "App.Inventory.Receipt.Desc", + "App.Inventory.Transfer.Action.Confirm", + "App.Inventory.Transfer.Action.Validate", + "App.Inventory.Transfer.Action.Cancel", + "App.Inventory.Transfer.Action.Return", + "App.Inventory.Transfer.Action.Print", + "App.Inventory.Transfer.ConfirmAction", + "App.Inventory.Transfer.Tab.Operations", + "App.Inventory.Transfer.Tab.Other", + "App.Inventory.Transfer.Tab.Note", + "App.Inventory.Widget.Ready", + "App.Inventory.Widget.Waiting", + "App.Inventory.Widget.Late" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.Receipt", + "App.Inventory.Receipt.Create", + "App.Inventory.Receipt.Update", + "App.Inventory.Receipt.Delete", + "App.Inventory.Receipt.Export", + "App.Inventory.Receipt.Import", + "App.Inventory.Receipt.Note" + ], + "MenuCodes": [ + "App.Inventory.Receipt" + ], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_Stock.json b/configs/seeds/wizard/Inventory_Stock.json new file mode 100644 index 00000000..48a161b9 --- /dev/null +++ b/configs/seeds/wizard/Inventory_Stock.json @@ -0,0 +1,2021 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_Stock", + "WizardCode": "App.Inventory.Stock", + "SeededAt": "2026-10-12T22:14:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentCode": "App.Inventory", + "MenuParentIcon": "FcPackage", + "MenuCode": "App.Inventory.Stock", + "MenuOrder": 3, + "MenuUrl": "/admin/list/App.Inventory.Stock", + "MenuIcon": "FcDatabase" + }, + "Language": { + "MenuParentEn": null, + "MenuParentTr": null, + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Stock", + "MenuTr": "Stok", + "TitleEn": "Stock", + "TitleTr": "Stok", + "DescEn": "Stock — on-hand quantity by branch › warehouse › location › product › lot, in the product unit (read only).\nWhere: Inventory › Stock. Only Mark as Done on a transfer changes it: incoming documents add to the destination location, outgoing ones deduct from the source location; external locations (vendors, customers) hold no stock.\nProducts without inventory tracking are not listed; quantity-tracked products have an empty lot. Use the Pivot view for warehouse × product totals. Related: Inventory › Product Moves.", + "DescTr": "Stok — şube › depo › konum › ürün › lot bazında eldeki miktar, ürünün biriminde (salt okunur).\nNerede: Envanter › Stok. Yalnız transferin Tamamla işlemi değiştirir: giriş belgesi hedef konuma ekler, çıkış belgesi kaynak konumdan düşer; dış konumlar (tedarikçi, müşteri) stok tutmaz.\nEnvanter takibi kapalı ürün listelenmez; miktara göre takipli üründe lot boştur. Depo × ürün toplamı için Pivot görünümü kullanılır. İlişkili: Envanter › Ürün Hareketleri.", + "Texts": [ + { + "Key": "App.Inventory.Widget.Products", + "En": "Products in Stock", + "Tr": "Stoktaki Ürün" + }, + { + "Key": "App.Inventory.Widget.Lots", + "En": "Lots in Stock", + "Tr": "Stoktaki Lot" + }, + { + "Key": "App.Inventory.Widget.ZeroStock", + "En": "Zero Stock", + "Tr": "Sıfır Stok" + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "En": "Branch", + "Tr": "Şube" + }, + { + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "En": "Warehouse", + "Tr": "Depo" + }, + { + "FieldName": "LocationId", + "CaptionName": "App.Listform.ListformField.LocationId", + "En": "Location", + "Tr": "Konum" + }, + { + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "En": "Product", + "Tr": "Ürün" + }, + { + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "En": "Lot/Serial Number", + "Tr": "Lot/Seri No" + }, + { + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "En": "Quantity", + "Tr": "Miktar" + }, + { + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "En": "Unit", + "Tr": "Birim" + }, + { + "FieldName": "InDate", + "CaptionName": "App.Listform.ListformField.InDate", + "En": "In Date", + "Tr": "Giriş Tarihi" + }, + { + "FieldName": "LastMoveDate", + "CaptionName": "App.Listform.ListformField.LastMoveDate", + "En": "Last Move", + "Tr": "Son Hareket" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false'", + "SelectCommand": "Inv_T_Stock", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": null, + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [ + { + "ColGap": 3, + "ColSpan": 4, + "SqlQuery": "SELECT 'App.Inventory.Widget.Products' AS \"Title\", CAST(COUNT(DISTINCT \"ProductId\") AS VARCHAR(32)) AS \"Value\", 'blue' AS \"Color\", 'App.Inventory.Stock' AS \"SubTitle\", 'FaBoxes' AS \"Icon\" FROM \"Inv_T_Stock\" WHERE \"TenantId\" = '@TENANTID' AND \"Quantity\" > 0 UNION ALL SELECT 'App.Inventory.Widget.Lots', CAST(COUNT(DISTINCT \"LotNo\") AS VARCHAR(32)), 'purple', 'App.Inventory.Stock', 'FaBarcode' FROM \"Inv_T_Stock\" WHERE \"TenantId\" = '@TENANTID' AND \"Quantity\" > 0 AND \"LotNo\" <> '' UNION ALL SELECT 'App.Inventory.Widget.ZeroStock', CAST(COUNT(*) AS VARCHAR(32)), 'gray', 'App.Inventory.Stock', 'FaBoxOpen' FROM \"Inv_T_Stock\" WHERE \"TenantId\" = '@TENANTID' AND \"Quantity\" = 0", + "Title": "Title", + "Value": "Value", + "ValueClassName": "text-3xl", + "Color": "Color", + "Icon": "Icon", + "SubTitle": "SubTitle", + "OnClick": "", + "ClassName": "mb-3", + "IsActive": true + } + ], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.Stock", + "CultureName": "en", + "Name": "App.Inventory.Stock", + "KeyFieldName": "Id", + "Title": "App.Inventory.Stock.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.Stock.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": false, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.Stock.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 700, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 2, + "ColSpan": 2 + } + ], + "PermissionDto": { + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "D": "App.Inventory.Stock.Delete", + "E": "App.Inventory.Stock.Export", + "I": "App.Inventory.Stock.Import", + "N": "App.Inventory.Stock.Note" + }, + "CommandColumnDto": [], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.Stock", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": true, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], CONCAT(Code, ' - ', Name) AS [Name] FROM Inv_T_Warehouse WHERE TenantId = '@TENANTID' ORDER BY Code" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LocationId", + "CaptionName": "App.Listform.ListformField.LocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT p.Id AS [Key], CONCAT(CASE WHEN p.InternalReference IS NULL OR p.InternalReference = '' THEN '' ELSE CONCAT('[', p.InternalReference, '] ') END, p.Name) AS [Name] FROM Inv_T_Product p WHERE p.TenantId = '@TENANTID'" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": "sum", + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\"}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Uom WHERE IsDeleted = 'false' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "InDate", + "CaptionName": "App.Listform.ListformField.InDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Stock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LastMoveDate", + "CaptionName": "App.Listform.ListformField.LastMoveDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Stock.Create", + "R": "App.Inventory.Stock", + "U": "App.Inventory.Stock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.Stock", + "App.Inventory.Stock.Title", + "App.Inventory.Stock.Desc", + "App.Inventory.Widget.Products", + "App.Inventory.Widget.Lots", + "App.Inventory.Widget.ZeroStock" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.Stock", + "App.Inventory.Stock.Create", + "App.Inventory.Stock.Update", + "App.Inventory.Stock.Delete", + "App.Inventory.Stock.Export", + "App.Inventory.Stock.Import", + "App.Inventory.Stock.Note" + ], + "MenuCodes": [ + "App.Inventory.Stock" + ], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_StockMove.json b/configs/seeds/wizard/Inventory_StockMove.json new file mode 100644 index 00000000..18f19c8e --- /dev/null +++ b/configs/seeds/wizard/Inventory_StockMove.json @@ -0,0 +1,3132 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_StockMove", + "WizardCode": "App.Inventory.StockMove", + "SeededAt": "2026-10-12T22:15:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentCode": "App.Inventory", + "MenuParentIcon": "FcPackage", + "MenuCode": "App.Inventory.StockMove", + "MenuOrder": 5, + "MenuUrl": "/admin/list/App.Inventory.StockMove", + "MenuIcon": "FcTimeline" + }, + "Language": { + "MenuParentEn": null, + "MenuParentTr": null, + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Product Moves", + "MenuTr": "Ürün Hareketleri", + "TitleEn": "Product Moves", + "TitleTr": "Ürün Hareketleri", + "DescEn": "Product Moves — every product line of receipts, deliveries and internal transfers with common columns; one row per lot when the line has a lot distribution (read only).\nWhere: Inventory › Product Moves.\nColumns: date (effective date, scheduled date until done), reference, type, operation type, status, product, lot, demand, quantity (done quantity; lot quantity on lot rows), unit, branch, warehouse, source and destination location, contact, source document.\nThe Open row button opens the document of the move in its own screen (Receipts, Deliveries or Internal Transfers). Only done moves change the stock. Related: Inventory › Stock, Moves and Product Moves (document list).", + "DescTr": "Ürün Hareketleri — alım, teslimat ve iç transferlerin bütün ürün satırları ortak kolonlarla; satırın lot dağılımı varsa lot başına bir satır (salt okunur).\nNerede: Envanter › Ürün Hareketleri.\nKolonlar: tarih (geçerlilik tarihi, yapılana kadar planlanan tarih), fiş no, tür, operasyon türü, durum, ürün, lot, talep, miktar (yapılan; lot satırında lotun miktarı), birim, şube, depo, kaynak ve hedef konum, kontak, kaynak belge.\nSatırdaki Aç butonu hareketin belgesini kendi ekranında (Alımlar, Teslimatlar ya da İç Transferler) açar. Stoğu yalnız tamamlanmış hareketler değiştirir. İlişkili: Envanter › Stok, Hareketler ve Ürün Hareketleri (belge listesi).", + "Texts": [ + { + "Key": "App.Inventory.Widget.DoneToday", + "En": "Done Today", + "Tr": "Bugün Tamamlanan" + }, + { + "Key": "App.Inventory.Widget.DoneReceipts", + "En": "Done Receipt Moves", + "Tr": "Tamamlanan Giriş" + }, + { + "Key": "App.Inventory.Widget.DoneDeliveries", + "En": "Done Delivery Moves", + "Tr": "Tamamlanan Çıkış" + }, + { + "Key": "App.Inventory.Widget.OpenMoves", + "En": "Open Moves", + "Tr": "Açık Hareket" + }, + { + "Key": "App.Inventory.Transfer.Open", + "En": "Open", + "Tr": "Aç" + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "TransferId", + "CaptionName": "App.Listform.ListformField.TransferId", + "En": "TransferId", + "Tr": "TransferId" + }, + { + "FieldName": "MoveDate", + "CaptionName": "App.Listform.ListformField.MoveDate", + "En": "Date", + "Tr": "Tarih" + }, + { + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "En": "Slip No", + "Tr": "Fiş No" + }, + { + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "En": "Type", + "Tr": "Tür" + }, + { + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "En": "Operation Type", + "Tr": "Operasyon Türü" + }, + { + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "En": "Status", + "Tr": "Durum" + }, + { + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "En": "Product", + "Tr": "Ürün" + }, + { + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "En": "Lot/Serial Number", + "Tr": "Lot/Seri No" + }, + { + "FieldName": "DemandQuantity", + "CaptionName": "App.Listform.ListformField.DemandQuantity", + "En": "Demand", + "Tr": "Talep" + }, + { + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "En": "Quantity", + "Tr": "Miktar" + }, + { + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "En": "Unit", + "Tr": "Birim" + }, + { + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "En": "Branch", + "Tr": "Şube" + }, + { + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "En": "Warehouse", + "Tr": "Depo" + }, + { + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "En": "Source Location", + "Tr": "Kaynak Konum" + }, + { + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "En": "Destination Location", + "Tr": "Hedef Konum" + }, + { + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Transfer.PartnerId", + "En": "Contact", + "Tr": "Kontak" + }, + { + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "En": "Source Document", + "Tr": "Kaynak Belge" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "", + "SelectCommand": "Inv_V_StockMove", + "SelectCommandType": 2, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": null, + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [ + { + "ColGap": 3, + "ColSpan": 3, + "SqlQuery": "SELECT 'App.Inventory.Widget.DoneToday' AS \"Title\", CAST(COUNT(*) AS VARCHAR(32)) AS \"Value\", 'green' AS \"Color\", 'App.Inventory.StockMove' AS \"SubTitle\", 'FaCalendarDay' AS \"Icon\" FROM \"Inv_V_StockMove\" WHERE \"TenantId\" = '@TENANTID' AND \"Status\" = 'Done' AND CAST(\"MoveDate\" AS DATE) = CAST(CURRENT_TIMESTAMP AS DATE) UNION ALL SELECT 'App.Inventory.Widget.DoneReceipts', CAST(COUNT(*) AS VARCHAR(32)), 'blue', 'App.Inventory.StockMove', 'FaArrowDown' FROM \"Inv_V_StockMove\" WHERE \"TenantId\" = '@TENANTID' AND \"Status\" = 'Done' AND \"OperationKind\" = 'Receipt' UNION ALL SELECT 'App.Inventory.Widget.DoneDeliveries', CAST(COUNT(*) AS VARCHAR(32)), 'purple', 'App.Inventory.StockMove', 'FaArrowUp' FROM \"Inv_V_StockMove\" WHERE \"TenantId\" = '@TENANTID' AND \"Status\" = 'Done' AND \"OperationKind\" = 'Delivery' UNION ALL SELECT 'App.Inventory.Widget.OpenMoves', CAST(COUNT(*) AS VARCHAR(32)), 'orange', 'App.Inventory.StockMove', 'FaHourglassHalf' FROM \"Inv_V_StockMove\" WHERE \"TenantId\" = '@TENANTID' AND \"Status\" IN ('Draft', 'Waiting', 'Ready')", + "Title": "Title", + "Value": "Value", + "ValueClassName": "text-3xl", + "Color": "Color", + "Icon": "Icon", + "SubTitle": "SubTitle", + "OnClick": "", + "ClassName": "mb-3", + "IsActive": true + } + ], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.StockMove", + "CultureName": "en", + "Name": "App.Inventory.StockMove", + "KeyFieldName": "Id", + "Title": "App.Inventory.StockMove.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.StockMove.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": false, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.StockMove.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 700, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 2, + "ColSpan": 2 + } + ], + "PermissionDto": { + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "D": "App.Inventory.StockMove.Delete", + "E": "App.Inventory.StockMove.Export", + "I": "App.Inventory.StockMove.Import", + "N": "App.Inventory.StockMove.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt", + "Text": "App.Inventory.Transfer.Open", + "Hint": "App.Inventory.Transfer.Open", + "Icon": "export", + "Url": "/admin/form/App.Inventory.Receipt/@TransferId", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => e.row.data.OperationKind === 'Receipt'" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery", + "Text": "App.Inventory.Transfer.Open", + "Hint": "App.Inventory.Transfer.Open", + "Icon": "export", + "Url": "/admin/form/App.Inventory.Delivery/@TransferId", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => e.row.data.OperationKind === 'Delivery'" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer", + "Text": "App.Inventory.Transfer.Open", + "Hint": "App.Inventory.Transfer.Open", + "Icon": "export", + "Url": "/admin/form/App.Inventory.InternalTransfer/@TransferId", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => e.row.data.OperationKind === 'InternalTransfer'" + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.StockMove", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": true, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferId", + "CaptionName": "App.Listform.ListformField.TransferId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "MoveDate", + "CaptionName": "App.Listform.ListformField.MoveDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Receipt\",\"name\":\"App.StaticLookup.Receipt\"},{\"key\":\"Delivery\",\"name\":\"App.StaticLookup.Delivery\"},{\"key\":\"InternalTransfer\",\"name\":\"App.StaticLookup.InternalTransfer\"},{\"key\":\"Manufacturing\",\"name\":\"App.StaticLookup.Manufacturing\"},{\"key\":\"Repair\",\"name\":\"App.StaticLookup.Repair\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Inv_T_OperationType WHERE TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Draft\",\"name\":\"App.StaticLookup.Draft\"},{\"key\":\"Waiting\",\"name\":\"App.StaticLookup.Waiting\"},{\"key\":\"Ready\",\"name\":\"App.StaticLookup.Ready\"},{\"key\":\"Done\",\"name\":\"App.StaticLookup.Done\"},{\"key\":\"Cancelled\",\"name\":\"App.StaticLookup.Cancelled\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT p.Id AS [Key], CONCAT(CASE WHEN p.InternalReference IS NULL OR p.InternalReference = '' THEN '' ELSE CONCAT('[', p.InternalReference, '] ') END, p.Name) AS [Name] FROM Inv_T_Product p WHERE p.TenantId = '@TENANTID'" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DemandQuantity", + "CaptionName": "App.Listform.ListformField.DemandQuantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\"}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 11, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": "sum", + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\"}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 12, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Uom WHERE IsDeleted = 'false' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 13, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 14, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], CONCAT(Code, ' - ', Name) AS [Name] FROM Inv_T_Warehouse WHERE TenantId = '@TENANTID' ORDER BY Code" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 15, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 16, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Transfer.PartnerId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 17, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Contact WHERE TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.StockMove", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 18, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.StockMove.Create", + "R": "App.Inventory.StockMove", + "U": "App.Inventory.StockMove.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": false, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.StockMove", + "App.Inventory.StockMove.Title", + "App.Inventory.StockMove.Desc", + "App.Inventory.Widget.DoneToday", + "App.Inventory.Widget.DoneReceipts", + "App.Inventory.Widget.DoneDeliveries", + "App.Inventory.Widget.OpenMoves", + "App.Inventory.Transfer.Open" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.StockMove", + "App.Inventory.StockMove.Create", + "App.Inventory.StockMove.Update", + "App.Inventory.StockMove.Delete", + "App.Inventory.StockMove.Export", + "App.Inventory.StockMove.Import", + "App.Inventory.StockMove.Note" + ], + "MenuCodes": [ + "App.Inventory.StockMove" + ], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_Transfer.json b/configs/seeds/wizard/Inventory_Transfer.json new file mode 100644 index 00000000..c1383b33 --- /dev/null +++ b/configs/seeds/wizard/Inventory_Transfer.json @@ -0,0 +1,2480 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_Transfer", + "WizardCode": "App.Inventory.Transfer", + "SeededAt": "2026-10-12T22:13:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentCode": "App.Inventory", + "MenuParentIcon": "FcPackage", + "MenuCode": "App.Inventory.Transfer", + "MenuOrder": 4, + "MenuUrl": "/admin/list/App.Inventory.Transfer", + "MenuIcon": "FcList" + }, + "Language": { + "MenuParentEn": null, + "MenuParentTr": null, + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Moves", + "MenuTr": "Hareketler", + "TitleEn": "Moves", + "TitleTr": "Hareketler", + "DescEn": "Moves — receipt, delivery and internal transfer documents in one read-only list.\nWhere: Inventory › Moves.\nColumns: reference, type, operation type, contact, branch, warehouse, source and destination location, scheduled and effective date, source document, status.\nThe Detail row button opens the document read only (header and the product lines on the Operations tab), Note shows its notes and Open opens the document in its own screen (Receipts, Deliveries or Internal Transfers), where it is edited. For product lines: Inventory › Product Moves.", + "DescTr": "Hareketler — alım, teslimat ve iç transfer belgeleri tek, salt okunur listede.\nNerede: Envanter › Hareketler.\nKolonlar: fiş no, tür, operasyon türü, kontak, şube, depo, kaynak ve hedef konum, planlanan ve geçerlilik tarihi, kaynak belge, durum.\nSatırdaki Detay belgeyi salt okunur açar (başlık ve Operasyonlar sekmesinde ürün satırları), Not belgenin notlarını gösterir, Aç belgeyi kendi ekranında (Alımlar, Teslimatlar ya da İç Transferler) açar; düzenleme orada yapılır. Ürün bazında satırlar için: Envanter › Ürün Hareketleri.", + "Texts": [ + { + "Key": "App.Inventory.Widget.OpenReceipts", + "En": "Open Receipts", + "Tr": "Açık Alım" + }, + { + "Key": "App.Inventory.Widget.OpenDeliveries", + "En": "Open Deliveries", + "Tr": "Açık Teslimat" + }, + { + "Key": "App.Inventory.Widget.OpenInternal", + "En": "Open Internal Transfers", + "Tr": "Açık İç Transfer" + }, + { + "Key": "App.Inventory.Widget.Late", + "En": "Late", + "Tr": "Geciken" + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "En": "Slip No", + "Tr": "Fiş No" + }, + { + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "En": "Type", + "Tr": "Tür" + }, + { + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "En": "Operation Type", + "Tr": "Operasyon Türü" + }, + { + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Transfer.PartnerId", + "En": "Contact", + "Tr": "Kontak" + }, + { + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "En": "Branch", + "Tr": "Şube" + }, + { + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "En": "Warehouse", + "Tr": "Depo" + }, + { + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "En": "Source Location", + "Tr": "Kaynak Konum" + }, + { + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "En": "Destination Location", + "Tr": "Hedef Konum" + }, + { + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "En": "Scheduled Date", + "Tr": "Planlanan Tarih" + }, + { + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "En": "Effective Date", + "Tr": "Geçerlilik Tarihi" + }, + { + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "En": "Source Document", + "Tr": "Kaynak Belge" + }, + { + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "En": "Status", + "Tr": "Durum" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": null, + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [ + { + "ColGap": 3, + "ColSpan": 3, + "SqlQuery": "SELECT 'App.Inventory.Widget.OpenReceipts' AS \"Title\", CAST(COUNT(*) AS VARCHAR(32)) AS \"Value\", 'blue' AS \"Color\", 'App.Inventory.Transfer' AS \"SubTitle\", 'FaTruckLoading' AS \"Icon\" FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Receipt' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') UNION ALL SELECT 'App.Inventory.Widget.OpenDeliveries', CAST(COUNT(*) AS VARCHAR(32)), 'purple', 'App.Inventory.Transfer', 'FaShippingFast' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'Delivery' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') UNION ALL SELECT 'App.Inventory.Widget.OpenInternal', CAST(COUNT(*) AS VARCHAR(32)), 'yellow', 'App.Inventory.Transfer', 'FaExchangeAlt' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"OperationKind\" = 'InternalTransfer' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') UNION ALL SELECT 'App.Inventory.Widget.Late', CAST(COUNT(*) AS VARCHAR(32)), 'red', 'App.Inventory.Transfer', 'FaClock' FROM \"Inv_T_Transfer\" WHERE \"TenantId\" = '@TENANTID' AND \"Status\" IN ('Draft', 'Waiting', 'Ready') AND \"ScheduledDate\" < CURRENT_TIMESTAMP", + "Title": "Title", + "Value": "Value", + "ValueClassName": "text-3xl", + "Color": "Color", + "Icon": "Icon", + "SubTitle": "SubTitle", + "OnClick": "", + "ClassName": "mb-3", + "IsActive": true + } + ], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.Transfer", + "CultureName": "en", + "Name": "App.Inventory.Transfer", + "KeyFieldName": "Id", + "Title": "App.Inventory.Transfer.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.Transfer.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": false, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.Transfer.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 700, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 3, + "ColSpan": 3 + } + ], + "PermissionDto": { + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "D": "App.Inventory.Transfer.Delete", + "E": "App.Inventory.Transfer.Export", + "I": "App.Inventory.Transfer.Import", + "N": "App.Inventory.Transfer.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Receipt", + "Text": "App.Inventory.Transfer.Open", + "Hint": "App.Inventory.Transfer.Open", + "Icon": "export", + "Url": "/admin/form/App.Inventory.Receipt/@Id", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => e.row.data.OperationKind === 'Receipt'" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.Delivery", + "Text": "App.Inventory.Transfer.Open", + "Hint": "App.Inventory.Transfer.Open", + "Icon": "export", + "Url": "/admin/form/App.Inventory.Delivery/@Id", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => e.row.data.OperationKind === 'Delivery'" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.InternalTransfer", + "Text": "App.Inventory.Transfer.Open", + "Hint": "App.Inventory.Transfer.Open", + "Icon": "export", + "Url": "/admin/form/App.Inventory.InternalTransfer/@Id", + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": null, + "IsVisible": true, + "VisibleExpression": "(e) => e.row.data.OperationKind === 'InternalTransfer'" + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.Transfer", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": true, + "SubFormsListFormType": "Form", + "SubFormsDto": [ + { + "TabType": "List", + "TabTitle": "App.Inventory.Transfer.Tab.Operations", + "Code": "App.Inventory.TransferLine", + "IsRefresh": false, + "Relation": [ + { + "ParentFieldName": "Id", + "DbType": 9, + "ChildFieldName": "TransferId" + } + ] + } + ], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferNo", + "CaptionName": "App.Listform.ListformField.TransferNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationKind", + "CaptionName": "App.Listform.ListformField.OperationKind", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Receipt\",\"name\":\"App.StaticLookup.Receipt\"},{\"key\":\"Delivery\",\"name\":\"App.StaticLookup.Delivery\"},{\"key\":\"InternalTransfer\",\"name\":\"App.StaticLookup.InternalTransfer\"},{\"key\":\"Manufacturing\",\"name\":\"App.StaticLookup.Manufacturing\"},{\"key\":\"Repair\",\"name\":\"App.StaticLookup.Repair\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OperationTypeId", + "CaptionName": "App.Listform.ListformField.OperationTypeId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Inv_T_OperationType WHERE TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PartnerId", + "CaptionName": "App.Inventory.Transfer.PartnerId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Contact WHERE TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BranchId", + "CaptionName": "App.Listform.ListformField.BranchId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND IsActive = 1 ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "WarehouseId", + "CaptionName": "App.Listform.ListformField.WarehouseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], CONCAT(Code, ' - ', Name) AS [Name] FROM Inv_T_Warehouse WHERE TenantId = '@TENANTID' ORDER BY Code" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 6, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceLocationId", + "CaptionName": "App.Listform.ListformField.SourceLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 7, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DestinationLocationId", + "CaptionName": "App.Listform.ListformField.DestinationLocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 8, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ScheduledDate", + "CaptionName": "App.Listform.ListformField.ScheduledDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 9, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "EffectiveDate", + "CaptionName": "App.Listform.ListformField.EffectiveDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 11, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 10, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SourceDocument", + "CaptionName": "App.Listform.ListformField.SourceDocument", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 12, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 11, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.Transfer", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Status", + "CaptionName": "App.Listform.ListformField.Status", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 13, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 1, + "ValueExpr": "key", + "DisplayExpr": "name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "[{\"key\":\"Draft\",\"name\":\"App.StaticLookup.Draft\"},{\"key\":\"Waiting\",\"name\":\"App.StaticLookup.Waiting\"},{\"key\":\"Ready\",\"name\":\"App.StaticLookup.Ready\"},{\"key\":\"Done\",\"name\":\"App.StaticLookup.Done\"},{\"key\":\"Cancelled\",\"name\":\"App.StaticLookup.Cancelled\"}]" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.Transfer.Create", + "R": "App.Inventory.Transfer", + "U": "App.Inventory.Transfer.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 12, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.Transfer", + "App.Inventory.Transfer.Title", + "App.Inventory.Transfer.Desc", + "App.Inventory.Widget.OpenReceipts", + "App.Inventory.Widget.OpenDeliveries", + "App.Inventory.Widget.OpenInternal", + "App.Inventory.Widget.Late" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.Transfer", + "App.Inventory.Transfer.Create", + "App.Inventory.Transfer.Update", + "App.Inventory.Transfer.Delete", + "App.Inventory.Transfer.Export", + "App.Inventory.Transfer.Import", + "App.Inventory.Transfer.Note" + ], + "MenuCodes": [ + "App.Inventory.Transfer" + ], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferApproval.json b/configs/seeds/wizard/Inventory_TransferApproval.json new file mode 100644 index 00000000..0919ed0c --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferApproval.json @@ -0,0 +1,1597 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferApproval", + "WizardCode": "App.Inventory.TransferApproval", + "SeededAt": "2026-10-12T22:04:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferApproval", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferApproval", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Approval & Delivery", + "MenuTr": "Onay ve Teslim", + "TitleEn": "Approval & Delivery", + "TitleTr": "Onay ve Teslim", + "DescEn": "Approval & Delivery — source warehouse approval and receipt of an internal transfer (Approval & Delivery tab of Internal Transfers; read only).\nFields: source warehouse approval (No Approval Needed when the source location has no responsible), approval user / date / description (written by the workflow), received by and receipt date (written by Mark as Done).", + "DescTr": "Onay ve Teslim — iç transferin kaynak depo onayı ve teslimi (İç Transferler'in Onay ve Teslim sekmesi; salt okunur).\nAlanlar: kaynak depo onayı (kaynak konumun sorumlusu yoksa Onay Gerekmez), onaylayan / onay tarihi / açıklaması (iş akışı yazar), teslim alan ve teslim alma tarihi (Tamamla yazar)." + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "ApprovalStatus", + "CaptionName": "App.Inventory.TransferApproval.ApprovalStatus", + "En": "Source Warehouse Approval", + "Tr": "Kaynak Depo Onayı" + }, + { + "FieldName": "ReceivedByUserId", + "CaptionName": "App.Listform.ListformField.ReceivedByUserId", + "En": "Received By", + "Tr": "Teslim Alan" + }, + { + "FieldName": "ApprovalUserName", + "CaptionName": "App.Listform.ListformField.ApprovalUserName", + "En": "Approval User", + "Tr": "Onaylayan" + }, + { + "FieldName": "ReceivedDate", + "CaptionName": "App.Listform.ListformField.ReceivedDate", + "En": "Receipt Date", + "Tr": "Teslim Alma Tarihi" + }, + { + "FieldName": "ApprovalDate", + "CaptionName": "App.Listform.ListformField.ApprovalDate", + "En": "Approval Date", + "Tr": "Onay Tarihi" + }, + { + "FieldName": "ApprovalDescription", + "CaptionName": "App.Listform.ListformField.ApprovalDescription", + "En": "Approval Description", + "Tr": "Onay Açıklaması" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND Status = 'Cancelled') THROW 50320, N'İptal edilmiş belge değiştirilemez.', 1;", + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferApproval", + "CultureName": "en", + "Name": "App.Inventory.TransferApproval", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferApproval.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferApproval.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferApproval.Title", + "ShowTitle": true, + "Width": 800, + "Height": 320, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 2, + "ColSpan": 2 + } + ], + "PermissionDto": { + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "D": "App.Inventory.TransferApproval.Delete", + "E": "App.Inventory.TransferApproval.Export", + "I": "App.Inventory.TransferApproval.Import", + "N": "App.Inventory.TransferApproval.Note" + }, + "CommandColumnDto": [], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferApproval", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalStatus", + "CaptionName": "App.Inventory.TransferApproval.ApprovalStatus", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ReceivedByUserId", + "CaptionName": "App.Listform.ListformField.ReceivedByUserId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], CONCAT(Name, ' ', Surname) AS [Name] FROM AbpUsers WHERE TenantId = '@TENANTID' ORDER BY Name, Surname" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalUserName", + "CaptionName": "App.Listform.ListformField.ApprovalUserName", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ReceivedDate", + "CaptionName": "App.Listform.ListformField.ReceivedDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalDate", + "CaptionName": "App.Listform.ListformField.ApprovalDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"datetime\",\"displayFormat\":\"dd.MM.yyyy HH:mm\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferApproval", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ApprovalDescription", + "CaptionName": "App.Listform.ListformField.ApprovalDescription", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferApproval.Create", + "R": "App.Inventory.TransferApproval", + "U": "App.Inventory.TransferApproval.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 6, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferApproval", + "App.Inventory.TransferApproval.Title", + "App.Inventory.TransferApproval.Desc" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferApproval", + "App.Inventory.TransferApproval.Create", + "App.Inventory.TransferApproval.Update", + "App.Inventory.TransferApproval.Delete", + "App.Inventory.TransferApproval.Export", + "App.Inventory.TransferApproval.Import", + "App.Inventory.TransferApproval.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferImportItem.json b/configs/seeds/wizard/Inventory_TransferImportItem.json new file mode 100644 index 00000000..890b1a7f --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferImportItem.json @@ -0,0 +1,1973 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferImportItem", + "WizardCode": "App.Inventory.TransferImportItem", + "SeededAt": "2026-10-12T22:05:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferImportItem", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferImportItem", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Transfer Request Lines", + "MenuTr": "Transfer Talep Kalemleri", + "TitleEn": "Transfer Request Lines", + "TitleTr": "Transfer Talep Kalemleri", + "DescEn": "Transfer Request Lines — approved material request lines to be fulfilled by transfer, opened with Import from Requests of a draft internal transfer.\nOnly waiting lines of requests in the document branch that are not in another open transfer are listed; quantity is the remaining (requested − delivered) quantity.\nSelect lines and click Transfer Selected; the destination location of the transfer is taken from the request when empty.", + "DescTr": "Transfer Talep Kalemleri — transferle karşılanacak onaylı malzeme talebi kalemleri; taslak iç transferin Talepten Aktar butonuyla açılır.\nYalnız belgenin şubesindeki, başka açık transferde olmayan bekleyen kalemler listelenir; miktar kalan (talep − teslim) miktardır.\nSatırlar seçilip Seçilenleri Aktar'a basılır; transferin hedef konumu boşsa talebin konumu yazılır." + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "BaseId", + "CaptionName": "App.Listform.ListformField.BaseId", + "En": "BaseId", + "Tr": "BaseId" + }, + { + "FieldName": "RequestNo", + "CaptionName": "App.Listform.ListformField.RequestNo", + "En": "Request No", + "Tr": "Talep No" + }, + { + "FieldName": "RequesterUserId", + "CaptionName": "App.Listform.ListformField.RequesterUserId", + "En": "Requester", + "Tr": "Talep Eden" + }, + { + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "En": "Product", + "Tr": "Ürün" + }, + { + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "En": "Quantity", + "Tr": "Miktar" + }, + { + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "En": "Unit", + "Tr": "Birim" + }, + { + "FieldName": "LocationId", + "CaptionName": "App.Listform.ListformField.LocationId", + "En": "Location", + "Tr": "Konum" + }, + { + "FieldName": "DueDate", + "CaptionName": "App.Listform.ListformField.DueDate", + "En": "Due Date", + "Tr": "İstenen Tarih" + }, + { + "FieldName": "RequestReason", + "CaptionName": "App.Listform.ListformField.RequestReason", + "En": "Reason", + "Tr": "Neden" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 16, + "TableName": null, + "DefaultFilter": "", + "SelectCommand": "Prc_V_MaterialRequestTransferItem", + "SelectCommandType": 2, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "Id", + "FieldDbType": 16, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": "EXEC Inv_P_TransferImportItem @Id", + "UpdateBeforeCommand": null, + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "Id", + "FieldDbType": 16, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": "" + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferImportItem", + "CultureName": "en", + "Name": "App.Inventory.TransferImportItem", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferImportItem.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferImportItem.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "multiple", + "AllowSelectAll": true, + "SelectAllMode": "page", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "batch", + "RefreshMode": "full", + "AllowUpdating": false, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferImportItem.Title", + "ShowTitle": true, + "Width": 1000, + "Height": 700, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 2, + "ColSpan": 2 + } + ], + "PermissionDto": { + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "D": "App.Inventory.TransferImportItem.Delete", + "E": "App.Inventory.TransferImportItem.Export", + "I": "App.Inventory.TransferImportItem.Import", + "N": "App.Inventory.TransferImportItem.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 1, + "AuthName": "App.Inventory.TransferImportItem.Update", + "Text": "App.Prc.PurchaseImportItem.TransferSelected", + "Hint": "App.Prc.PurchaseImportItem.TransferSelected", + "Icon": "download", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const rows = getSelectedRowsData(); if (!rows.length) return; for (const r of rows) { await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: {} }); } const c = dialog.config; if (c && c.component) { dialog.setConfig({}); if (c.onClose) c.onClose(); } else refreshData(); })().catch(() => refreshData())", + "IsVisible": true, + "VisibleExpression": null + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferImportItem", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BaseId", + "CaptionName": "App.Listform.ListformField.BaseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "RequestNo", + "CaptionName": "App.Listform.ListformField.RequestNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "RequesterUserId", + "CaptionName": "App.Listform.ListformField.RequesterUserId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], CONCAT(Name, ' ', Surname) AS [Name] FROM AbpUsers WHERE TenantId = '@TENANTID' ORDER BY Name, Surname" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT p.Id AS [Key], CONCAT(CASE WHEN p.InternalReference IS NULL OR p.InternalReference = '' THEN '' ELSE CONCAT('[', p.InternalReference, '] ') END, p.Name) AS [Name] FROM Inv_T_Product p WHERE p.TenantId = '@TENANTID'" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 2, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\"}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Uom WHERE IsDeleted = 'false' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LocationId", + "CaptionName": "App.Listform.ListformField.LocationId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT l.Id AS [Key], CONCAT(w.Code, '/', l.Name) AS [Name] FROM Inv_T_Location l INNER JOIN Inv_T_Warehouse w ON w.Id = l.WarehouseId WHERE l.TenantId = '@TENANTID' ORDER BY w.Code, l.Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DueDate", + "CaptionName": "App.Listform.ListformField.DueDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"type\":\"date\",\"displayFormat\":\"dd.MM.yyyy\",\"useMaskBehavior\":true,\"showClearButton\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferImportItem", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "RequestReason", + "CaptionName": "App.Listform.ListformField.RequestReason", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferImportItem.Create", + "R": "App.Inventory.TransferImportItem", + "U": "App.Inventory.TransferImportItem.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 2, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":256}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": false, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferImportItem", + "App.Inventory.TransferImportItem.Title", + "App.Inventory.TransferImportItem.Desc" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferImportItem", + "App.Inventory.TransferImportItem.Create", + "App.Inventory.TransferImportItem.Update", + "App.Inventory.TransferImportItem.Delete", + "App.Inventory.TransferImportItem.Export", + "App.Inventory.TransferImportItem.Import", + "App.Inventory.TransferImportItem.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferLine.json b/configs/seeds/wizard/Inventory_TransferLine.json new file mode 100644 index 00000000..dad2c997 --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferLine.json @@ -0,0 +1,2515 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferLine", + "WizardCode": "App.Inventory.TransferLine", + "SeededAt": "2026-10-12T22:01:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferLine", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferLine", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Transfer Lines", + "MenuTr": "Transfer Satırları", + "TitleEn": "Transfer Lines", + "TitleTr": "Transfer Satırları", + "DescEn": "Transfer Lines — product lines of receipts, deliveries and internal transfers.\nWhere: Operations tab of Inventory › Operations › Receipts, Deliveries and Internal Transfers.\nFields: product (unit comes from the product), description, demand, done quantity (filled by Mark as Ready, editable before Mark as Done), unit.\nRow buttons — shown only on lines of lot/serial tracked products: Details opens the lot/serial distribution (incoming lines type new numbers, outgoing lines select from the stock of the source location); Generate Lot/Serial (incoming lines of lot/serial tracked products, from the Inventory.LotNumber / Inventory.SerialNumber sequences) and Auto Assign (outgoing lines, first-in first-out from the source location). On lot/serial tracked lines the done quantity follows the total of the entered lots, and the Lots column lists them. Lines of done or cancelled documents cannot be changed.", + "DescTr": "Transfer Satırları — alım, teslimat ve iç transferlerin ürün satırları.\nNerede: Envanter › Operasyonlar › Alımlar, Teslimatlar ve İç Transferler ekranlarının Operasyonlar sekmesi.\nAlanlar: ürün (birim üründen gelir), açıklama, talep, yapılan miktar (Hazırla doldurur, Tamamla'dan önce değiştirilebilir), birim.\nSatır butonları — yalnız lot/seri takipli ürünün satırında görünür: Detaylar lot/seri dağılımını açar (giren satırda numara yazılır, çıkan satırda kaynak konumun stoğundan seçilir); Lot/Seri Oluştur (lot/seri takipli ürünün giriş satırı; Inventory.LotNumber / Inventory.SerialNumber numaratöründen) ve Otomatik Ata (çıkış satırı; kaynak konumdan ilk giren ilk çıkar). Lot/seri takipli satırda yapılan miktar girilen lotların toplamını izler; Lotlar kolonu seçilen lotları listeler. Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.", + "Texts": [ + { + "Key": "App.Inventory.TransferLine.GenerateLots", + "En": "Generate Lot/Serial", + "Tr": "Lot/Seri Oluştur" + }, + { + "Key": "App.Inventory.TransferLine.AssignLots", + "En": "Auto Assign Lots", + "Tr": "Otomatik Ata" + }, + { + "Key": "App.Inventory.TransferLine.Details", + "En": "Details", + "Tr": "Detaylar" + }, + { + "Key": "App.Inventory.TransferLineLot.Info", + "En": "Incoming goods: type the lot/serial numbers or use Generate Lot/Serial on the line. Outgoing goods: choose from the lots in the source location or use Auto Assign. The total must equal the done quantity.", + "Tr": "Girişte lot/seri numaraları yazılır ya da satırda Lot/Seri Oluştur kullanılır. Çıkışta kaynak konumdaki lotlardan seçilir ya da Otomatik Ata kullanılır. Toplam, yapılan miktara eşit olmalıdır." + } + ] + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "TransferId", + "CaptionName": "App.Listform.ListformField.TransferId", + "En": "TransferId", + "Tr": "TransferId" + }, + { + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "En": "Product", + "Tr": "Ürün" + }, + { + "FieldName": "DemandQuantity", + "CaptionName": "App.Listform.ListformField.DemandQuantity", + "En": "Demand", + "Tr": "Talep" + }, + { + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "En": "Quantity", + "Tr": "Miktar" + }, + { + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "En": "Unit", + "Tr": "Birim" + }, + { + "FieldName": "Description", + "CaptionName": "App.Listform.ListformField.Description", + "En": "Description", + "Tr": "Açıklama" + }, + { + "FieldName": "LotNumbers", + "CaptionName": "App.Listform.ListformField.LotNumbers", + "En": "Lots", + "Tr": "Lotlar" + }, + { + "FieldName": "PurchaseOrderLineId", + "CaptionName": "App.Listform.ListformField.PurchaseOrderLineId", + "En": "PurchaseOrderLineId", + "Tr": "PurchaseOrderLineId" + }, + { + "FieldName": "MaterialRequestItemId", + "CaptionName": "App.Listform.ListformField.MaterialRequestItemId", + "En": "MaterialRequestItemId", + "Tr": "MaterialRequestItemId" + }, + { + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "En": "PendingAction", + "Tr": "PendingAction" + }, + { + "FieldName": "TrackingMethod", + "CaptionName": "App.Listform.ListformField.TrackingMethod", + "En": "Tracking Method", + "Tr": "Takip Yöntemi" + }, + { + "FieldName": "LotFromStock", + "CaptionName": "App.Listform.ListformField.LotFromStock", + "En": "Lot from Stock", + "Tr": "Lot Stoktan" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false'", + "SelectCommand": "Inv_T_TransferLine", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": "UPDATE \"Inv_T_TransferLine\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\" IN @Id", + "DeleteBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_TransferLine l INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId WHERE l.Id IN @Id AND t.Status IN ('Done', 'Cancelled')) THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1;", + "DeleteAfterCommand": "DECLARE @_doc uniqueidentifier = (SELECT TOP 1 TransferId FROM Inv_T_TransferLine WHERE Id IN @Id); EXEC Inv_P_TransferRecalc @_doc", + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id = @TransferId AND Status IN ('Done', 'Cancelled')) THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1;", + "InsertAfterCommand": "EXEC Inv_P_TransferRecalc @TransferId", + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_TransferLine l INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId WHERE l.Id IN @Id AND t.Status IN ('Done', 'Cancelled')) THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1;", + "UpdateAfterCommand": "DECLARE @_id uniqueidentifier = (SELECT TOP 1 Id FROM Inv_T_TransferLine WHERE Id IN @Id); EXEC Inv_P_TransferLineAfterSave @_id, @LastModifierId", + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [ + { + "FieldName": "DemandQuantity", + "FieldDbType": 7, + "Value": "1", + "CustomValueType": 1, + "SqlQuery": "" + }, + { + "FieldName": "UomId", + "FieldDbType": 16, + "Value": "Adet", + "CustomValueType": 1, + "SqlQuery": "" + } + ], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferLine", + "CultureName": "en", + "Name": "App.Inventory.TransferLine", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferLine.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferLine.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "single", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": false, + "AllowDeleting": true, + "AllowAllDeleting": false, + "AllowAdding": true, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferLine.Title", + "ShowTitle": true, + "Width": 800, + "Height": 420, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 3, + "ColSpan": 3 + } + ], + "PermissionDto": { + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "D": "App.Inventory.TransferLine.Delete", + "E": "App.Inventory.TransferLine.Export", + "I": "App.Inventory.TransferLine.Import", + "N": "App.Inventory.TransferLine.Note" + }, + "CommandColumnDto": [ + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.TransferLine.Update", + "Text": "App.Inventory.TransferLine.GenerateLots", + "Hint": "App.Inventory.TransferLine.GenerateLots", + "Icon": "", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'GenerateLots' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Lot', 'Serial'].includes(e.row.data.TrackingMethod) && !e.row.data.LotFromStock" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.TransferLine.Update", + "Text": "App.Inventory.TransferLine.AssignLots", + "Hint": "App.Inventory.TransferLine.AssignLots", + "Icon": "", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(async () => { const r = e.row.data; if (!window.confirm(translate('::App.Inventory.Transfer.ConfirmAction'))) return; await dynamicFetch('list-form-data/update', 'POST', null, { listFormCode, keys: [r.Id], data: { PendingAction: 'AssignLots' } }); e.component.refresh(); })().catch(() => {})", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Lot', 'Serial'].includes(e.row.data.TrackingMethod) && !!e.row.data.LotFromStock" + }, + { + "ButtonPosition": 0, + "AuthName": "App.Inventory.TransferLineLot", + "Text": "App.Inventory.TransferLine.Details", + "Hint": "App.Inventory.TransferLine.Details", + "Icon": "", + "Url": null, + "UrlTarget": "_blank", + "DialogName": null, + "DialogParameters": null, + "OnClick": "(() => { const r = (e && e.row && e.row.data); if (!r) return; const code = r.LotFromStock ? 'App.Inventory.TransferLineLotStock' : 'App.Inventory.TransferLineLot'; dialog.setConfig({ component: 'PurchaseDocGrid', props: { docId: r.Id, listFormCode: code, title: code + '.Title', info: code + '.Info' }, onClose: () => e.component.refresh() }); })()", + "IsVisible": true, + "VisibleExpression": "(e) => !!e.row && !e.row.isEditing && ['Lot', 'Serial'].includes(e.row.data.TrackingMethod)" + } + ], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferLine", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TransferId", + "CaptionName": "App.Listform.ListformField.TransferId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ProductId", + "CaptionName": "App.Listform.ListformField.ProductId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT p.Id AS [Key], CONCAT(CASE WHEN p.InternalReference IS NULL OR p.InternalReference = '' THEN '' ELSE CONCAT('[', p.InternalReference, '] ') END, p.Name) AS [Name], p.UomId AS UomId FROM Inv_T_Product p WHERE p.IsDeleted = 'false' AND p.IsActive = 1 AND p.ProductType = 'Wares' AND p.TenantId = '@TENANTID' ORDER BY p.Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 3, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": "// @builder {\"v\":1,\"rules\":[{\"id\":\"copy_1\",\"recipe\":\"copy\",\"condition\":{\"operator\":\"always\",\"source\":\"\",\"value\":\"\"},\"params\":{\"source\":\"UomId\",\"target\":\"UomId\"},\"fields\":[],\"trigger\":\"change\"}]}\ncopy(\"UomId\", \"UomId\")", + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "DemandQuantity", + "CaptionName": "App.Listform.ListformField.DemandQuantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": "sum", + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\",\"min\":0,\"showSpinButtons\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": "sum", + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\",\"min\":0,\"showSpinButtons\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Uom WHERE IsDeleted = 'false' ORDER BY Name" + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Description", + "CaptionName": "App.Listform.ListformField.Description", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextArea", + "ColSpan": 3, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":512}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LotNumbers", + "CaptionName": "App.Listform.ListformField.LotNumbers", + "PlaceHolder": null, + "ReadOnly": true, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 3, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PurchaseOrderLineId", + "CaptionName": "App.Listform.ListformField.PurchaseOrderLineId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 9, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "MaterialRequestItemId", + "CaptionName": "App.Listform.ListformField.MaterialRequestItemId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 10, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "PendingAction", + "CaptionName": "App.Listform.ListformField.PendingAction", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 11, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TrackingMethod", + "CaptionName": "App.Listform.ListformField.TrackingMethod", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 12, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LotFromStock", + "CaptionName": "App.Listform.ListformField.LotFromStock", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 13, + "SourceDbType": 3, + "CultureName": "en", + "DataType": "boolean", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLine.Create", + "R": "App.Inventory.TransferLine", + "U": "App.Inventory.TransferLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxCheckBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferLine", + "App.Inventory.TransferLine.Title", + "App.Inventory.TransferLine.Desc", + "App.Inventory.TransferLine.GenerateLots", + "App.Inventory.TransferLine.AssignLots", + "App.Inventory.TransferLine.Details", + "App.Inventory.TransferLineLot.Info" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferLine", + "App.Inventory.TransferLine.Create", + "App.Inventory.TransferLine.Update", + "App.Inventory.TransferLine.Delete", + "App.Inventory.TransferLine.Export", + "App.Inventory.TransferLine.Import", + "App.Inventory.TransferLine.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferLineLot.json b/configs/seeds/wizard/Inventory_TransferLineLot.json new file mode 100644 index 00000000..530911de --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferLineLot.json @@ -0,0 +1,1237 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferLineLot", + "WizardCode": "App.Inventory.TransferLineLot", + "SeededAt": "2026-10-12T22:00:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferLineLot", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferLineLot", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Lot/Serial Numbers", + "MenuTr": "Lot/Seri Numaraları", + "TitleEn": "Lot/Serial Numbers", + "TitleTr": "Lot/Seri Numaraları", + "DescEn": "Lot/Serial Numbers — lot or serial numbers of an incoming line (receipt, return of a delivery), opened with the Details button of the line.\nFields: lot/serial number (a new number is typed; or use Generate Lot/Serial on the line), quantity in the line unit.\nThe total must equal the done quantity of the line before Mark as Done; a serial-tracked product needs one row of 1 per serial. Outgoing lines open Lots from Stock instead. Lots of done or cancelled documents cannot be changed.", + "DescTr": "Lot/Seri Numaraları — stoğa giren satırın (alım, teslimat iadesi) lot ya da seri numaraları; satırdaki Detaylar butonuyla açılır.\nAlanlar: lot/seri no (yeni numara yazılır ya da satırda Lot/Seri Oluştur kullanılır), miktar (satırın biriminde).\nTamamla'dan önce toplam satırın yapılan miktarına eşit olmalıdır; seri takipli üründe her seri 1 adetlik ayrı satırdır. Stoktan çıkan satır bunun yerine Stoktan Lot Seçimi'ni açar. Tamamlanmış ya da iptal edilmiş belgenin lotları değiştirilemez." + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "BaseId", + "CaptionName": "App.Listform.ListformField.BaseId", + "En": "BaseId", + "Tr": "BaseId" + }, + { + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "En": "Lot/Serial Number", + "Tr": "Lot/Seri No" + }, + { + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "En": "Quantity", + "Tr": "Miktar" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "", + "SelectCommand": "Inv_V_TransferLineLot", + "SelectCommandType": 2, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": "UPDATE \"Inv_T_TransferLineLot\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\" IN @Id", + "DeleteBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_TransferLineLot z INNER JOIN Inv_T_TransferLine l ON l.Id = z.TransferLineId INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId WHERE z.Id IN @Id AND t.Status IN ('Done', 'Cancelled')) THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1;", + "DeleteAfterCommand": "DECLARE @_doc uniqueidentifier = (SELECT TOP 1 l.TransferId FROM Inv_T_TransferLineLot z INNER JOIN Inv_T_TransferLine l ON l.Id = z.TransferLineId WHERE z.Id IN @Id); EXEC Inv_P_TransferRecalc @_doc", + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": "INSERT INTO \"Inv_T_TransferLineLot\" (\"Id\", \"TenantId\", \"TransferLineId\", \"LotNo\", \"Quantity\", \"CreationTime\", \"CreatorId\", \"IsDeleted\") VALUES (@Id, @TenantId, @BaseId, @LotNo, @Quantity, @CreationTime, @CreatorId, @IsDeleted)", + "InsertBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_TransferLine l INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId WHERE l.Id = @BaseId AND t.Status IN ('Done', 'Cancelled')) THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1;", + "InsertAfterCommand": "DECLARE @_doc uniqueidentifier = (SELECT TransferId FROM Inv_T_TransferLine WHERE Id = @BaseId); EXEC Inv_P_TransferRecalc @_doc", + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": "UPDATE \"Inv_T_TransferLineLot\" SET \"LotNo\" = @LotNo, \"Quantity\" = @Quantity, \"LastModificationTime\" = @LastModificationTime, \"LastModifierId\" = @LastModifierId WHERE \"Id\" IN @Id AND \"TenantId\" IS NOT DISTINCT FROM @TenantId", + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_TransferLineLot z INNER JOIN Inv_T_TransferLine l ON l.Id = z.TransferLineId INNER JOIN Inv_T_Transfer t ON t.Id = l.TransferId WHERE z.Id IN @Id AND t.Status IN ('Done', 'Cancelled')) THROW 50313, N'Tamamlanmış ya da iptal edilmiş belgenin satırı değiştirilemez.', 1;", + "UpdateAfterCommand": "DECLARE @_doc uniqueidentifier = (SELECT TOP 1 l.TransferId FROM Inv_T_TransferLineLot z INNER JOIN Inv_T_TransferLine l ON l.Id = z.TransferLineId WHERE z.Id IN @Id); EXEC Inv_P_TransferRecalc @_doc", + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [ + { + "FieldName": "Quantity", + "FieldDbType": 7, + "Value": "1", + "CustomValueType": 1, + "SqlQuery": "" + } + ], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferLineLot", + "CultureName": "en", + "Name": "App.Inventory.TransferLineLot", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferLineLot.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferLineLot.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": false, + "AllowDeleting": true, + "AllowAllDeleting": false, + "AllowAdding": true, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferLineLot.Title", + "ShowTitle": true, + "Width": 600, + "Height": 260, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 2, + "ColSpan": 2 + } + ], + "PermissionDto": { + "C": "App.Inventory.TransferLineLot.Create", + "R": "App.Inventory.TransferLineLot", + "U": "App.Inventory.TransferLineLot.Update", + "D": "App.Inventory.TransferLineLot.Delete", + "E": "App.Inventory.TransferLineLot.Export", + "I": "App.Inventory.TransferLineLot.Import", + "N": "App.Inventory.TransferLineLot.Note" + }, + "CommandColumnDto": [], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferLineLot", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLot", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLot.Create", + "R": "App.Inventory.TransferLineLot", + "U": "App.Inventory.TransferLineLot.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLot", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BaseId", + "CaptionName": "App.Listform.ListformField.BaseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLot.Create", + "R": "App.Inventory.TransferLineLot", + "U": "App.Inventory.TransferLineLot.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLot", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLot.Create", + "R": "App.Inventory.TransferLineLot", + "U": "App.Inventory.TransferLineLot.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":64}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLot", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Quantity", + "CaptionName": "App.Listform.ListformField.Quantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": "sum", + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [ + { + "Type": "required", + "Message": null, + "IgnoreEmptyValue": false, + "Reevaluate": true, + "ComparisonType": "", + "ComparisonTarget": null, + "ValidationCallback": null, + "Pattern": "", + "Max": null, + "Min": null, + "Trim": true + } + ], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLot.Create", + "R": "App.Inventory.TransferLineLot", + "U": "App.Inventory.TransferLineLot.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\",\"min\":0,\"showSpinButtons\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": false, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferLineLot", + "App.Inventory.TransferLineLot.Title", + "App.Inventory.TransferLineLot.Desc" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferLineLot", + "App.Inventory.TransferLineLot.Create", + "App.Inventory.TransferLineLot.Update", + "App.Inventory.TransferLineLot.Delete", + "App.Inventory.TransferLineLot.Export", + "App.Inventory.TransferLineLot.Import", + "App.Inventory.TransferLineLot.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferLineLotStock.json b/configs/seeds/wizard/Inventory_TransferLineLotStock.json new file mode 100644 index 00000000..09c2e1f8 --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferLineLotStock.json @@ -0,0 +1,1677 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferLineLotStock", + "WizardCode": "App.Inventory.TransferLineLotStock", + "SeededAt": "2026-10-12T22:00:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferLineLotStock", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferLineLotStock", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Lots from Stock", + "MenuTr": "Stoktan Lot Seçimi", + "TitleEn": "Lots from Stock", + "TitleTr": "Stoktan Lot Seçimi", + "DescEn": "Lots from Stock — every lot/serial in stock at the source location of an outgoing line (delivery, internal transfer, return of a receipt), opened with the Details button of the line.\nColumns: select, lot/serial number, in date, on hand (in the line unit), selected quantity, unit.\nTicking Select fills Selected Quantity with the quantity on hand; it can be lowered but not raised above the stock of the lot; unticking removes the lot. Changes are kept with Save Changes. Auto Assign on the line fills first-in first-out. The total must equal the done quantity before Mark as Done. Lots of done or cancelled documents cannot be changed.", + "DescTr": "Stoktan Lot Seçimi — stoktan çıkan satırın (teslimat, iç transfer, alım iadesi) kaynak konumundaki bütün lot/seriler; satırdaki Detaylar butonuyla açılır.\nKolonlar: seç, lot/seri no, giriş tarihi, eldeki miktar (satırın biriminde), seçilen miktar, birim.\nSeç işaretlenince Seçilen Miktar eldeki miktarla dolar; azaltılabilir, lotun stoğunun üstüne çıkamaz; işaret kaldırılınca lot satırdan çıkar. Değişiklikler Değişiklikleri Kaydet ile yazılır. Satırdaki Otomatik Ata ilk giren ilk çıkar kuralıyla doldurur. Tamamla'dan önce toplam yapılan miktara eşit olmalıdır. Tamamlanmış ya da iptal edilmiş belgenin lotları değiştirilemez." + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "BaseId", + "CaptionName": "App.Listform.ListformField.BaseId", + "En": "BaseId", + "Tr": "BaseId" + }, + { + "FieldName": "IsSelected", + "CaptionName": "App.Listform.ListformField.IsSelected", + "En": "Select", + "Tr": "Seç" + }, + { + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "En": "Lot/Serial Number", + "Tr": "Lot/Seri No" + }, + { + "FieldName": "InDate", + "CaptionName": "App.Listform.ListformField.InDate", + "En": "In Date", + "Tr": "Giriş Tarihi" + }, + { + "FieldName": "OnHand", + "CaptionName": "App.Listform.ListformField.OnHand", + "En": "On Hand", + "Tr": "Eldeki Miktar" + }, + { + "FieldName": "SelectedQuantity", + "CaptionName": "App.Listform.ListformField.SelectedQuantity", + "En": "Selected Quantity", + "Tr": "Seçilen Miktar" + }, + { + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "En": "Unit", + "Tr": "Birim" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 16, + "TableName": null, + "DefaultFilter": "", + "SelectCommand": "Inv_V_TransferLineLotStock", + "SelectCommandType": 2, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [], + "UpdateCommand": "EXEC Inv_P_TransferLineLotStockSave @Id, @IsSelected, @SelectedQuantity, @LastModifierId", + "UpdateBeforeCommand": null, + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 16, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferLineLotStock", + "CultureName": "en", + "Name": "App.Inventory.TransferLineLotStock", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferLineLotStock.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferLineLotStock.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "batch", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferLineLotStock.Title", + "ShowTitle": true, + "Width": 600, + "Height": 260, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [], + "PermissionDto": { + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "D": "App.Inventory.TransferLineLotStock.Delete", + "E": "App.Inventory.TransferLineLotStock.Export", + "I": "App.Inventory.TransferLineLotStock.Import", + "N": "App.Inventory.TransferLineLotStock.Note" + }, + "CommandColumnDto": [], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferLineLotStock", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "BaseId", + "CaptionName": "App.Listform.ListformField.BaseId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "IsSelected", + "CaptionName": "App.Listform.ListformField.IsSelected", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 3, + "CultureName": "en", + "DataType": "boolean", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxCheckBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": "// @builder {\"v\":1,\"rules\":[{\"id\":\"formula_1\",\"recipe\":\"formula\",\"condition\":{\"operator\":\"isTrue\",\"source\":\"IsSelected\",\"value\":\"\"},\"params\":{\"target\":\"SelectedQuantity\",\"expression\":\"num('OnHand')\"},\"fields\":[],\"trigger\":\"change\"},{\"id\":\"clear_2\",\"recipe\":\"clear\",\"condition\":{\"operator\":\"isFalse\",\"source\":\"IsSelected\",\"value\":\"\"},\"params\":{},\"fields\":[\"SelectedQuantity\"],\"trigger\":\"change\"}]}\nif (bool(\"IsSelected\")) set(\"SelectedQuantity\", num('OnHand'))\nif (!bool(\"IsSelected\")) clear(\"SelectedQuantity\")", + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "LotNo", + "CaptionName": "App.Listform.ListformField.LotNo", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "InDate", + "CaptionName": "App.Listform.ListformField.InDate", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 6, + "CultureName": "en", + "DataType": "datetime", + "SortIndex": 1, + "SortDirection": "asc", + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxDateBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true,\"type\":\"date\",\"displayFormat\":\"dd.MM.yyyy\"}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "OnHand", + "CaptionName": "App.Listform.ListformField.OnHand", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0.####\"}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "SelectedQuantity", + "CaptionName": "App.Listform.ListformField.SelectedQuantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": "sum", + "ValueFormat": "#,##0.####", + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": "{0}", + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\",\"min\":0,\"showSpinButtons\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": "// @builder {\"v\":1,\"rules\":[{\"id\":\"formula_1\",\"recipe\":\"formula\",\"condition\":{\"operator\":\"notEmpty\",\"source\":\"SelectedQuantity\",\"value\":\"\"},\"params\":{\"target\":\"SelectedQuantity\",\"expression\":\"Math.min(num('SelectedQuantity'), num('OnHand'))\"},\"fields\":[],\"trigger\":\"change\"}]}\nif (!!get(\"SelectedQuantity\")) set(\"SelectedQuantity\", Math.min(num('SelectedQuantity'), num('OnHand')))", + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferLineLotStock", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "UomId", + "CaptionName": "App.Listform.ListformField.UomId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 8, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": false, + "AllowAdding": false, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferLineLotStock.Create", + "R": "App.Inventory.TransferLineLotStock", + "U": "App.Inventory.TransferLineLotStock.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": false, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferLineLotStock", + "App.Inventory.TransferLineLotStock.Title", + "App.Inventory.TransferLineLotStock.Desc" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferLineLotStock", + "App.Inventory.TransferLineLotStock.Create", + "App.Inventory.TransferLineLotStock.Update", + "App.Inventory.TransferLineLotStock.Delete", + "App.Inventory.TransferLineLotStock.Export", + "App.Inventory.TransferLineLotStock.Import", + "App.Inventory.TransferLineLotStock.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferNote.json b/configs/seeds/wizard/Inventory_TransferNote.json new file mode 100644 index 00000000..3f3bcfe4 --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferNote.json @@ -0,0 +1,937 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferNote", + "WizardCode": "App.Inventory.TransferNote", + "SeededAt": "2026-10-12T22:03:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferNote", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferNote", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Note", + "MenuTr": "Not", + "TitleEn": "Note", + "TitleTr": "Not", + "DescEn": "Note — free note of a transfer document (Note tab of receipts, deliveries and internal transfers).\nField: note (rich text).", + "DescTr": "Not — transfer belgesinin serbest notu (alım, teslimat ve iç transferlerin Not sekmesi).\nAlan: not (zengin metin)." + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "Note", + "CaptionName": "App.Listform.ListformField.Note", + "En": "Note", + "Tr": "Not" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND Status = 'Cancelled') THROW 50320, N'İptal edilmiş belge değiştirilemez.', 1;", + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferNote", + "CultureName": "en", + "Name": "App.Inventory.TransferNote", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferNote.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferNote.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferNote.Title", + "ShowTitle": true, + "Width": 800, + "Height": 420, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 1, + "ColSpan": 1 + } + ], + "PermissionDto": { + "C": "App.Inventory.TransferNote.Create", + "R": "App.Inventory.TransferNote", + "U": "App.Inventory.TransferNote.Update", + "D": "App.Inventory.TransferNote.Delete", + "E": "App.Inventory.TransferNote.Export", + "I": "App.Inventory.TransferNote.Import", + "N": "App.Inventory.TransferNote.Note" + }, + "CommandColumnDto": [], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferNote", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferNote", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferNote.Create", + "R": "App.Inventory.TransferNote", + "U": "App.Inventory.TransferNote.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferNote", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Note", + "CaptionName": "App.Listform.ListformField.Note", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferNote.Create", + "R": "App.Inventory.TransferNote", + "U": "App.Inventory.TransferNote.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxHtmlEditor", + "ColSpan": 1, + "EditorOptions": "{\"height\":260}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferNote", + "App.Inventory.TransferNote.Title", + "App.Inventory.TransferNote.Desc" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferNote", + "App.Inventory.TransferNote.Create", + "App.Inventory.TransferNote.Update", + "App.Inventory.TransferNote.Delete", + "App.Inventory.TransferNote.Export", + "App.Inventory.TransferNote.Import", + "App.Inventory.TransferNote.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Inventory_TransferOther.json b/configs/seeds/wizard/Inventory_TransferOther.json new file mode 100644 index 00000000..95b4500b --- /dev/null +++ b/configs/seeds/wizard/Inventory_TransferOther.json @@ -0,0 +1,1597 @@ +{ + "Wizard": { + "ComponentKind": 0, + "WizardName": "Inventory_TransferOther", + "WizardCode": "App.Inventory.TransferOther", + "SeededAt": "2026-10-12T22:02:00+03:00", + "CustomComponentName": null, + "PermissionGroupName": "App.Inventory", + "ModuleId": "Inventory", + "Menu": { + "MenuParentPath": [ + { + "Code": "App.Inventory", + "Icon": "FcPackage", + "En": "Inventory", + "Tr": "Envanter" + } + ], + "MenuParentCode": "App.Inventory.Operations", + "MenuParentIcon": "FcServices", + "CreateMenu": false, + "MenuCode": "App.Inventory.TransferOther", + "MenuOrder": 0, + "MenuUrl": "/admin/list/App.Inventory.TransferOther", + "MenuIcon": "FcViewDetails" + }, + "Language": { + "MenuParentEn": "Operations", + "MenuParentTr": "Operasyonlar", + "PermissionGroupEn": "Inventory", + "PermissionGroupTr": "Envanter", + "MenuEn": "Additional Info", + "MenuTr": "Ek Bilgi", + "TitleEn": "Additional Info", + "TitleTr": "Ek Bilgi", + "DescEn": "Additional Info — shipping and other information of a transfer document (Additional Info tab of receipts, deliveries and internal transfers).\nFields: carrier (contact), tracking reference, weight (calculated from the lines: product weight × quantity), shipping weight, responsible, project.", + "DescTr": "Ek Bilgi — transfer belgesinin nakliye ve diğer bilgileri (alım, teslimat ve iç transferlerin Ek Bilgi sekmesi).\nAlanlar: nakliyeci (kontak), takip referansı, ağırlık (satırlardan hesaplanır: ürün ağırlığı × miktar), nakliye ağırlığı, sorumlu, proje." + }, + "Groups": [ + { + "Items": [ + { + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "En": "Id", + "Tr": "Kimlik" + }, + { + "FieldName": "CarrierId", + "CaptionName": "App.Listform.ListformField.CarrierId", + "En": "Carrier", + "Tr": "Nakliyeci" + }, + { + "FieldName": "ResponsibleUserId", + "CaptionName": "App.Listform.ListformField.ResponsibleUserId", + "En": "Responsible", + "Tr": "Sorumlu" + }, + { + "FieldName": "TrackingReference", + "CaptionName": "App.Listform.ListformField.TrackingReference", + "En": "Tracking Reference", + "Tr": "Takip Referansı" + }, + { + "FieldName": "ProjectId", + "CaptionName": "App.Listform.ListformField.ProjectId", + "En": "Project", + "Tr": "Proje" + }, + { + "FieldName": "Weight", + "CaptionName": "App.Listform.ListformField.Weight", + "En": "Weight (kg)", + "Tr": "Ağırlık (kg)" + }, + { + "FieldName": "ShippingWeight", + "CaptionName": "App.Listform.ListformField.ShippingWeight", + "En": "Shipping Weight (kg)", + "Tr": "Nakliye Ağırlığı (kg)" + } + ] + } + ] + }, + "ListForm": { + "EditType": null, + "DataSourceCode": "Default", + "KeyFieldDbSourceType": 9, + "TableName": null, + "DefaultFilter": "\"IsDeleted\" = 'false'", + "SelectCommand": "Inv_T_Transfer", + "SelectCommandType": 1, + "SelectFieldsDefaultValueDto": [], + "SeedFilePath": null, + "SeedSyncInsert": false, + "SeedSyncUpdate": false, + "SeedSyncDelete": false, + "DeleteCommand": null, + "DeleteBeforeCommand": null, + "DeleteAfterCommand": null, + "DeleteFieldsDefaultValueDto": [ + { + "FieldName": "DeleterId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@ID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "InsertCommand": null, + "InsertBeforeCommand": null, + "InsertAfterCommand": null, + "InsertFieldsDefaultValueDto": [ + { + "FieldName": "CreationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "CreatorId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "IsDeleted", + "FieldDbType": 3, + "Value": "false", + "CustomValueType": 1, + "SqlQuery": null + }, + { + "FieldName": "Id", + "FieldDbType": 9, + "Value": "@NEWID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "UpdateCommand": null, + "UpdateBeforeCommand": "IF EXISTS (SELECT 1 FROM Inv_T_Transfer WHERE Id IN @Id AND Status = 'Cancelled') THROW 50320, N'İptal edilmiş belge değiştirilemez.', 1;", + "UpdateAfterCommand": null, + "UpdateFieldsDefaultValueDto": [ + { + "FieldName": "LastModificationTime", + "FieldDbType": 6, + "Value": "@NOW", + "CustomValueType": 2, + "SqlQuery": null + }, + { + "FieldName": "LastModifierId", + "FieldDbType": 9, + "Value": "@USERID", + "CustomValueType": 2, + "SqlQuery": null + } + ], + "FormFieldsDefaultValueDto": [], + "WidgetsDto": [], + "ExtraFilterEditDto": [], + "ListFormCode": "App.Inventory.TransferOther", + "CultureName": "en", + "Name": "App.Inventory.TransferOther", + "KeyFieldName": "Id", + "Title": "App.Inventory.TransferOther.Title", + "SortMode": "single", + "PageSize": 10, + "Width": 0, + "Height": 0, + "FullHeight": false, + "Description": "App.Inventory.TransferOther.Desc", + "FilterRowDto": { + "Visible": true, + "ApplyFilter": "auto", + "AllowUserUiFilterSave": true + }, + "RowDto": { + "RowHeight": "auto", + "WhiteSpace": "normal", + "OverflowWrap": "break-word" + }, + "HeaderFilterDto": { + "Visible": true, + "AllowSearch": false, + "Height": 325, + "SearchTimeout": 500, + "Width": 252 + }, + "FilterPanelDto": { + "Visible": false, + "Texts": null, + "FilterEnabled": false, + "CustomizeText": null + }, + "SearchPanelDto": { + "Visible": true, + "Width": 160 + }, + "GroupPanelDto": { + "Visible": true, + "AutoExpandAll": false + }, + "SelectionDto": { + "Mode": "none", + "AllowSelectAll": false, + "SelectAllMode": "allPages", + "ShowCheckBoxesMode": "always" + }, + "ColumnOptionDto": { + "ShowBorders": true, + "ShowRowLines": true, + "ShowColumnLines": false, + "RowAlternationEnabled": true, + "AllowColumnReordering": true, + "AllowColumnResizing": true, + "ColumnResizingMode": "widget", + "ColumnAutoWidth": true, + "RtlEnabled": false, + "ColumnFixingEnabled": true, + "ColumnChooserEnabled": true, + "ColumnChooserMode": "dragAndDrop", + "HoverStateEnabled": false, + "ColumnHidingEnabled": true, + "FocusedRowEnabled": true, + "ShowColumnHeaders": true + }, + "PivotOptionDto": { + "ColumnChooserEnabled": false, + "AllowFieldDragging": true, + "ShowFieldPanel": true, + "ShowDataFields": true, + "ShowColumnFields": true, + "ShowRowFields": true, + "ShowFilterFields": true, + "ShowChart": false, + "ChartHeight": 320, + "ChartCommonSeriesType": "bar" + }, + "TreeOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null + }, + "GanttOptionDto": { + "KeyExpr": null, + "ParentIdExpr": null, + "HasItemsExpr": null, + "RootValue": null, + "ExpandedRowKeys": [], + "AutoExpandAll": false, + "RecursiveSelection": false, + "TitleExpr": null, + "ScaleType": "weeks", + "StartExpr": null, + "EndExpr": null, + "ProgressExpr": null, + "EditingEnabled": false, + "AllowTaskAdding": false, + "AllowTaskUpdating": false, + "AllowTaskResourceUpdating": false, + "AllowTaskDeleting": false, + "AllowDependencyAdding": false, + "AllowDependencyDeleting": false, + "AllowResourceAdding": false, + "AllowResourceUpdating": false, + "AllowResourceDeleting": false + }, + "SchedulerOptionDto": { + "TextExpr": null, + "UserNameExpr": null, + "DescriptionExpr": null, + "StartDateExpr": null, + "EndDateExpr": null, + "AllDayExpr": null, + "RecurrenceRuleExpr": null, + "RecurrenceExceptionExpr": null, + "StartDayHour": 8, + "EndDayHour": 20, + "DefaultView": "week", + "ShowAllDayPanel": true, + "CellDuration": 30, + "FirstDayOfWeek": 1, + "CrossScrollingEnabled": false, + "AllowResizing": false, + "AllowDragging": false, + "AllowDeleting": false, + "AllowEditing": false, + "AllowAdding": false + }, + "TodoOptionDto": { + "TitleExpr": null, + "StatusExpr": null, + "DescriptionExpr": null, + "AnalysisExpr": null, + "DueDateExpr": null, + "TagExpr": null, + "AssigneeExpr": null, + "PriorityExpr": null, + "CompletedExpr": null, + "OrderExpr": null, + "TimesheetExpr": null, + "SubTaskExpr": null, + "StatusOrder": null, + "AllowDragging": true + }, + "PagerOptionDto": { + "Visible": true, + "ShowPageSizeSelector": true, + "ShowInfo": false, + "ShowNavigationButtons": true, + "AllowedPageSizes": "10,20,50,100", + "InfoText": "Page {0} of {1} ({2} items)", + "DisplayMode": "adaptive", + "ScrollingMode": "standard", + "LoadPanelEnabled": "auto", + "LoadPanelText": "Loading..." + }, + "EditingOptionDto": { + "Mode": "popup", + "RefreshMode": "full", + "AllowUpdating": true, + "AllowDetail": false, + "AllowDeleting": false, + "AllowAllDeleting": false, + "AllowAdding": false, + "AllowDuplicate": false, + "OpenDetailAfterInsert": false, + "UseIcons": false, + "ConfirmDelete": true, + "NewRowPosition": "viewportTop", + "SelectTextOnEditStart": false, + "StartEditAction": "click", + "EditColumnName": null, + "Popup": { + "Title": "App.Inventory.TransferOther.Title", + "ShowTitle": true, + "Width": 800, + "Height": 320, + "FullScreen": false, + "HideOnOutsideClick": true, + "ResizeEnabled": true, + "DragEnabled": true, + "RestorePosition": true, + "Position": "center" + }, + "SendOnlyChangedFormValuesUpdate": false, + "AddPageUrl": null, + "AddDialogName": null, + "AddDialogParameters": null + }, + "EditingFormDto": [ + { + "Order": 1, + "ItemType": "group", + "Caption": "", + "ColCount": 2, + "ColSpan": 2 + } + ], + "PermissionDto": { + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "D": "App.Inventory.TransferOther.Delete", + "E": "App.Inventory.TransferOther.Export", + "I": "App.Inventory.TransferOther.Import", + "N": "App.Inventory.TransferOther.Note" + }, + "CommandColumnDto": [], + "StateStoringDto": { + "Enabled": true, + "Type": "custom", + "StorageKey": "listFormGridStorage-App.Inventory.TransferOther", + "SavingTimeout": 5000 + }, + "CustomJsSources": [], + "CustomStyleSources": [], + "UpdateServiceAddress": "list-form-data/update", + "InsertServiceAddress": "list-form-data/insert", + "DeleteServiceAddress": "list-form-data/delete", + "IsTenant": true, + "IsBranch": false, + "IsOrganizationUnit": false, + "ListFormType": "List", + "IsSubForm": false, + "ShowNote": false, + "SubFormsListFormType": "Form", + "SubFormsDto": [], + "ExtraFilterDto": [], + "LayoutDto": { + "Grid": true, + "Card": true, + "Pivot": true, + "Chart": true, + "Tree": false, + "Gantt": false, + "Scheduler": false, + "Todo": false, + "DefaultLayout": "grid" + }, + "WorkflowDto": { + "ApprovalUserFieldName": null, + "ApprovalDateFieldName": null, + "ApprovalStatusFieldName": null, + "ApprovalDescriptionFieldName": null, + "ApprovalIsFilterUserName": false, + "ApprovalIsResetWorkflow": false, + "ApprovalIsManualStart": false, + "Criteria": [] + }, + "UserId": null, + "RoleId": null, + "CommonDto": { + "AdjustOnZoom": true, + "ContainerBackgroundColor": "#FFFFFF", + "Palette": "Material", + "PaletteExtensionMode": "blend", + "DefaultPane": null, + "Disabled": false, + "Theme": "generic.light" + }, + "AdaptivelayoutDto": { + "Height": 80, + "Width": 80, + "KeepLabels": true + }, + "AnimationDto": { + "Duration": 1000, + "Easing": "easeOutCubic", + "Enabled": true, + "MaxPointCountSupported": 300 + }, + "AnnotationsDto": [], + "ArgumentAxisDto": { + "ArgumentType": null, + "AggregationInterval": null, + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "HoverMode": "none", + "Label": { + "DisplayMode": "standard", + "RotationAngle": 90, + "OverlappingBehavior": "hide" + }, + "Position": "bottom", + "Title": null, + "Visible": true, + "Width": 1, + "WorkdaysOnly": false + }, + "CommonAnnotationSettingsDto": { + "Argument": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Description": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Height": -1, + "Image": null, + "OffsetX": -1, + "OffsetY": -1, + "PaddingLeftRight": 10, + "PaddingTopBottom": 10, + "Series": null, + "Text": null, + "TooltipEnabled": true, + "Type": null, + "Value": null, + "Width": 0, + "WordWrap": "normal", + "X": 0, + "Y": 0 + }, + "CommonAxisSettingsDto": { + "Grid": { + "Color": "#d3d3d3", + "Visible": false, + "Width": 1 + }, + "Title": null, + "Visible": true, + "Width": 1 + }, + "CommonPaneSettingsDto": { + "BackgroundColor": null + }, + "CommonSeriesSettingsDto": { + "ArgumentField": "arg", + "Axis": null, + "BarOverlapGroup": null, + "BarPadding": 0, + "BarWidth": 0, + "Color": null, + "CornerRadius": 0, + "DashStyle": "solid", + "IgnoreEmptyPoints": false, + "Pane": null, + "RangeValue1Field": "val1", + "RangeValue2Field": "val2", + "SelectionMode": "none", + "ShowInLegend": true, + "Type": null, + "ValueField": null, + "Visible": true, + "Width": 2, + "Label": null + }, + "CrosshairDto": { + "Color": "#f05b41", + "DashStyle": "dot", + "Enabled": false, + "Width": 1, + "HorizontalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + }, + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "VerticalLine": { + "Color": "#f05b41", + "DashStyle": "dot", + "Label": { + "BackgroundColor": "#f05b41", + "CustomizeText": null, + "Font": { + "Color": "#FFFFFF", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Visible": false, + "Format": null + }, + "Visible": true, + "Width": 1 + } + }, + "ExportDto": { + "BackgroundColor": "#FFFFFF", + "Enabled": true, + "AllowExportSelectedData": false, + "Margin": 10, + "PrintingEnabled": true + }, + "LegendDto": { + "BackgroundColor": null, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "ColumnCount": 0, + "Orientation": "vertical", + "Position": "outside", + "RowCount": 0, + "Title": null, + "Visible": true + }, + "MarginDto": { + "Bottom": 0, + "Left": 0, + "Right": 0, + "Top": 0 + }, + "PanesDto": [], + "ScrollBarDto": { + "Color": "gray", + "Offset": 5, + "Position": "top", + "Visible": false, + "Width": 10 + }, + "SeriesDto": [], + "SizeDto": { + "UseSize": false, + "Width": 400, + "Height": 200 + }, + "TitleDto": { + "Text": null, + "VerticalAlignment": "top", + "HorizontalAlignment": "center", + "Subtitle": null, + "TextOverflow": "ellipsis", + "WordWrap": null + }, + "TooltipDto": { + "ArgumentFormat": null, + "ArrowLength": 10, + "Border": { + "Color": "#d3d3d3", + "CornerRadius": 0, + "DashStyle": "solid", + "Visible": false, + "Width": 1 + }, + "Color": "#ffffff", + "Enabled": false, + "Font": { + "Color": "#000000", + "Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif", + "Size": 12, + "Weight": 400 + }, + "Format": null, + "Location": "center", + "PaddingLeftRight": 18, + "PaddingTopBottom": 15, + "Shared": false + }, + "ValueAxisDto": [], + "ZoomAndPanDto": { + "AllowMouseWheel": true, + "AllowTouchGestures": true, + "ArgumentAxis": "none", + "DragToZoom": false, + "PanKey": "shift", + "ValueAxis": "none", + "DragBoxStyle": { + "Color": null, + "Opacity": 0 + } + }, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + "Fields": [ + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Id", + "CaptionName": "App.Listform.ListformField.Id", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": false, + "IsActive": true, + "Width": 0, + "ListOrderNo": 1, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": null, + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "CarrierId", + "CaptionName": "App.Listform.ListformField.CarrierId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 2, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Adm_T_Contact WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 1, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ResponsibleUserId", + "CaptionName": "App.Listform.ListformField.ResponsibleUserId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 3, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], CONCAT(Name, ' ', Surname) AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name, Surname" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 2, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "TrackingReference", + "CaptionName": "App.Listform.ListformField.TrackingReference", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 4, + "SourceDbType": 16, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 3, + "EditGroupOrderNo": 1, + "EditorType2": "dxTextBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"maxLength\":128}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ProjectId", + "CaptionName": "App.Listform.ListformField.ProjectId", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 5, + "SourceDbType": 9, + "CultureName": "en", + "DataType": "string", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 2, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Prj_T_Project WHERE IsDeleted = 'false' AND TenantId = '@TENANTID' ORDER BY Name" + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": 4, + "EditGroupOrderNo": 1, + "EditorType2": "dxSelectBox", + "ColSpan": 1, + "EditorOptions": "{\"showClearButton\":true,\"searchEnabled\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "Weight", + "CaptionName": "App.Listform.ListformField.Weight", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": 5, + "EditGroupOrderNo": 1, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, + { + "EditType": null, + "ListFormCode": "App.Inventory.TransferOther", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ShippingWeight", + "CaptionName": "App.Listform.ListformField.ShippingWeight", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 7, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Inventory.TransferOther.Create", + "R": "App.Inventory.TransferOther", + "U": "App.Inventory.TransferOther.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "right", + "Format": null, + "EditOrderNo": 6, + "EditGroupOrderNo": 1, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.####\",\"min\":0,\"showSpinButtons\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + } + ], + "IsDeletedField": true, + "IsCreatedField": true, + "InsertedRecords": { + "LanguageKeys": [ + "App.Inventory.TransferOther", + "App.Inventory.TransferOther.Title", + "App.Inventory.TransferOther.Desc" + ], + "PermissionGroupNames": [], + "PermissionNames": [ + "App.Inventory.TransferOther", + "App.Inventory.TransferOther.Create", + "App.Inventory.TransferOther.Update", + "App.Inventory.TransferOther.Delete", + "App.Inventory.TransferOther.Export", + "App.Inventory.TransferOther.Import", + "App.Inventory.TransferOther.Note" + ], + "MenuCodes": [], + "DataSourceCodes": [], + "ModuleIds": [] + } +} \ No newline at end of file diff --git a/configs/seeds/wizard/Prc_MyMaterialRequest.json b/configs/seeds/wizard/Prc_MyMaterialRequest.json index 8f6a653e..18bbd2b8 100644 --- a/configs/seeds/wizard/Prc_MyMaterialRequest.json +++ b/configs/seeds/wizard/Prc_MyMaterialRequest.json @@ -278,7 +278,7 @@ { "FieldName": "RequestNo", "FieldDbType": 16, - "Value": "MaterialRequest1", + "Value": "Prc.MaterialRequest", "CustomValueType": 5, "SqlQuery": "" }, diff --git a/configs/seeds/wizard/Prc_PurchaseAgreement.json b/configs/seeds/wizard/Prc_PurchaseAgreement.json index 3f29f149..d07ac37b 100644 --- a/configs/seeds/wizard/Prc_PurchaseAgreement.json +++ b/configs/seeds/wizard/Prc_PurchaseAgreement.json @@ -247,7 +247,7 @@ { "FieldName": "AgreementNo", "FieldDbType": 16, - "Value": "PurchaseAgreement1", + "Value": "Prc.PurchaseAgreement", "CustomValueType": 5, "SqlQuery": "" }, @@ -2479,7 +2479,7 @@ "CaptionName": "App.Listform.ListformField.Terms", "PlaceHolder": null, "ReadOnly": false, - "Visible": true, + "Visible": false, "IsActive": true, "Width": 0, "ListOrderNo": 13, diff --git a/configs/seeds/wizard/Prc_PurchaseOrder.json b/configs/seeds/wizard/Prc_PurchaseOrder.json index 178195eb..7c659717 100644 --- a/configs/seeds/wizard/Prc_PurchaseOrder.json +++ b/configs/seeds/wizard/Prc_PurchaseOrder.json @@ -263,7 +263,7 @@ { "FieldName": "OrderNo", "FieldDbType": 16, - "Value": "PurchaseOrder1", + "Value": "Prc.PurchaseOrder", "CustomValueType": 5, "SqlQuery": "" }, @@ -3592,7 +3592,7 @@ "CaptionName": "App.Listform.ListformField.Terms", "PlaceHolder": null, "ReadOnly": false, - "Visible": true, + "Visible": false, "IsActive": true, "Width": 0, "ListOrderNo": 21, diff --git a/configs/seeds/wizard/Prc_PurchaseOrderLine.json b/configs/seeds/wizard/Prc_PurchaseOrderLine.json index 74290491..3e309920 100644 --- a/configs/seeds/wizard/Prc_PurchaseOrderLine.json +++ b/configs/seeds/wizard/Prc_PurchaseOrderLine.json @@ -33,8 +33,8 @@ "MenuTr": "Sipariş Kalemleri", "TitleEn": "Order Lines", "TitleTr": "Sipariş Kalemleri", - "DescEn": "Order Lines — the products of a purchase order.\nWhere: Purchasing › Orders › Purchase Orders › Products tab (no menu of its own).\nFields: product, description, quantity, unit, unit price, tax rate, amount (tax included: quantity × unit price × (1 + tax rate), calculated), delivery date, material request line (read-only).\nRules: lines of a cancelled order cannot be changed; after every change the order totals are recalculated. Lines of an order converted from an RFQ come from the winning RFQ lines.", - "DescTr": "Sipariş Kalemleri — satınalma siparişinin ürünleri.\nNerede: Satınalma › Siparişler › Satınalma Siparişleri › Ürünler sekmesi (kendi menüsü yoktur).\nAlanlar: ürün, açıklama, miktar, birim, birim fiyat, vergi oranı, tutar (KDV dahil: miktar × birim fiyat × (1 + vergi oranı), hesaplanır), teslim tarihi, talep kalemi (salt okunur).\nKurallar: iptal edilmiş siparişin kalemi değiştirilemez; her değişiklikte sipariş toplamları yeniden hesaplanır. Teklif talebinden dönüştürülen siparişin kalemleri kazanan teklif kalemlerinden gelir." + "DescEn": "Order Lines — the products of a purchase order.\nWhere: Purchasing › Orders › Purchase Orders › Products tab (no menu of its own).\nFields: product, description, quantity, unit, unit price, tax rate, amount (tax included: quantity × unit price × (1 + tax rate), calculated), delivery date, material request line (read-only); the list also shows the received quantity (written by Validate of the receipt, reduced by a return).\nRules: lines of a cancelled order cannot be changed; after every change the order totals are recalculated. Lines of an order converted from an RFQ come from the winning RFQ lines.", + "DescTr": "Sipariş Kalemleri — satınalma siparişinin ürünleri.\nNerede: Satınalma › Siparişler › Satınalma Siparişleri › Ürünler sekmesi (kendi menüsü yoktur).\nAlanlar: ürün, açıklama, miktar, birim, birim fiyat, vergi oranı, tutar (KDV dahil: miktar × birim fiyat × (1 + vergi oranı), hesaplanır), teslim tarihi, talep kalemi (salt okunur); listede ayrıca alınan miktar (alımın Doğrula'sı yazar, iadede düşer).\nKurallar: iptal edilmiş siparişin kalemi değiştirilemez; her değişiklikte sipariş toplamları yeniden hesaplanır. Teklif talebinden dönüştürülen siparişin kalemleri kazanan teklif kalemlerinden gelir." }, "Groups": [ { @@ -69,6 +69,12 @@ "En": "Quantity", "Tr": "Miktar" }, + { + "FieldName": "ReceivedQuantity", + "CaptionName": "App.Listform.ListformField.ReceivedQuantity", + "En": "Received", + "Tr": "Alınan" + }, { "FieldName": "UomId", "CaptionName": "App.Listform.ListformField.UomId", @@ -1379,6 +1385,132 @@ "CreatorId": null, "Id": "00000000-0000-0000-0000-000000000000" }, + { + "EditType": null, + "ListFormCode": "App.Prc.PurchaseOrderLine", + "RoleId": null, + "UserId": null, + "ColumnJoinTableDto": { + "JoinType": null, + "TableName": null, + "JoinFieldName": null, + "BaseTableJoinFieldName": null, + "SelectFieldName": null, + "FieldNameAlias": null, + "JoinCondition2": "AND", + "JoinFieldName2": null, + "BaseTableJoinFieldName2_OrValue": null + }, + "FieldName": "ReceivedQuantity", + "CaptionName": "App.Listform.ListformField.ReceivedQuantity", + "PlaceHolder": null, + "ReadOnly": false, + "Visible": true, + "IsActive": true, + "Width": 0, + "ListOrderNo": 6, + "SourceDbType": 7, + "CultureName": "en", + "DataType": "number", + "SortIndex": 0, + "SortDirection": null, + "AllowSearch": true, + "AllowEditing": true, + "AllowAdding": true, + "ColumnCssClass": null, + "ColumnCssValue": null, + "BandName": null, + "ColumnFilterDto": { + "AllowFiltering": true, + "FilterOperations": null, + "SelectedFilterOperation": null, + "FilterValue": null + }, + "ColumnHeaderDto": { + "AllowHeaderFiltering": true, + "AllowSearch": false, + "DataSource": null, + "DataSourceString": "" + }, + "ColumnGroupingDto": { + "AllowGrouping": true, + "GroupIndex": null, + "AutoExpandGroup": false + }, + "ColumnCustomizationDto": { + "Fixed": false, + "FixedPosition": "left", + "AllowReordering": true + }, + "ColumnTotalSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "ColumnGroupSummaryDto": { + "SummaryType": null, + "ValueFormat": null, + "ShowInGroupFooter": false, + "AlignByColumn": false, + "DisplayFormat": null, + "ShowInColumn": null + }, + "LookupDto": { + "DataSourceType": 0, + "ValueExpr": "Key", + "DisplayExpr": "Name", + "CascadeRelationField": null, + "CascadeFilterOperator": "=", + "CascadeParentFields": null, + "CascadeEmptyFields": null, + "LookupQuery": null + }, + "ValidationRuleDto": [], + "ColumnStylingDto": [], + "PermissionDto": { + "Deny": false, + "C": "App.Prc.PurchaseOrderLine.Create", + "R": "App.Prc.PurchaseOrderLine", + "U": "App.Prc.PurchaseOrderLine.Update", + "E": true, + "I": true + }, + "CanRead": false, + "CanCreate": false, + "CanUpdate": false, + "CanExport": false, + "DefaultValue": null, + "DefaultValueType": 0, + "PivotSettingsDto": { + "IsPivot": true, + "Expanded": false, + "SortOrder": "asc", + "Area": "filter", + "Format": null, + "SummaryType": null, + "GroupInterval": "", + "WordWrapEnabled": false + }, + "Alignment": "left", + "Format": null, + "EditOrderNo": null, + "EditGroupOrderNo": null, + "EditorType2": "dxNumberBox", + "ColSpan": 1, + "EditorOptions": "{\"format\":\"#,##0.##\",\"readOnly\":true}", + "GridBoxOptions": null, + "TagBoxOptions": null, + "ImageUploadOptions": null, + "EditorScript": null, + "LastModificationTime": null, + "LastModifierId": null, + "CreationTime": "0001-01-01T00:00:00", + "CreatorId": null, + "Id": "00000000-0000-0000-0000-000000000000" + }, { "EditType": null, "ListFormCode": "App.Prc.PurchaseOrderLine", @@ -1402,7 +1534,7 @@ "Visible": true, "IsActive": true, "Width": 0, - "ListOrderNo": 6, + "ListOrderNo": 7, "SourceDbType": 16, "CultureName": "en", "DataType": "string", @@ -1542,7 +1674,7 @@ "Visible": true, "IsActive": true, "Width": 0, - "ListOrderNo": 7, + "ListOrderNo": 8, "SourceDbType": 7, "CultureName": "en", "DataType": "number", @@ -1682,7 +1814,7 @@ "Visible": true, "IsActive": true, "Width": 0, - "ListOrderNo": 8, + "ListOrderNo": 9, "SourceDbType": 7, "CultureName": "en", "DataType": "number", @@ -1822,7 +1954,7 @@ "Visible": true, "IsActive": true, "Width": 0, - "ListOrderNo": 9, + "ListOrderNo": 10, "SourceDbType": 7, "CultureName": "en", "DataType": "number", @@ -1948,7 +2080,7 @@ "Visible": true, "IsActive": true, "Width": 0, - "ListOrderNo": 10, + "ListOrderNo": 11, "SourceDbType": 6, "CultureName": "en", "DataType": "datetime", @@ -2074,7 +2206,7 @@ "Visible": true, "IsActive": true, "Width": 0, - "ListOrderNo": 11, + "ListOrderNo": 12, "SourceDbType": 9, "CultureName": "en", "DataType": "string", diff --git a/configs/seeds/wizard/Prc_PurchaseRfq.json b/configs/seeds/wizard/Prc_PurchaseRfq.json index 3f893d38..4206be3f 100644 --- a/configs/seeds/wizard/Prc_PurchaseRfq.json +++ b/configs/seeds/wizard/Prc_PurchaseRfq.json @@ -324,7 +324,7 @@ { "FieldName": "RfqNo", "FieldDbType": 16, - "Value": "PurchaseRfq", + "Value": "Prc.PurchaseRfq", "CustomValueType": 5, "SqlQuery": "" }, @@ -3847,7 +3847,7 @@ "CaptionName": "App.Listform.ListformField.Terms", "PlaceHolder": null, "ReadOnly": false, - "Visible": true, + "Visible": false, "IsActive": true, "Width": 0, "ListOrderNo": 22, diff --git a/configs/seeds/wizard/Prj_Project.json b/configs/seeds/wizard/Prj_Project.json index 73f1e1c9..9a909c2a 100644 --- a/configs/seeds/wizard/Prj_Project.json +++ b/configs/seeds/wizard/Prj_Project.json @@ -225,7 +225,7 @@ { "FieldName": "ProjectNo", "FieldDbType": 16, - "Value": "ProjeCode1", + "Value": "Prj.Project", "CustomValueType": 5, "SqlQuery": "" } diff --git a/ui/src/index.css b/ui/src/index.css index 61c901ab..65cce41a 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -225,6 +225,18 @@ div.dialog-after-open > div.dialog-content.maximized { font-weight: bold !important; } +/* Bir buton simgeli olunca DevExtreme hücreye dx-command-edit-with-icons verir ve bütün bağlantıları 18px simge + boyuna çeker; simgesiz (metinli) Düzenle/Sil/Detay bağlantıları normal yazı boyunda kalmalı. */ +.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-edit-with-icons .dx-link:not(.dx-link-icon), +.dx-treelist .dx-treelist-content .dx-treelist-table .dx-row .dx-command-edit-with-icons .dx-link:not(.dx-link-icon) { + height: auto !important; + font-size: inherit !important; + line-height: inherit !important; + margin: 0 4px !important; + text-decoration: underline !important; + vertical-align: middle; +} + .dx-datagrid-header-panel { padding: 0 0 !important; } diff --git a/ui/src/views/form/FormButtons.tsx b/ui/src/views/form/FormButtons.tsx index eb1a166e..aecfccb7 100644 --- a/ui/src/views/form/FormButtons.tsx +++ b/ui/src/views/form/FormButtons.tsx @@ -213,15 +213,20 @@ const FormButtons = (props: { icon: item.icon, text: item.text, hint: item.hint ?? item.text, - onClick: (e: any) => item.onClick?.({ ...e, ...rowEvent }), + // Satır butonu kodu grid'i e.component.refresh() ile yeniler; formda component araç çubuğu butonudur, + // refresh yoktur ve çağrı hata verip yutulurdu (işlem yapılır, form eski durumda kalırdı). + onClick: (e: any) => + item.onClick?.({ ...e, ...rowEvent, component: { refresh: async () => refreshData() } }), }, }), ), ] + // Ekranın kendi butonları ile formun standart butonları (Geri, Sil, Yeni Ekle …) arasındaki ayırıcının yeri. + const customButtonCount = toolbarItems.length if (!isSubForm) { toolbarItems.push( - buildButtonItem('back', translate('::App.Platform.Cancel'), () => { + buildButtonItem('back', translate('::App.Platform.Back'), () => { if (onActionView && id) { onActionView() } else { @@ -329,6 +334,20 @@ const FormButtons = (props: { ) } + if (customButtonCount > 0 && toolbarItems.length > customButtonCount) { + toolbarItems.splice(customButtonCount, 0, { + location: 'after', + locateInMenu: 'never', + template: () => { + const separator = document.createElement('span') + separator.className = 'select-none px-1 text-gray-400 dark:text-gray-500' + separator.setAttribute('aria-hidden', 'true') + separator.textContent = '|' + return separator + }, + }) + } + return ( <> diff --git a/ui/src/views/list/useListFormColumns.ts b/ui/src/views/list/useListFormColumns.ts index 4547d854..e6590343 100644 --- a/ui/src/views/list/useListFormColumns.ts +++ b/ui/src/views/list/useListFormColumns.ts @@ -40,6 +40,11 @@ import { findLookupColor, getLookupItemColor, tagBadgeColors } from '../shared/l import { applyPhoneColumnFormat, needsPhoneCountries } from './shared/columnFormatters' import { arePhoneCountriesLoaded, loadPhoneCountries } from '@/utils/phoneFormat' +const MIN_COMMAND_COLUMN_WIDTH = 60 +const MAX_COMMAND_COLUMN_WIDTH = 520 +// Satır buton kolonu genişliği tahmininde metinli bağlantının karakter başına genişliği (px). +const COMMAND_TEXT_CHAR_WIDTH = 7 + const cellTemplateMultiValue = ( cellElement: HTMLElement, cellInfo: DataGridTypes.ColumnCellTemplateData, @@ -582,14 +587,26 @@ const useListFormColumns = ({ buttons.push(item) }) - // Buton sayısına göre dinamik genişlik hesapla - // Her buton için ~35-40px + padding - const calculatedWidth = Math.min(buttons.length * 40 + 50, 200) + // Genişlik butonların metninden tahmin edilir: sabit üst sınır özel butonları hücrenin dışına itiyordu. + // Simgeli buton yalnız simgesini çizer; metinli bağlantı karakter başına COMMAND_TEXT_CHAR_WIDTH tutar. Kayda göre görünen + // (VisibleExpression) butonlar genelde birbirini dışlar (durum adımları); bir satırda en fazla yarısı + // görüneceği varsayılır ve en genişleri sayılır, yoksa kolon hiç görünmeyen butonlar kadar genişler. + const buttonWidth = (b: any) => (b.icon ? 28 : String(b.text ?? '').length * COMMAND_TEXT_CHAR_WIDTH + 12) + const conditionalWidths = buttons + .filter((b) => typeof b.visible === 'function') + .map(buttonWidth) + .sort((a, b) => b - a) + const calculatedWidth = Math.min( + buttons.filter((b) => typeof b.visible !== 'function').reduce((sum, b) => sum + buttonWidth(b), 24) + + conditionalWidths.slice(0, Math.ceil(conditionalWidths.length / 2)).reduce((sum, w) => sum + w, 0), + MAX_COMMAND_COLUMN_WIDTH, + ) const column = { type: 'buttons', width: calculatedWidth, - minWidth: calculatedWidth, + // Kullanıcı kolonu daraltabilsin; minWidth = width iken kolon boyutlandırılamıyordu. + minWidth: MIN_COMMAND_COLUMN_WIDTH, buttons, allowResizing: true, } @@ -761,6 +778,13 @@ const useListFormColumns = ({ dataSource: (o) => lookupDataSource(o, colData), } + // Autocomplete serbest metindir: lookup yalnız öneri listesidir, değer listede olmayabilir + // (girişte yeni yazılan lot no). Lookup kolonu eşleşmeyen değeri boş çizdiği için hücre değerin kendisini gösterir. + if (colData.editorType2 === 'dxAutocomplete' && colData.fieldName) { + const fieldName = colData.fieldName + column.calculateDisplayValue = (rowData: any) => rowData?.[fieldName] + } + // Değeri değişince boşaltılacak alanlar (çocuklar + CascadeEmptyFields); popup ve // satır içi düzenleme form sayfasıyla aynı kuralı izler. const cascadeClearFields = cascadeClearFieldsMap.get(colData.fieldName)