I am using a filter on a grid. I have linked an app variable with the filter. When UNSRCSYS is changed i want to set the app variable ParmSourceSystem to the value of the filter.
However it doesn't seem to be getting set correctly.
On the grid I have an icon that kicks off an RPG program. The RPG program executes a GetAppVar('ParmSourceSystem') but the value of the ParmSourceSystem is the previous value of the filter not the new value.
After the RPG program returns success i then execute a filter widget to load up the form.
The filter is set using a drop down.
In developer tools I am seeing 2 filter values: filter_F1.UNSRCSYS: APOLLO and filter_UNSRCSYS: OMS.
APOLLO is the prior value of the filter and OMS is the new value of the filter.
In dev tools, when the event program is called 'VSF205P001', the ParmSourceSystem value is APOLLO not OMS.
However it doesn't seem to be getting set correctly.
On the grid I have an icon that kicks off an RPG program. The RPG program executes a GetAppVar('ParmSourceSystem') but the value of the ParmSourceSystem is the previous value of the filter not the new value.
After the RPG program returns success i then execute a filter widget to load up the form.
The filter is set using a drop down.
In developer tools I am seeing 2 filter values: filter_F1.UNSRCSYS: APOLLO and filter_UNSRCSYS: OMS.
APOLLO is the prior value of the filter and OMS is the new value of the filter.
In dev tools, when the event program is called 'VSF205P001', the ParmSourceSystem value is APOLLO not OMS.
Comment