Wasnt really sure how to phrase this title, every time I think I have this figured out it always comes back to trip me up.
I am using B1 Boyum and storing a string in a variable.
The code looks like this
@STORE30 = '(T3.ItmsGrpNam LIKE 'Comm%%' OR T3.ItmsGrpNam = 'Vended Ancillary' OR T3.ItmsGrpNam = 'Merchant Fee and CC' OR T3.ItmsGrpNam = 'Laundry P&A')'
However this gives me unexpected END errors, ive tried escaping with + on either side of the first one ('Comm%%') which doesnt give me the unexpected end error but stops the string at T3.ItmsGrpNam LIKE
I need to have the whole string including the apostrophes of each of in between.
One day I will get the hang of this, happy to read some resources on best practices if someone can also supply some links.