gts.lims.ledger.HttpApi 8.2.0.6

gts.lims.ledger

General ledger module for GTS LIMS: chart of accounts, account types and roles, journals, ledgers, cash/bank, expenses, fixed assets and depreciation, payables, provisions, VAT postings, opening balances and accounting reports.

Backend layers only — Domain.Shared, Domain, Application.Contracts, Application, EntityFrameworkCore, HttpApi, HttpApi.Client. Namespace gts.lims.ledger, packages gts.lims.ledger.*, tables prefixed GeneralLedger.

Ported from the AbpEx.GeneralLedger module of Medverse.Ris (dev @ 4ed78924); Medverse.Shared was replaced by gts.lims.shared, and the unused Medverse.Masterdata dependency was dropped.

Account balances

JournalCreatedLocalEventHandler does not update GeneralLedgerAccounts.Balance itself. It queues each journal's signed amount in the unit of work (AccountBalanceQueue); just before commit the queue stages them in GeneralLedgerPendingAccountMovements (insert only), and PendingAccountMovementApplier adds every committed staged row to the balances in one statement every 500 ms. Order transactions therefore never lock the shared accounts (Revenue, Cash, Discount, providers, branches), and balances trail the journals by up to one interval. Outside a unit of work the balance is written at once (EfCoreAccountBalanceWriter).

The consuming API host must run the applier, or staged movements never reach the balances:

context.Services.AddHostedService<PendingAccountMovementApplier>();

Register it in the API host only (not the DbMigrator or a Web host). Check balances with opening balance + Σ journals per account. PostgreSQL only.

Pack locally

./pack.sh                     # OUTPUT_DIR defaults to ~/localnuget/publish

Showing the top 20 packages that depend on gts.lims.ledger.HttpApi.

Packages Downloads
gts.lims.requests.HttpApi
Package Description
7
gts.lims.requests.HttpApi
Package Description
8
gts.lims.requests.HttpApi
Package Description
9
gts.lims.requests.HttpApi
Package Description
10

Version Downloads Last updated
8.2.0.8 5 11/05/2026
8.2.0.7 47 10/27/2026
8.2.0.6 45 10/25/2026
8.2.0.5 69 10/22/2026
8.2.0.4 12 10/22/2026
8.2.0.3 21 10/13/2026
8.2.0.2 16 10/13/2026
8.2.0.1 21 10/12/2026