Ektron CMS400.NET API Documentation
|
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.
inventory.GetUnitsInStock(12);
public virtual int GetUnitsInStock(long entryId);
Public virtual Function GetUnitsInStock(entryId As long) As Integer
Parameters |
Description |
entryId |
Enter the ID for a catalog entry (product). |
Returns the number of units in stock for a given catalog entry's ID.
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|