Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default selecting a row in the Choose Window grid is done by clicking on the Confirm button on the top-left. Selecting a row is also possible by double-clicking on the grid row by setting EventRowChosen attribute to "$ akioma.chooseWindowRecordSelected(self)".

 

Programatically applying filter criteria to the chooseWindow-BusinessEntity

Sometimes the chooseWindow must apply filter criteria to its BusinessEntity based on other Fields in the Form in which the dynSelect is used. E.g. the form might have a Customer-Field, and the dynSelect shall only display contacts of that customer. To achieve this, in the dynSelect the EventBeforeFetch can be used (see corresponding part of the dynSelect documentation here). To do something similar, there is a helper function:

Code Block
akioma.filterDynamicallyGrid (self,'<FormField>','<BE-Field>','<operator>');
??
// sample
akioma.filterDynamicallyGrid (self,'CustNum','CustNumInBE','=');