Quintiq file version 2.0
#parent: #root
Method New (
  ScenarioManager owner,
  Account parentaccount,
  FormAccountStructure formAccountStructure
) id:Method_DialogCreateEditAccountStructure_New
{
  #keys: '[139394.0.458426453]'
  Body:
  [*
    // New account template
    data := owner.KPI( relshadow,
                       Account,
                       AsSortedAccount := ScenarioManager,
                       Name := '',
                       Parent := parentaccount );
    
    DataHolderDialogData.Data( &data );
    DataHolderForm.Data( formAccountStructure );
    Form.InitializeComponents();
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
