
The busItem class controls the inventory in the Web Store application. It provides features for the online store in accessing items and showing list of items as well as providing limited stock updat functionality.
Inventory items by default are assumed to be non-physical which means stock updates do not occur. If the Physical flag is set on the DataRow member/table field the item increases and decreases inventory through the UpdateInventoryCount() method. Inventory can be checked through the CheckStock() method.
Note: The Web store implementation of inventory updates inventory only when an order is saved to keep inline with the Web metaphor where orders are virtual until saved. Only when an invoice is written to disk is the inventory updated.
The underlying table is wws_items
public class busItem : wwBusiness
Class Members
Requirements
Namespace: Westwind.WebStore© West Wind Technologies, 1996-2018 • Updated: 05/04/05
Comment or report problem with topic