Quintiq file version 2.0
#parent: ButtonSynchronizeAccountsWithTemplate
Response OnClick () id:Response_FormAccounts_MP_ButtonSynchronizeAccountsWithTemplate_OnClick
{
  #keys: '[11766.1.315190632]'
  Body:
  [*
    // Synchronize accounts with template
    templates := selectset( ScenarioManager, KPI.astype( Account ), acct, true, true );
    Account_MP::SynchronizeWithTemplate( MacroPlan, templates );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
  UserRequiresReadWrite: true
}
