Procedure Trigger on Pager

Procedure Trigger on Pager

The Pager Trigger is a property of the Pager object which allows to trigger execution of a Procedure whenever the user selects an item from the Pager. This feature can be used for example to link the list of items of two independent pagers. Consider a screen having two pagers set on two independent entities such as Cost Centre and Account, and a procedure which selects Accounts based on a cube which maps Accounts to Cost Centers (a cube dimensioned by Account and Cost Centre). Setting the procedure to trigger on the Pager with Cost Centres, will allow the user to select a Cost Centre and then view in the Accounts Pager only those Accounts determined by the Cost Center / Account cube.

Example

2010-07-26_135057.jpg  

 

To set a Trigger on a Pager,

2010-07-26_135521.jpg

 

The following two options can be applied.

 

Disable layout refresh. Disables the refresh of all screen objects having a Layout when the user makes a selection on the pager. Note: if you enable this option remember to include a Refresh Screen action in the procedure triggered by the pager in order to view updated data.

 

Refresh also on reset. Triggers the procedure also when the pager selection is reset using the reset pager button.