Evaluate Content of Transaction.Comment on Receipt.xml

Mar 07, 2007 2 Replies

I need to be able to evaluate the content entered into Transaction.Comment on a transaction in the Receipt.xml document. This would enable me to have, for example, a gift receipt section print as part of the default receipt if the user types the word "gift" into the Transaction.Comment field. I can also have a coupon section print if the user types the word "coupon", etc. At present the field Transaction.Comment can only be evaluated based on if it holds information, not the content of the information. The same hold true for Transaction.ReferenceNumber.



Bjorn


---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane.



formatting link
acff9f-04f5-437d-9747-bb523e43e45a&dg=microsoft.public.pos


Hi Otto, It is possible what you need to do is that override the condition of Reference No. Do the following

Transaction.Comment Cut above block before which is just below the CONDITION> Len(Transaction.ReferenceNumber) and put this to above of that condition the whole look like this. SUB: PrintTransactionComment ===========================

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required