Fixed Assets - EBS (MOSC)

MOSC Banner

How to calculate the formula for 'From Prorate Date Years' in Asset view financial information form.

edited Jan 27, 2016 11:51AM in Fixed Assets - EBS (MOSC) 2 commentsAnswered

Hi Experts,

 

    Can you please guide me to calculate the formula for 'From Prorate Date Years' in asset view financial information form.Below screen shot attached.

I am using the below formula but fails for few assets.

select TO_CHAR (  TRUNC (books.life_in_months / 12)

                  + (MOD (books.life_in_months, 12) / 100),

                  '90D00'

                 ) life_in_months,

         CASE

            WHEN   TRUNC

                      (  (  books.life_in_months

                          - (TRUNC (MONTHS_BETWEEN (SYSDATE,

                                                    books.deprn_start_date

                                                   )

                                   )

                            )

                         )

                       / 12

                      )

                 + (  MOD ((  books.life_in_months

                            - (TRUNC (MONTHS_BETWEEN (SYSDATE,

                                                      books.deprn_start_date

                                                     )

                                     )

                              )

                           ),

                           12

                          )

                    / 100

                   ) < 0

               THEN 0

            ELSE   TRUNC (  (  books.life_in_months

                             - (TRUNC (MONTHS_BETWEEN (SYSDATE,

                                                       books.deprn_start_date

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center