on 01-13-2012 5:26 AM
Hi,
I have created a class and an object in BO XI R3 Universe designer.
I am getting the parsing error while defining the object when using the custom SQL as
select decode(matteraction,null,decode(matterissue,null,'MATTER','ISSUE'),decode(matterissue,null,'TYPE IS ACTION',' ACTIONu2019)) as TYPE from wh_cf_cmsu
The object Type is "character", i have tried with Long Text, Number, Date as well and the same sql works fine by returning String values through TOAD.
Do we have any constrains in using DECODE in BO XI R3 or any other syntax please....
Please guide me in resolving this issue.
Thanks,
Karthik.
Hi,
1.At back end check the data type for matteraction column and define it accordingly in object definition.
2. Try to break your select clause definition into smaller parts and check it where the exact issue is as below
i.select decode(matterissue,null,'TYPE IS ACTION',' ACTIONu2019) ............
ii.select decode(matteraction,null,decode(matterissue,null,'MATTER','ISSUE') ..........
iii.select decode(matteraction,null,decode(matterissue,null,'MATTER','ISSUE'),decode(matterissue,null,'TYPE IS ACTION',' ACTIONu2019)) as TYPE from wh_cf_cmsu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moving to appropriate forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.