Quintiq file version 2.0
#parent: #root
Method UpdateShadowCost (
  structured[shadow[AccountCost]] accountcosts,
  Real cost
) id:Method_DialogCreateEditAccountCost_UpdateShadowCost
{
  #keys: '[124808.2.598692618]'
  Body:
  [*
    // Update cost, only applies for updating shadow instances
    // To update real instances, use AccountCost::Update( accountcosts, cost )
    traverse( accountcosts, Elements, ac )
    {
      ac.Cost( cost );
    }
  *]
}
