Quintiq file version 2.0
#parent: pDemandComparison_822/dhCheckedSalesSegments
Response OnDataChanged () id:Response_pDemandComparison_822_dhCheckedSalesSegments_OnDataChanged
{
  #keys: '[414996.1.211223482]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      if( this.Data().Size() <> 0 ){
        prods := selectset( dhFinelProducts.Data(),Elements,element,exists( this.Data(),Elements.SalesDemand.Product_MP,prod,element = prod ));
        dhFinelProducts.Data( &prods );
      }else{
        dhFinelProducts.Data( DataHolderProduct.Data().Copy() );
      }
    *]
  }
}
