陈清红
2025-01-22 89afa4098d5b9072fab407ffacba1a4503e1b719
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Quintiq file version 2.0
#parent: #root
Method OpenViewID (
  String viewid
) id:Method_GlobalStateKpiTracker_OpenViewID
{
  #keys: '[145552.0.1201663411]'
  Body:
  [*
    // Opens view
    view := select( ApplicationScope.ViewManager(), Views, vw, vw.Id()= viewid );
    if( isnull( view ) )
    {
      WebMessageBox::Error( 'Missing view: ' + viewid );
    }
    else
    {
      ApplicationScope.ViewManager().LoadView( view );
    }
  *]
}