Quintiq file version 2.0
|
#parent: #root
|
Method SetFilters (
|
Boolean isfilteredbyunit
|
) id:Method_DialogCreateEditLane_SetFilters
|
{
|
#keys: '[132444.0.81620089]'
|
Body:
|
[*
|
// This method will set filter to filter out SelectionUnit based
|
// on navigation panel selection if the top Unit checkbox is checked
|
|
filter := GUIDataSetLevel1.FixedFilter();
|
|
unitsources := 'dataholderunits';
|
|
if ( isfilteredbyunit )
|
{
|
filter := filter + ' and object.IsInUnit( ' + unitsources + ' ) ';
|
}
|
|
GUIDataSetLevel1.FixedFilter( filter );
|
*]
|
}
|