Quintiq file version 2.0
#parent: #root
Method SetDefaultValue (
  structured[Product_MP] productsSelected
) id:Method_DialogCreateEditRecipeWithEffectiveDate_SetDefaultValue
{
  #keys: '[135040.0.297715033]'
  Body:
  [*
    // Set default + init dialog
    //set Product dropdown candidates
    candidates := selectset( productsSelected, Elements.AllChildren.AsChildren, p, true);
    DialogCreateEditRecipeWithEffectiveDate.DataHolderProductCandidates().Data( &candidates );
  *]
}
