Quintiq file version 2.0
#parent: #root
Method CreateSetInterestAllowed (LibDEF_SetMeta setMeta_i) as Boolean id:Method_LibDEF_FormIntegration_CreateSetInterestAllowed
{
  #keys: '[122658.0.623197793]'
  Body:
  [*
    // Checks if SetInterest can be created
    this.HasPlanningDatasetChecked();
    
    
    if( this.HasPlanningDatasetChecked() )
    {
      datasetMDSID := this.GetPlanningDatasetMDS().MDSID();
      setMeta_i.CreateInterestAllowed( datasetMDSID );
    }
    
    return FeedbackObject::IsAllowed();
  *]
}
