Hi All,
Has anyone used a conditional statement in a receipt to print different comments based on a value in one of the custom text fields.
For example I have the CustomText1 field configured in customers and populated with a value to allow customers to be grouped (such as say Retail and Wholesale customers). I wish to print different messages on the receipts based on which group the customer belongs to.
I am trying to use the following syntax to determine which message I should print -
Customer.CustomText1 = "Retail"
The expression always seems to be evaluating to false and therefore never prints the correct message. I understand there may be issues with string matching but I don't know how else to group the customers ( I need to allow for at least three classifications).
Has anyone done this or can you suggest an alternative.
Thanks,
Jason.