I would like to make a formatted search on payment forms-both outgoing and incoming- which copies the partnername or the accountname according to the doctype into the journal remarks field.
I've created a query but it doesnt work. It runs error.
SELECT case when $[ORCT.doctype]='A' then $[RCT4.Descrip] else
Please, can you help whats wrong with this?
Thank you in advance!