performance goal date last run

58 views
Skip to first unread message

Shereef N Mpm

unread,
Apr 12, 2018, 9:09:34 AM4/12/18
to iDempiere
Hi All,


In idempiere Performance Goal window there is a filed called Date last run.

I am testing the  default “Invoice Net Revenue” performance goal. I have created many sales  invoices. But either  "Measure Actual" or "Date last run" field is not getting updated. After few minutes it changed automatically.

Can anyone tell how can i run this manually. Is there any process associaterd with this so that after creating the invoice i can run that process to update the graph. Or is there any configuration available there we can set a standard intervel time.


Regards,
Shereef N
Nest Information Technologies Pvt Ltd
India



shiju01

unread,
Apr 13, 2018, 12:59:34 AM4/13/18
to iDempiere
Hi

With my limited knowledge

 - it works when a user logs in
 - modify performance measure and activate performance indicator
 

I do not know whether any process is attached!


another point i noticed is that it never worked when the sql query has more than on table joined

Shereef N Mpm

unread,
Apr 17, 2018, 4:22:51 AM4/17/18
to iDempiere
Thank you Shiju for your thoughts.

However i tried logout and login many times after creating the transaction. But the value in the "Measure Actual" or "Date last run" fields remain same. After some random time it changed. 

Please share if anything found..

Alan Lescano

unread,
Apr 17, 2018, 12:56:21 PM4/17/18
to idem...@googlegroups.com
Hi Shereef

Create a process and run it periodically if you want to controll when data is updated. Or you can call it in a event handler, after completing an invoice, for example:

protected String doIt () throws Exception
{
List<MGoal> list = new Query (getCtx(), MGoal.Table_Name,
"IsActive='Y'", get_TrxName())
.list();
for (MGoal goal : list) {
boolean updated = goal.updateGoal(true);
this.addLog(goal.getName() + " processed: " + updated);
}
return "";
} // doIt

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/e54d38ae-01ae-493b-a87b-c7daa69065ff%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages