on 09-18-2007 3:57 PM
Hi Experts!
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
$[ORCT.Cardname] end
Please, can you help whats wrong with this?
Thank you in advance!
Try this
SELECT CASE WHEN $[ORCT.DocType] = 'C' THEN $[$32.1]
WHEN $[ORCT.DocType] = 'S' THEN $[$32.1]
ELSE $[$71.2] END
Good luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.