Quintiq file version 2.0
#parent: #root
Method PersistentFilter (
  Boolean enabled
) id:Method_FormInventorySupplies_PersistentFilter
{
  #keys: '[134266.2.181410160]'
  Body:
  [*
    //Disabling the data extractor will bypass the persistant filter
    
    //toggle persistant filter of stocking point and product
    this.DataHolderInventorySupplies().SetDataExtractorState( GUIDataExtractorInventorySupplyFromChildPISPs, enabled );
    
    // Disable filter from Product planning matrix altogether when disabling persistent filter
    this.SetFilters( MenuFilterByProductPlanning, false /*ischeck*/ );
  *]
}
