yypsybs
2023-09-09 3cb5a54def670d97301f07170fcaad213bfc54f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Quintiq file version 2.0
#parent: mbMainMenu/MenuRecreateDatabaseTables
Response OnClick () id:Response_mbMainMenu_MenuRecreateDatabaseTables_OnClick
{
  #keys: '[113694.2.210810320]'
  Body:
  [*
    // Update physical storage
    message := "This is a developer feature, please make sure you understand the following statements.
    1) I am in non-production environment.
    2) I am in non-development environment.
    3) I only want to use this for testing.
    4) I understand trigerring this function will remove all external database table. 
    5) I am aware that this will result in some errors showing up in editor (Will be gone after restarting the server)."
    
    if( MessageBox::Warning( ApplicationLibMacroPlanner, message, "Nothing to do here|Trust me, I am the expert" ) = 1 )
    {
      MacroPlan::RecreateExternalTables();
    }
  *]
  DefinitionID: 'Responsedef_Menu_OnClick'
}