Quintiq file version 2.0
|
#parent: ListKPIQueries
|
Response OnClick () id:Response_ListKPIQueries_MenuSaveAsQuery_OnClick
|
{
|
#keys: '[146450.3.1283248091]'
|
CanBindMultiple: false
|
DefinitionID => /ListKPIQueries/Responsedef_ListKPIQueries_WebMenu_OnClick
|
Initiator: 'MenuSaveAsQuery'
|
Precondition:
|
[*
|
return GlobalStateKpiTracker.CheckActiveDataset()
|
and KpiQuery::CanCreate( guard( DropDownListKpiMatrix.Data().Name(), '' ) );
|
*]
|
QuillAction
|
{
|
Body:
|
[*
|
// Generate a JSON from the query configuration and saved into a dialog.
|
json := Form.GetConfigurationQuery();
|
|
dlg := construct( DialogKpiQuery );
|
dlg.NewQuery( json );
|
*]
|
GroupServerCalls: false
|
}
|
}
|