Implement change scheduler state at scheduler window

Description

Add a new toolbar button to the scheduler window that will:

1. Read current state of the scheduler record
2. Allow user to change the state of the scheduler record

Environment

None

Activity

Show:
Heng Sin Low
October 4, 2019, 9:26 AM
Carlos Ruiz
October 4, 2019, 10:17 AM

Hi , nice improvement!

It could be possible to add a field showing the current status of the job?

At this moment to know if is running or not, it’s necessary to push the new toolbar button, don’t know if that’s possible to be shown also in grid mode.

Regards,

Carlos Ruiz

Heng Sin Low
October 4, 2019, 12:25 PM

Hi Carlos,

Yes, that’s possible with the use of custom field editor. I don’t like that for the fact that it will need to create a new AD_Reference data type that’s visible globally although it is actually window specific.

Regards,

Low

Carlos Ruiz
October 4, 2019, 3:49 PM

Thanks , maybe is possible to move the button as a window field? The button label has the information, it will display that information if moved to the window?

Heng Sin Low
October 8, 2019, 2:49 AM

https://bitbucket.org/idempiere/idempiere/commits/9083c2d

Changes:
1. Added optional reference filter by ad_element_id
2. Added scheduler state button field to scheduler window
3. Deactivate the scheduler state toolbar button

Assignee

Heng Sin Low

Reporter

Heng Sin Low

Labels

None

Tested By

None

Components

Fix versions

Priority

Major
Configure