Kopīgot, izmantojot


AddInventoryQuantityDelta Method (String, String, String, String, DateTime, Decimal)

Add an InventoryQuantityDelta to this InventoryQuantityDeltasDataSet..::.InventoryQuantityDeltasDataTable and return an InventoryQuantityDelta.

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

Syntax

'Declaration
Public Function AddInventoryQuantityDelta ( _
    InventoryCatalogName As String, _
    ProductCatalogName As String, _
    ProductId As String, _
    VariantId As String, _
    DateCreated As DateTime, _
    Quantity As Decimal _
) As InventoryQuantityDeltasDataSet..::.InventoryQuantityDelta
'Usage
Dim instance As InventoryQuantityDeltasDataSet..::.InventoryQuantityDeltasDataTable
Dim InventoryCatalogName As String
Dim ProductCatalogName As String
Dim ProductId As String
Dim VariantId As String
Dim DateCreated As DateTime
Dim Quantity As Decimal
Dim returnValue As InventoryQuantityDeltasDataSet..::.InventoryQuantityDelta

returnValue = instance.AddInventoryQuantityDelta(InventoryCatalogName, _
    ProductCatalogName, ProductId, VariantId, _
    DateCreated, Quantity)
public InventoryQuantityDeltasDataSet..::.InventoryQuantityDelta AddInventoryQuantityDelta(
    string InventoryCatalogName,
    string ProductCatalogName,
    string ProductId,
    string VariantId,
    DateTime DateCreated,
    decimal Quantity
)
public:
InventoryQuantityDeltasDataSet..::.InventoryQuantityDelta^ AddInventoryQuantityDelta(
    String^ InventoryCatalogName, 
    String^ ProductCatalogName, 
    String^ ProductId, 
    String^ VariantId, 
    DateTime DateCreated, 
    Decimal Quantity
)
public function AddInventoryQuantityDelta(
    InventoryCatalogName : String, 
    ProductCatalogName : String, 
    ProductId : String, 
    VariantId : String, 
    DateCreated : DateTime, 
    Quantity : decimal
) : InventoryQuantityDeltasDataSet..::.InventoryQuantityDelta

Parameters

  • ProductCatalogName
    Type: System..::.String
    The unique identifier for the Product catalog containing the product or variant.

Return Value

Type: Microsoft.CommerceServer.Inventory..::.InventoryQuantityDeltasDataSet..::.InventoryQuantityDelta
An InventoryQuantityDeltasDataSet containing the added set.

Remarks

The InventoryQuantityDeltasDataSet object must be saved before these changes will be persisted to the database.

Permissions

See Also

Reference

InventoryQuantityDeltasDataSet..::.InventoryQuantityDeltasDataTable Class

InventoryQuantityDeltasDataSet..::.InventoryQuantityDeltasDataTable Members

AddInventoryQuantityDelta Overload

Microsoft.CommerceServer.Inventory Namespace