NewInventorySku Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Creates a new InventorySku with the same schema as InventorySkusDataSet..::.InventorySkusDataTable.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function NewInventorySku As InventorySkusDataSet..::.InventorySku
'Usage
Dim instance As InventorySkusDataSet..::.InventorySkusDataTable
Dim returnValue As InventorySkusDataSet..::.InventorySku
returnValue = instance.NewInventorySku()
public InventorySkusDataSet..::.InventorySku NewInventorySku()
public:
InventorySkusDataSet..::.InventorySku^ NewInventorySku()
public function NewInventorySku() : InventorySkusDataSet..::.InventorySku
Return Value
Type: Microsoft.CommerceServer.Inventory..::.InventorySkusDataSet..::.InventorySku
A new InventorySku.
Remarks
The returned InventorySku contains the SkuOid, InventoryCatalogName, ProductCatalogName, SkuId, SkuVariantId, Backorderable, Preorderable, Status OnHandQuantity, ExcessOnHandQuantity, ReorderPoint, TargetQuantity, BackorderLimit PreorderLimit, StockOutThreshold, PreorderAvailabilityDate, BackorderAvailabilityDate, LastRestocked, UnitOfMeasure, Memo, SkuLastModified, PreorderedQuantity, BackorderedQuantity, and SkuTimeStamp properties.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
InventorySkusDataSet..::.InventorySkusDataTable Class