gts.lims.ledger.EntityFrameworkCore 8.2.0.5
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.EntityFrameworkCore.
| Packages | Downloads |
|---|---|
|
gts.lims.requests.EntityFrameworkCore
Package Description
|
7 |
|
gts.lims.requests.EntityFrameworkCore
Package Description
|
8 |
|
gts.lims.requests.EntityFrameworkCore
Package Description
|
9 |
|
gts.lims.requests.EntityFrameworkCore
Package Description
|
10 |
.NET 8.0
- gts.lims.ledger.Domain (>= 8.2.0.5)
- Volo.Abp.EntityFrameworkCore (>= 8.2.0)
- Volo.Abp.EntityFrameworkCore.PostgreSql (>= 8.2.0)
- gts.lims.shared.EntityFrameworkCore (>= 8.2.0.22)