Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010787Openbravo ERP01. General setuppublic2009-09-27 13:152009-10-02 12:03
rafaroda 
iciordia 
normalminoralways
newopen 
20rPath Linux
main 
 
Core
No
0010787: Parameters for alerts
It would be useful to be able to define parameters for alerts.

For instance, I want to be alerted when a certain invoiced amount is reached by a customer for a certain product. Nowadays I have to hard-code this amount, the business partner and the product in the alert itself. If my workmate wants the same alert for a different amount, business partner and product a new alert has to be setup.
A new tab called "Parameter", child of "Alert Rule" (General Setup || Application || Alert || Alert Rule)

One could define any variable name (unique name per alert) and value.

To make it more user friendly, there should be the possibility of somehow having a selector for the values. I mean, not having to copy paste the UUID value of a product or a business partner but having the product or business partner selector.
No tags attached.
Issue History
2009-09-27 13:15rafarodaNew Issue
2009-09-27 13:15rafarodaAssigned To => iciordia
2009-09-28 22:11iciordiaNote Added: 0020419
2009-10-02 11:57rafarodaDescription Updated
2009-10-02 12:03rafarodaNote Added: 0020659

Notes
(0020419)
iciordia   
2009-09-28 22:11   
Simple work-around in the meantime: if the alert needs a parameter (or a number of parameters) it is possible to add a 'info' table (implementing one row pattern) to hold those parameters and then define the alert sql using that table
(0020659)
rafaroda   
2009-10-02 12:03   
Can alerts take session variables? If so, another workaround would be to define a new session variable and use it.