Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036032Openbravo ERP00. Application dictionarypublic2017-05-18 10:062022-02-01 08:08
aferraz 
Triage Platform Base 
normalminoralways
newopen 
30Professional Appliance
 
 
Core
No
0036032: On change functions are not executed when opening a Process Definition
On change functions are not executed when opening a Process Definition
- Create a process definition with two parameters.
- Add a default value to first parameter.
- Add an on change function to first parameter which will set any value to second parameter.
- Leave empty second parameter default value.

- Open the process definition.
- Realize first parameter is loaded with default value.
- Realize on change function is not executed and second parameter is empty.
- Change the value of first parameter.
- Realize on change function is executed and second parameter is loaded with the correct value.

- Open a standard window and realize defined callouts are executed.

As workaround, we can use a Filter Expression as default value in Process Definition second parameter and duplicate there on change function logic.
At least two possible solutions which should be analyzed:

- Execute on change functions when opening a Process Definition, same as callouts are executed when opening a Standard Window.

- Enable on load functions for every type of process definition.
No tags attached.
related to defect 0036031 acknowledged Triage Platform Base Default value wrongly set in Process Definition parameter 
blocks feature request 0036034 new Triage Omni OMS Improve organization and general ledger parameters default value and on change function inside Aging process definition 
Issue History
2017-05-18 10:06aferrazNew Issue
2017-05-18 10:06aferrazAssigned To => platform
2017-05-18 10:06aferrazModules => Core
2017-05-18 10:06aferrazTriggers an Emergency Pack => No
2017-05-18 10:06aferrazRelationship addedrelated to 0036031
2017-05-18 10:15aferrazRelationship addedblocks 0036034
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.