Quintiq file version 2.0
#parent: #root
Method EditCosts (
  Unit unit
) id:Method_DialogCreateEditLane_EditCosts
{
  #keys: '[110880.3.411358523]'
  Body:
  [*
    // Edit lane cost setting it to new unit whenever the owner of operation changes
    // Please change logic in dialog operation too if this logic is changed.
    traverse( Dialog.Data(), LaneCost, lanecost )
    {
      lanecost.UnitAccount( relset, null( UnitAccount ) );
      lanecost.AccountAssignment( relset, null( AccountAssignment ) );
    }
  *]
}
