Click or drag to resize

IStockManagementServiceGetLedgerEntries Method

Get the stock ledger entries

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
IQueryResultSet<IStockLedgerEntry> GetLedgerEntries(
	Guid containerKey,
	Guid materialKey,
	DateTimeOffset? fromDate = null,
	DateTimeOffset? toDate = null
)

Parameters

containerKey  Guid
The container for which the ledger entries are to be fetched
materialKey  Guid
The material for which the ledger entries are to be fetched
fromDate  NullableDateTimeOffset  (Optional)
The lower bound of dates for which the ledger entries are to be fetched
toDate  NullableDateTimeOffset  (Optional)
The upper bound of dates for which the ledger entries are to be fetched

Return Value

IQueryResultSetIStockLedgerEntry
The query result set of the ledger entries
See Also