Quintiq file version 2.0
#parent: DataHolderAccounts
Response OnCreated () id:Response_BaseFormFinancialAccounts_DataHolderAccounts_OnCreated
{
  #keys: '[145730.0.2045782097]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnCreated'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      // Get allowed account, set to dataholder
      allowedAccounts := construct( Account_MPs );
      allowedCostDrivers := construct( Strings );
      MacroPlan.GetAccounts( Form.GetCostType(), &allowedAccounts, &allowedCostDrivers )
      
      DataHolderAccounts.Data( &allowedAccounts );
    *]
    GroupServerCalls: false
  }
}
