smart notification condition/calculation help

Sort:
You are not authorized to post a reply.
Author
Messages
Ruma Malhotra
Veteran Member
Posts: 412
Veteran Member

    I am trying to build a smart notification using the activity management piece in Lawson, and I was wondering if anybody can think of a better way to do this:

     

    My infoset has a budget, a commitment and actual amount. I am supposed to notify a user when the expense spent on a project reaches a threshold value which is 5% of a budget.

     

    My expense equals the actual and commitment amount. I have added an calculation column in my sql which is called the remaining amount which is ( budget – (actual
    + commitment).

     

    When this amount reaches 5% of the budget the user should get notified. This has completely stumped me and I have tried different ways but cannot get this to work. A combination of condition calculation will just not work.

    Any ideas ?

    Ruma Malhotra
    Veteran Member
    Posts: 412
    Veteran Member
      SInce I could not get the combination/calculation to work, I added a field in my SQL which tells me whether the Remaining budget is equal to the 5% thereshold value and is populated by a value if this is true or is blank(when false).

      I then added this as a "key" when I define the fields. However on my condition when I use " New Keys", I am not seeing the right results.

      The only issue I can think of is when you define a string column as a key does this work the right way ?


      Matthew Nye
      Veteran Member
      Posts: 514
      Veteran Member
        I dont trust "Has New" condition. Its always been so unreliable for me. If you get rid of the Has New Items you could schedule the note to delivery every hour but create a condition that only shows items >= 5%.
        If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
        You are not authorized to post a reply.