gts.lims.ledger.Application.Contracts 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.Application.Contracts.

Packages Downloads
gts.lims.ledger.Application
Package Description
14
gts.lims.ledger.Application
Package Description
17
gts.lims.ledger.Application
Package Description
19
gts.lims.ledger.Application
Package Description
21
gts.lims.ledger.Application
Package Description
24
gts.lims.ledger.Application
Package Description
40
gts.lims.ledger.HttpApi
Package Description
16
gts.lims.ledger.HttpApi
Package Description
21
gts.lims.ledger.HttpApi
Package Description
45
gts.lims.ledger.HttpApi
Package Description
47
gts.lims.ledger.HttpApi
Package Description
69
gts.lims.ledger.HttpApi.Client
Package Description
14
gts.lims.ledger.HttpApi.Client
Package Description
15
gts.lims.ledger.HttpApi.Client
Package Description
17
gts.lims.ledger.HttpApi.Client
Package Description
32
gts.lims.ledger.HttpApi.Client
Package Description
36
gts.lims.ledger.HttpApi.Client
Package Description
52
gts.lims.requests.Application.Contracts
Package Description
16
gts.lims.requests.Application.Contracts
Package Description
17

Version Downloads Last updated
8.2.0.8 5 11/05/2026
8.2.0.7 49 10/27/2026
8.2.0.6 47 10/25/2026
8.2.0.5 73 10/22/2026
8.2.0.4 14 10/22/2026
8.2.0.3 24 10/13/2026
8.2.0.2 21 10/13/2026
8.2.0.1 26 10/12/2026