Quintiq file version 2.0
#parent: pHeader1_799/bSaveAsDraft
Response OnClick () id:Response_pHeader1_799_bSaveAsDraft_OnClick
{
  #keys: '[413988.0.1568330583]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      opt := OfflinePlanCell::SaveAsDraft( MacroPlan, dhOfflinePlanTable.Data() );
      dhOfflinePlanTable.Data( opt );
      
      WebMessageBox::Success( Translations::A_VWED_Success() );
    *]
    GroupServerCalls: false
  }
}
