Quintiq file version 2.0
#parent: Panel418/btn_Add_FM
Response OnClick () id:Response_Panel418_btn_Add_FM_OnClick_975
{
  #keys: '[414724.0.145238844]'
  CanBindMultiple: false
  DefinitionID => /Panel418/Responsedef_Panel418_btn_Add_FM_OnClick
  Precondition:
  [*
    return not isnull( MacroPlan);
  *]
  QuillAction
  {
    Body:
    [*
      SelectItem :=  select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmMaterial" and Obj.ItemKey()="ListSelect");
      if( isnull( SelectItem))
      {
         MacroPlan.H_MessagePassing(relnew,FKey :="FrmMaterial",ItemKey := "ListSelect",Value := "");
      }
      else
      {
        //SelectItem.ValueJsonString()
      }
    *]
    GroupServerCalls: false
  }
}
