You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hello,
I would like to implement a decode function.
e.g.
DECODE (al1.dcf_status,
'PART RECEIVED', 'RECEIVED',
al1.dcf_status
)
when I define an expression like:
row1.DCF_STATUS =="PART RECEIVED"?"RECEIVED":row1.DCF_STATUS
it does not work.
Why?
Any ideas??
Thanks
Didier
Offline
Hello
row1.DCF_STATUS =="PART RECEIVED"?"RECEIVED":row1.DCF_STATUS
If the filed type is a String, change to the following expression:
row1.DCF_STATUS.equals("PART RECEIVED")?"RECEIVED":row1.DCF_STATUS
Best regards
shong
Offline
Hello
Is this syntax correct for 3 values:
Yes, you can ![]()
Best regards
shong
Offline
Pages: 1