Helix.Shared 1.1.2

dotnet add package Helix.Shared --version 1.1.2
                    
NuGet\Install-Package Helix.Shared -Version 1.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Helix.Shared" Version="1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Helix.Shared" Version="1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Helix.Shared" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Helix.Shared --version 1.1.2
                    
#r "nuget: Helix.Shared, 1.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Helix.Shared@1.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Helix.Shared&version=1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Helix.Shared&version=1.1.2
                    
Install as a Cake Tool

Helix.API

Helix.API, LOGO ERP ile veri alışverişi yapan, Aspire mimarisiyle bütünleşmiş, .NET tabanlı bir mikroservis API’sidir. LObject.exe (COM DLL) kullanılarak ERP tarafına Insert ve Update işlemleri gerçekleştirilir.


🎯 Amaç

  • LOGO ERP’ye doğrudan veri yazabilen merkezi işlem API’si oluşturmak
  • LObject lisanslarını kontrol altında tutmak
  • SLTRANS gibi nested ERP yapılarında doğru eşleştirme yapmak
  • Aspire ile gelen işlemleri Queue üzerinden işleyip ERP’ye aktarmak

⚙️ Teknolojiler

  • ✅ ASP.NET Core 8
  • 🧱 LObject.exe entegrasyonu
  • 🧭 MassTransit + RabbitMQ
  • 🧠 AutoMapper + FluentValidation
  • 🔐 JWT Authentication
  • 📦 Aspire mikroservis mimarisi

🧩 Genel Mimarideki Yeri

Mobil / Web
    │
    ▼
Aspire API Gateway
    │
    ▼
QueryReceiver / CommandReceiver
    │
    ▼
Helix.API
    │
    ▼
LOject.exe (LOGO ERP COM DLL)

🔄 Instance Yönetimi

  • Her firmaya ait UnityApplication nesnesi bir kez oluşturulur.
  • COM instance bir kez yaratılır, API durmadıkça dispose edilmez.
  • Aynı firmNumber için gelen tüm istekler bu instance’a yönlendirilir.

✅ Status Code Kuralları

Kod Anlamı
200 İşlem başarılı (IsSuccess == true)
400 İş mantığı hatası veya parametre hatası
422 Mapping hatası (model == null)
503 LOGO COM instance alınamadı (lisans problemi)
500 Uygulama tarafında exception oluştu

📄 Request Sınıfları

Genel Tanımlar

Request Sınıfı Açıklama
InsertCustomerRequest Müşteri kartı oluşturur
InsertSupplierRequest Tedarikçi kartı oluşturur
InsertSalesmanRequest Satış temsilcisi tanımı
InsertShipAddressRequest Sevk adresi tanımı
InsertProductRequest Malzeme tanımı
InsertVariantRequest Varyant tanımı
InsertSeriLotRequest Seri/Lot tanımı

Satış İşlemleri

Request Sınıfı Açıklama
InsertSalesOrderRequest Satış siparişi oluşturur
InsertWholeSalesDispatchTransactionRequest Toptan satış irsaliyesi
InsertWholeSalesReturnDispatchTransactionRequest Toptan satış iade irsaliyesi
InsertRetailSalesDispatchTransactionRequest Perakende satış irsaliyesi
InsertRetailSalesReturnDispatchTransactionRequest Perakende satış iade irsaliyesi

Satınalma İşlemleri

Request Sınıfı Açıklama
InsertPurchaseOrderRequest Satınalma siparişi oluşturur
InsertPurchaseDispatchTransactionRequest Satınalma irsaliyesi
InsertPurchaseReturnDispatchTransactionRequest Satınalma iade irsaliyesi

Üretim İşlemleri

Request Sınıfı Açıklama
InsertProductionDemandRequest Üretim talebi
InsertProductionTransactionRequest Üretimden giriş
InsertConsumableTransactionRequest Sarf işlemi
InsertInCountingTransactionRequest Giriş sayım işlemi
InsertOutCountingTransactionRequest Çıkış sayım işlemi
InsertWastageTransactionRequest Fire işlemi
InsertTransferTransactionRequest Depolar arası transfer

Finansal İşlemler

Request Sınıfı Açıklama
InsertCreditCardTransactionRequest Kredi kartı ekstresi
InsertSafeCashProceedTransactionRequest Kasa tahsilat işlemi

Üretim Emirleri ve Durumları

Request Sınıfı Açıklama
UpdateProductionOrderStatusRequest Üretim emri durum güncelleme
UpdateWorkOrderStatusRequest İş emri durum güncelleme
ChangeWorkstationRequest İş emri iş istasyonu değiştirme
InsertStopTransactionRequest Duruş başlatma
UpdateStopTransactionRequest Duruş sonlandırma
InsertRealizedQuantityRequest Üretim gerçekleşen miktar girme

🧪 Test Edilecekler

  • Aynı firmaya ait tekrar eden isteklerde COM instance yeniden oluşmamalı
  • SLTRANS eşleşmeleri varyantsız ürünlerde de çalışmalı
  • OrderReferenceId = 0 ve null olan durumlar doğru eşleşmeli
  • IsSuccess == false durumları 400 olarak dönmeli
  • Exception oluştuğunda 500 dönmeli ve loglanmalı

📜 Lisans

Helix.API, yalnızca İyibir Yazılım ürünleri içinde kullanılmak üzere geliştirilmiştir. ERP işlemleri için geçerli LOGO ERP ve LObject lisansı gereklidir.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Helix.Shared:

Package Downloads
XLBS.Service

xLBS Portal Library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.2 654 12/1/2025
1.1.1 375 9/10/2025
1.1.0 268 9/4/2025
1.0.26 220 9/1/2025
1.0.25 203 9/1/2025
1.0.24 522 6/30/2025
1.0.23 201 6/2/2025
1.0.22 199 5/29/2025
1.0.21 181 5/28/2025
1.0.20 189 5/27/2025
1.0.19 223 5/25/2025
1.0.18 190 5/25/2025
1.0.17 137 5/23/2025
1.0.16 231 5/22/2025
1.0.15 176 5/22/2025
1.0.14 205 5/7/2025
1.0.13 185 5/7/2025
1.0.12 239 4/10/2025
1.0.11 201 4/9/2025
1.0.10 205 4/8/2025
1.0.9 194 4/8/2025