Quintiq file version 2.0
#parent: lstRight590_71
Response OnCreated () id:Response_lstRight590_71_OnCreated
{
  #keys: '[730572.0.166121446]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnCreated'
  QuillAction
  {
    Body:
    [*
      this.CheckAll();
      
      apims64pr := selectset( InterfaceDataset, APIRMS64ProductRelation, tempAPIMS64PR, 
                              ifexpr( ddslFactory.Text() = "All", true, tempAPIMS64PR.Factory() = ddslFactory.Text() ) );
                              
      pmps := selectset( MacroPlan, Product_MP, tempPMP,
                         tempPMP.IsLeaf() and
                         not exists( apims64pr, Elements, tempAPIMS64PR, tempAPIMS64PR.Product() = tempPMP.ID() )
                        );
      
      traverse ( pmps, Elements, pmp ) {
        this.UnCheckByKey( pmp.Key() );
      }
    *]
    GroupServerCalls: false
  }
}
