ww.dll
Support was added to ww.dll for Dynamic Special Rules. These rules can be assigned to a special and processed using all the conditions of the Dynamic Pricing interface (DOW, TSPAN, etc.). There are currently only a few value actions.
SETSPECIAL(<pct>,<amount>) and SETSPECIALPRICE(<finalprice>).
Example:
IF(DOW(FRI),SETSPECIAL(50),SETSPECIAL(10))
IF(DOW(SAT), SETSPECIALPRICE(2.00))
This would be 10% off, 50% off on Fridays and a set price of $2.00 on Saturdays.
There are also two new conditions added:
SPECIAL(<name>)
SPECIALUDF(<udf>)
The condition SPECIAL() returns true if a special is applied. If it has a name listed, it is only true if that special is applied (e.g., SPECIAL(DYNAMO) ) SPECIALUDF is true if the user defined field matches the argument.
Note: The Dynamic Specials calculate once for a line item (and not per day like Dynamic Pricing Rules).