Partager via


DeleteQuantityDeltas Method (String)

Deletes all the Quantity deltas that match the specified filter.

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

Syntax

'Declaration
Public Sub DeleteQuantityDeltas ( _
    deleteExpression As String _
)
'Usage
Dim instance As InventoryContext
Dim deleteExpression As String

instance.DeleteQuantityDeltas(deleteExpression)
public void DeleteQuantityDeltas(
    string deleteExpression
)
public:
void DeleteQuantityDeltas(
    String^ deleteExpression
)
public function DeleteQuantityDeltas(
    deleteExpression : String
)

Parameters

  • deleteExpression
    Type: System..::.String
    An expression to specify which records should be deleted.

Remarks

Deletes the quantity update records made by the runtime site. The InventoryQuantityDeltas are the quantities that were decremented/incremented for each product in the inventory system. This method deletes all of the quantity deltas that match the search criteria, deleteExpression.

Permissions

See Also

Reference

InventoryContext Class

InventoryContext Members

DeleteQuantityDeltas Overload

Microsoft.CommerceServer.Inventory Namespace