GetQuantityDeltas Method (String, SearchOptions, Int32)

Returns an InventoryQuantityDeltaCollection containing the quantity deltas that match the searchClause. The total number of records matching the query are available.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function GetQuantityDeltas ( _
    searchClause As String, _
    searchOptions As SearchOptions, _
    <OutAttribute> ByRef totalRecords As Integer _
) As InventoryQuantityDeltaCollection
'Usage
Dim instance As InventoryContext
Dim searchClause As String
Dim searchOptions As SearchOptions
Dim totalRecords As Integer
Dim returnValue As InventoryQuantityDeltaCollection

returnValue = instance.GetQuantityDeltas(searchClause, _
    searchOptions, totalRecords)
public InventoryQuantityDeltaCollection GetQuantityDeltas(
    string searchClause,
    SearchOptions searchOptions,
    out int totalRecords
)
public:
InventoryQuantityDeltaCollection^ GetQuantityDeltas(
    String^ searchClause, 
    SearchOptions^ searchOptions, 
    [OutAttribute] int% totalRecords
)
public function GetQuantityDeltas(
    searchClause : String, 
    searchOptions : SearchOptions, 
    totalRecords : int
) : InventoryQuantityDeltaCollection

Parameters

  • searchClause
    Type: System..::.String
    The expression to filter the quantity deltas on.
  • totalRecords
    Type: System..::.Int32%
    The total number of records matching the query.

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventoryQuantityDeltaCollection
An InventoryQuantityDeltaCollection containing the quantity deltas that match the searchClause. The results are filtered as per the searchOptions.

Remarks

The InventoryQuantityDeltas are the quantities that were decremented/incremented for each product in the inventory system.

The returned InventoryQuantityDeltaCollection contains the quantity deltas that match the searchClause.

Permissions

See Also

Reference

InventoryContext Class

InventoryContext Members

GetQuantityDeltas Overload

Microsoft.CommerceServer.Inventory Namespace