Stock Management Provider
IStockManagementRepositoryService in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a stock management repository service.
Operations
Adjust
Act
ManufacturedMaterial manufacturedMaterial Place place Int32 quantity Concept reason
Performs a stock adjustment for the specified facility and material.
GetBalance
Int32
Place place ManufacturedMaterial manufacturedMaterial
Gets the balance for the material.
GetConsumed
IEnumerable<ActParticipation>
Guid manufacturedMaterialKey Guid placeKey Nullable<DateTimeOffset> startPeriod Nullable<DateTimeOffset> endPeriod
Get the total amount of consumed objects
FindAdjustments
IEnumerable<Act>
Guid manufacturedMaterialKey Guid placeKey Nullable<DateTimeOffset> startPeriod Nullable<DateTimeOffset> endPeriod
Find adjustments matching the specified
Implementations
Local Stock Management Repository - (SanteDB.Core.Api)
Represents a stock management repository service.
Service Registration
...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
<serviceProviders>
...
<add type="SanteDB.Core.Services.Impl.Repository.LocalStockManagementRepositoryService, SanteDB.Core.Api, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
...
</serviceProviders>Example Implementation
References
Last updated
Was this helpful?