tford
I am getting an error in the browser when I concatenate the attributes as suggested
Rule:
Invoice.InvoiceNo=Invoice.InvNoYear+Invoice.InvNoMonth+'-'+Invoice.InvNoNo
This passes the entegrity test
but in the browser I get this error:
"Operation error. com.bas.shared.ruleparser.ParseException Operands of addition expression are of incompatible types"
This is strange because I have a similar rule that concatenates dates and text types , except this it does not contain a number type. So this is probably where the problem is.
How do i get round a number in a rule that concatenates with other types - can I convert the number type in the rule somehow ?