Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Case statement in an object

$
0
0

PFA

 

Hi,

 

I am using the below case statement in an object of a BO Universe but i am getting the oracle errors while parsing the object. please suggest.

 

  CASE WHEN ( LINE_ITEM_DN.AUTH_DISC_OT_PC/100 )<( Case

                                                                                                    When LINE_ITEM_DN.LINE_TYPE = 'BD'

                                                                                                     Then LINE_ITEM_DN.BL_GUIDANCE_FLOOR_PCT

                                                                                                      else LINE_ITEM_DN.LDS_GUIDANCE_FLOOR_PCT

                                                                                                    end )  THEN "BF"

          WHEN ( LINE_ITEM_DN.AUTH_DISC_OT_PC/100 )=( Case

                                                                                          When LINE_ITEM_DN.LINE_TYPE = 'BD'

                                                                                          Then LINE_ITEM_DN.BL_GUIDANCE_FLOOR_PCT

                                                                                           else LINE_ITEM_DN.LDS_GUIDANCE_FLOOR_PCT

                                                                                            end ) THEN "AF"

          WHEN ( LINE_ITEM_DN.AUTH_DISC_OT_PC/100 ) BETWEEN (( Case

                                                                                                              When LINE_ITEM_DN.LINE_TYPE = 'BD'

                                                                                                               Then LINE_ITEM_DN.BL_GUIDANCE_FLOOR_PCT

                                                                                                                else LINE_ITEM_DN.LDS_GUIDANCE_FLOOR_PCT

                                                                                                                   end )

                                                                                                          AND ( Case

                                                                                                                        When LINE_ITEM_DN.LINE_TYPE = 'BD'

                                                                                                                        Then LINE_ITEM_DN.BL_GUIDANCE_TYPICAL_PCT

                                                                                                                             else LINE_ITEM_DN.LDS_GUIDANCE_TYPICAL_PCT

                                                                                                                   end )) THEN "FT"

          ELSE "NG"

 

Thanks,

Bhaskar


Viewing all articles
Browse latest Browse all 1291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>