Page tree

Versions Compared

Key

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

...

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','=');



  

That code must be placed in the EventBeforeFetch attribute of the chooseWindow-BusinessEntity