Receipt - Conditional XML


T

TJ

Does anyone know whether it's possible to use a string as part of the
conditional expression ? The code I'm trying to use is :

<IF>
<CONDITION> Entry.Item.ItemLookupCode = "GV" </CONDITION>
<THEN>"XYZ"</THEN>
<ELSE>"123"</ELSE>
</IF>

It's working fine if I replace the "GV" with a number, but always hits the
ELSE expression when it's a string. I've also tried using a string variable
here, which also fails.

tnx
TJ
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

XML Receipt and Conditions 1
Help with Receipt xml <CONDITION> statement 3
XML <IF> condition 1
Receipt XML 4
xml receipt modification 1
Receipt XML - Jeff 1
Line# in XML receipt 2
xml Receipt help 2

Top