CRM On Demand - Administration (MOSC)

MOSC Banner

Calculation using expression builder

edited Oct 27, 2013 5:41PM in CRM On Demand - Administration (MOSC) 2 commentsAnswered
I need to do some calculations on the Opportuntiy object.

We have 2 fields

Estimated Gallons/Month - Number Type

Expected 1st Delivery - Date Type

Based on these 2 we ahve to calculate the Estimated Annual Gallons

THe calculation needed is as follows:

IF the Expected 1st Delivery YEAR is same as CURRENT YEAR then ((12-CURRENT MONTH) * (Gallons/Month)) else 0

+

IF the Expected 1st Delivery YEAR is same as CURRENT YEAR then Count the remaining days from the current month and multiply that with (gallons/month / 30)

- Using Julain Year I was able to compare the YEAR values. But can I also calculate the month number and day for the rest of the calculation?

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