Quintiq file version 2.0
#parent: #root
Method SetFilter (
  Boolean ischecked
) id:Method_BaseFormNewSupply_SetFilter
{
  #keys: '[158498.0.142054715]'
  Body:
  [*
    // Filter NewSupply by selections from navaigation panel if toggle button is turned off
    // Otherwise, filter NewSupply by PISPIP selections from BaseFormProductPlanningMatrix
    DataHolderNewSupply.SetDataExtractorState( DataExtractorNewSupplyFromNavigationPanel, 
                                               not ischecked );
    DataHolderNewSupply.SetDataExtractorState( DataExtractorNewSupplyFromSelectedPISPIP, 
                                               ischecked );
  *]
}
