Ektron CMS400.NET API Documentation
|
Increases the stock level for a catalog entry (product) based on its ID and the given quantity. For example, if you need to increase the stock level of a given item (for example, item ID=12) by ten in your inventory system, you might use the following line of code:
inventory.IncreaseStockLevel(12, 10);
public virtual void IncreaseStockLevel(long entryId, int quantity);
Public virtual Function IncreaseStockLevel(entryId As long, quantity As Integer) As void
Parameters |
Description |
entryId |
Enter the ID of the catalog entry (product). |
quantity |
Enter the quantity by which the stock level will increase. |
The default implementation uses GetInventory() and SaveInventory().
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|