Ektron CMS400.NET API Documentation
|
The methods of the InventoryProvider class are listed here.
This section contains methods for the InventoryProvider class.
|
Name |
Description |
|
Decreases the stock level for a catalog entry (product) based on its ID and the given quantity. For example, if a site visitor purchases two copies of the same book (ID=12) from your site, you might use the following line of code to decrease the book's in-stock quantity by two: | |
|
Gets inventory information for a specified catalog entry (product). Some of the items returned include:
| |
|
Returns the re-order level for a given catalog entry (product). The re-order level is the inventory level at which new stock should be ordered. Use this method when you only want to return the re-order level for a specified item. If you want additional inventory information about an item, use the GetInventory method. Below is an example of using this method in code to check the re-order level for an item with an ID of 12. | |
|
Gets the number of units in stock for a given catalog entry's ID. Use this method when you only want to return the number of units in stock for a specified item. If you want additional inventory information about an item, use the GetInventory method. Below is example code that returns the number of units in stock for an item with an ID of 12. | |
|
Gets the number of units on order for a given catalog entry's ID. This is the number of units that the store has ordered to replenish inventory and NOT the number of units that are currently on order by customers. Use this method when you only want to return the number of units on order for a specified item. If you want additional inventory information about an item, use the GetInventory method. Below is example code that returns the number of units on order for an item with an ID of 12. | |
|
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: | |
|
Saves inventory information for a catalog entry. Some of the items saved include:
|
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|