Partager via


GetQuantityDeltas Method (String, SearchOptions)

Returns an InventoryQuantityDeltaCollection containing the quantity deltas that match the search clause.

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

Syntax

'Declaration
Public Function GetQuantityDeltas ( _
    searchClause As String, _
    searchOptions As SearchOptions _
) As InventoryQuantityDeltaCollection
'Usage
Dim instance As InventoryContext
Dim searchClause As String
Dim searchOptions As SearchOptions
Dim returnValue As InventoryQuantityDeltaCollection

returnValue = instance.GetQuantityDeltas(searchClause, _
    searchOptions)
public InventoryQuantityDeltaCollection GetQuantityDeltas(
    string searchClause,
    SearchOptions searchOptions
)
public:
InventoryQuantityDeltaCollection^ GetQuantityDeltas(
    String^ searchClause, 
    SearchOptions^ searchOptions
)
public function GetQuantityDeltas(
    searchClause : String, 
    searchOptions : SearchOptions
) : InventoryQuantityDeltaCollection

Parameters

  • searchClause
    Type: System..::.String
    The expression to filter the quantity deltas on.

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventoryQuantityDeltaCollection
An InventoryQuantityDeltaCollection containing all 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