
Shopping Cart Reference
209
Inventory Control
The service release of Drumbeat eStore builder includes several new inventory
related capabilities that are enabled through the eStore inventory contracts. The
use of these contracts is illustrated in DrumNote_508.
Replace [token] in [target] with product availability
from [recordset]
This is an interaction between a recordset and a text element or hidden form
element that replaces a token with the availability of a given product. The contract
assumes that the recordset contains the columns to store the units in stock, the
units on order and the reorder level. It dynamically calculates the difference
between the units in stock and the units on order and compares the difference to
the reorder level value. If the difference exceeds the reorder level, the item is
considered to be in stock, and an in-stock message set via a parameter is used to
replace the token in the element. Otherwise, the item is considered out of stock,
and an out-of-stock message replaces the token.
Parameters:
In-stock Msg is the message displayed if the product is calculated to be in stock.
Out-of-stock Msg is the message displayed if the product is determined to be
out of stock.
ReorderLevel Col is the name of the recordset column containing the reorder
level value
StockLevel Col is the name of the recordset column containing the current
number of items in stock
UnitsOnOrder Col is the name of the recordset column containing the current
number of items on order.
Token is the case sensitive text that will be replaced by the in-stock or
out-of-stock message.
Participants:
Recordset
Target (edit box, text element)
Содержание DRUMBEAT 2000 ECOMMERCE EDITION
Страница 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Страница 6: ...Contents 6 ...
Страница 12: ...Introduction 12 ...
Страница 90: ...Chapter 2 90 ...
Страница 110: ...Chapter 3 110 ...
Страница 124: ...Chapter 5 124 ...
Страница 142: ...Chapter 7 142 ...
Страница 152: ...Chapter 8 152 ...
Страница 236: ...Chapter 10 236 ...