Quintiq file version 2.0
#parent: #root
Method PersistentFilter (
  Boolean enabled
) id:Method_FormSalesDemands_PersistentFilter
{
  #keys: '[127710.1.1963565042]'
  Body:
  [*
    //Disabling the data extractor will bypass the persistant filter
    
    //toggle persistant filter of stocking point
    this.DataHolderSalesDemands().SetDataExtractorState( GUIDataExtractorSDFromChildStockingPoints, enabled );
    
    //toggle persistant filter of sales segment
    this.DataHolderSalesDemands().SetDataExtractorState( GUIDataExtractorSDFromChildSalesSegments, enabled );
  *]
}
