gts.lims.ledger.Domain.Shared 8.2.0.7

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.Domain.Shared.

Packages Downloads
gts.lims.ledger.Application.Contracts
Package Description
14
gts.lims.ledger.Application.Contracts
Package Description
21
gts.lims.ledger.Application.Contracts
Package Description
24
gts.lims.ledger.Application.Contracts
Package Description
26
gts.lims.ledger.Application.Contracts
Package Description
47
gts.lims.ledger.Application.Contracts
Package Description
49
gts.lims.ledger.Application.Contracts
Package Description
73
gts.lims.ledger.Domain
Package Description
12
gts.lims.ledger.Domain
Package Description
18
gts.lims.ledger.Domain
Package Description
20
gts.lims.ledger.Domain
Package Description
25
gts.lims.ledger.Domain
Package Description
26
gts.lims.ledger.Domain
Package Description
39
gts.lims.requests.Domain.Shared
Package Description
12
gts.lims.requests.Domain.Shared
Package Description
13
gts.lims.requests.Domain.Shared
Package Description
14
gts.lims.requests.Domain.Shared
Package Description
15

Version Downloads Last updated
8.2.0.8 6 11/05/2026
8.2.0.7 50 10/27/2026
8.2.0.6 45 10/25/2026
8.2.0.5 74 10/22/2026
8.2.0.4 16 10/22/2026
8.2.0.3 26 10/13/2026
8.2.0.2 22 10/13/2026
8.2.0.1 26 10/12/2026