02-27-04 08:36 PM
Hi Quinn
For #1, try "product.product_catalog" instead of
"product._product_CatalogName". This key is not set by QCI but should be
there if you used the managed LineItem class, I think (verify by looking at
the pipeline log).
For #2, you're own your own as to the BizDesk mods. We've had this on the
feature list for a while (properties on the RHS of expressions and not just
IMMED-VALs) but it hasn't been addressed yet. What's your scenario? Is
this working for you on the back-end (evaluator side)? I don't think it's
been tested.
regards
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
From: Quinn.Wilson@nygard.com (Quinn Wilson)
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Subject: Expression Syntax
Date: 27 Feb 2004 09:35:41 -0800
Organization: http://groups.google.com
Lines: 27
Message-ID: <43724709.0402270935.7cf12fbb@posting.google.com>
NNTP-Posting-Host: 64.4.94.50
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1077903341 16539 127.0.0.1 (27 Feb 2004
17:35:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 27 Feb 2004 17:35:41 +0000 (UTC)
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!npeer.de.kpn-eurorings.net!news.glorb.com!postnews1.google.com!not-for-
mail
Xref: cpmsftngxa06.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2546
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
I have two problems I want to solve.
First I want to apply a discount to the contents of (only) one
catalog. I am trying to identify the name of the Catalog using the
syntax below but it doesn't seem to work.
Has anyone done something similar?
<CLAUSE OPER="equal">
<Property ID="product._product_CatalogName" TYPE="STRING"/>
<IMMED-VAL TYPE="string">
<![CDATA[OutletStore]]>
</IMMED-VAL>
</CLAUSE>
Second I have set up an expression "On Sale" to compare two product
attributes, namely the list price and an attribute I've generated
called "OriginalRetail".
I modified this in the ES_ExprInfo table by hand because the bizdesk
complains that the arguments are not valid. Is there anyway to extend
the expression syntax to make this sort of thing not break in the
bizdesk expression builder?
<CLAUSE OPER="less-than">
<Property ID="product._product_cy_list_price" TYPE="CURRENCY"/>
<Property ID="product._product_OriginalRetail" TYPE="CURRENCY"/>
</CLAUSE>
[ Post a follow-up to this message ]
|