Retail Predictive Application Server (MOSC)

MOSC Banner

Need help on calculation logic

edited Nov 4, 2015 10:00AM in Retail Predictive Application Server (MOSC) 4 commentsAnswered

Hi,

I am trying to implement  a logic and it is not working. My issue is with below three rules and tsmin is giving 0 value. Any advise on this will help.

Below example lead time = 2,

Start = if(frozen > lead time, if(WD==1, lag(Dispatch tmp)+1,lag(Dispatch tmp)),0)

Dispatch=if(current==0,0,if(frozen > lead time && WD==1,tsmin(calculated index, start),lag(Dispatch tmp))

Dispatch tmp=Dispatch

today
Current567891011121314151617181920
WDFFTTFFTTFTTFFTTF
frozen0012223445666788
Calculated
  Index
99999999999978999999999999111299999914159999999999991819999999
Start 0000001889121212131515
Dispatch000000788111212121415
Dispatch tmp0000007881112121214150

Thanks,

Radhika

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