xiaoding721
2023-11-13 e4edcfd0b987b239526f5375881b919789782dad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 ) );
    }
  *]
}