Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[139394.0.456483572]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return Account::ValidateInput( feedback,
                                   ScenarioManager,
                                   not isnull( DropDownListParentAccount.Data() ),
                                   DropDownListParentAccount.Data(),
                                   EditFieldName.Text(),
                                   ApplicationMacroPlanner.FormatStringToReal( EditFieldBudget.Text() ),
                                   DropDownStringListDefaultCostDriver.Text(),
                                   DropDownStringListTimeUnit.Text(),
                                   ApplicationMacroPlanner.FormatStringToNumber( EditFieldLengthOfTime.Text() ),
                                   ApplicationMacroPlanner.FormatStringToReal( EditFieldCost.Text() ),
                                   guard( DataHolderDialogData.Data().WrappedInstance(), null( Account ) ) );
  *]
  QuillAction
  {
    Body:
    [*
      // On ok
      Form.OnOK();
    *]
    GroupServerCalls: false
  }
}
