You are here: Ektron Namespace > Providers API > Ektron.Cms.Commerce.Inventory Namespace > Ektron.Cms.Commerce.Inventory.Provider Namespace > InventoryProvider Class > InventoryProvider Methods > GetUnitsOnOrder
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
InventoryProvider.GetUnitsOnOrder Method

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.

inventory.GetUnitsOnOrder(12);
C#
public virtual int GetUnitsOnOrder(long entryId);
Visual Basic
Public virtual Function GetUnitsOnOrder(entryId As long) As Integer
Parameters 
Description 
entryId 
Enter the ID for a catalog entry (product). 

Returns the number of units on order for a given catalog entry's ID.

The default implementation uses GetInventory().

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!