XML tag | Description |
<qty> | Optional. Quantity. Price returned is for specified quantity instead of per unit. If no <qty></qty> tags are passed, then ww.dll assumes the quantity is 1 and returns the price for a quantity of 1. See How ww.dll reacts to quantity tags for more information. |
<department> | <item> department. |
<category> | <item> category. |
<item> | Item. |
<pass_no> | Optional. Pass number. If the corresponding pass template contains a special macro (e.g., SELECTLAST()ITEMSPECIAL ("ONLINE ")), then a discounted price is returned in price_xml in the [ext] field. The specials can be any of the following in the macro for the pass template: selectivespecial, globalspecial, itemspecial or special. If the pass is voided or expired, then the discounted price is not returned. See main description of this call for an example. |
<calcprice> | Optional. Boolean (1 = calculate the price, 0 = don’t calculate the price) |
<max4sale> | Optional. Boolean (1 = return Max4Sale information, 0 = don’t return Max4Sale information) |
<calcpoints> | Optional. Boolean. If 1, a point cost of each item (at qty=1) is returned as <pts_cost>. Note: The ckpts4sale (is Points4Sale enforced) and pts4saledp (Dynamic Pricing Rule to use to calculate Points4Sale points to deduct) fields from the items table must be obtained in the field list from the item record (e.g., <fields>it.department, it.category, it.item, i.ckmax4sale, ckpts4sale, pts4saledp</fields>). Also note that all item reservation functionality works the same for Points4Sale capbility as it does for Max4Sale capability except that the total point cost is stored in the item_res.pts4qty field. |
<avail> | Optional. Returns information on whether a particular item is available based on Max4Sale or Points4Sale restrictions for a certain date or date range. If the tag is absent or is specified as <avail>0</avail>, nothing is calculated. See Note on the <avail> tag. |
<account> | Optional. An account nickname. When used, item price information is returned based on any Dynamic Pricing Rule associated with the account. If a user is logged into a group (which is really an account), that group name is passed to ww.dll when getting product prices and any Dynamic Pricing Rule assigned to that account is applied to the prices. Note: In order for Dynamic Pricing Rules assigned to accounts to work correctly in E-Commerce module, you must add the following settings to the [Preferences] section of the Sales32c.INI file for the Sales Host and the salespoint where you recall these sales: [Preferences] ApplyAccountRulesOnRecall=FALSE RecalculatePriceOnRecall=FALSE Without these settings in place, you see incorrect pricing on recall of these sales. |
<fields> | Optional. Fields to be returned. See Note on the <fields> tag. |
<mktgcode> | Optional. Marketing code. See ww.dll now supports specials. |
<srcecode> | Optional. Source code. See ww.dll now supports specials. |
Field | Description |
department | Department. |
category | Category. |
item | Item. |
descrip | Description. |
price_type | Price type. |
dp_set_id | The set of Dynamic Pricing Rules to apply first. |
price_cols | Price columns – 1, 2 or 3. |
wknd_start | Weekend start. |
wknd_end | Weekend end. |
rate_sched | Rate schedule. |
daily_pric | Daily price. |
monday_0 | Default price. |
monday_1 | Price during special rate period 1. |
monday_2 | Price during special rate period 2. |
monday_3 | Price during special rate period 3. |
monday_4 | Price during special rate period 4. |
monday_5 | Price during special rate period 5. |
tuesday_0 | Default price. |
tuesday_1 | Price during special rate period 1. |
tuesday_2 | Price during special rate period 2. |
tuesday_3 | Price during special rate period 3. |
tuesday_4 | Price during special rate period 4. |
tuesday_5 | Price during special rate period 5. |
weds_0 | Default price. |
weds_1 | Price during special rate period 1. |
weds_2 | Price during special rate period 2. |
weds_3 | Price during special rate period 3. |
weds_4 | Price during special rate period 4. |
weds_5 | Price during special rate period 5. |
thursday_0 | Default price. |
thursday_1 | Price during special rate period 1. |
thursday_2 | Price during special rate period 2. |
thursday_3 | Price during special rate period 3. |
thursday_4 | Price during special rate period 4. |
thursday_5 | Price during special rate period 5. |
friday_0 | Default price. |
friday_1 | Price during special rate period 1. |
friday_2 | Price during special rate period 2. |
friday_3 | Price during special rate period 3. |
friday_4 | Price during special rate period 4. |
friday_5 | Price during special rate period 5. |
saturday_0 | Default price. |
saturday_1 | Price during special rate period 1. |
saturday_2 | Price during special rate period 2. |
saturday_3 | Price during special rate period 3. |
saturday_4 | Price during special rate period 4. |
saturday_5 | Price during special rate period 5. |
sunday_0 | Default price. |
sunday_1 | Price during special rate period 1. |
sunday_2 | Price during special rate period 2. |
sunday_3 | Price during special rate period 3. |
sunday_4 | Price during special rate period 4. |
sunday_5 | Price during special rate period 5. |
tax_rate | Tax rate. |
tax_rate_b | Tax rate is defined in defaults table. |
cust_tax | Custom tax rate. |
cust_tax_b | Custom tax rate is defined in defaults table. |
fee_rate | Fee rate. |
add_tax | Add tax. |
add_tax_b | Add tax b. |
time_span | Time span. |
span_type | Span type. |
admissions | Admissions. |
split_type | Split type. |
item_type | Item type. |
validate | Validate. |
validate2 | Additional validation. |
ckmax4sale | Check Max4Sale capability. |
ckpts4sale | Check Points4Sale capability. |
pts4saledp | Dynamic Pricing Rule to use to calculate Points4Sale points to deduct. |
novalonret | When a “forced validation” item is returned, the salespoint makes sure the pass is valid prior to returning it? |
set_price | Set price. |
inventory | Inventory. |
invent_id | Inventory ID. |
barcode | Barcode. |
upc | UPC. |
keycode | Keycode. |
keydescrip | Key description. |
mod_reqd | Modifier required? |
multiline | Multiline. |
help_info | Help information. |
price_info | Price information. Includes final price, tax and fee information. |
qty_rem | If <max4sale> is sent as true (<max4sale>1</max4sale>), then information is sent back with the number left to sell at that <datetime>. Otherwise, a - is returned in that field. |
pts_cost | If <calcpoints> is sent as true (<calcpoints >1</calcpoints>), then information is sent back with the points cost of each item (at qty=1). |
avail_info | |
price_xml | Price information. If the <pass_no> tag is sent in and the corresponding pass template contains a specials macro (e.g., SELECTLAST()ITEMSPECIAL ("ONLINE ")), then a discounted price is returned in price_xml in the [ext] field. The specials can be any of the following in the macro for the pass template: selectivespecial, globalspecial, itemspecial or special. If the pass is voided or expired, then the discounted price is not returned. See main description of this call for an example. |