| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method CanLinkRoutingStep ( |  |   output String feedback_o, |  |   RoutingSteps sourceroutingstep |  | ) declarative remote as Boolean |  | { |  |   Description: 'Returns true if we can link all the source routing steps onto the this routing step, provided the source is not the same as the destination.' |  |   TextBody: |  |   [* |  |     // Adhi Apr-18-2016 (created) |  |      |  |     isvalid := forall( sourceroutingstep, Elements, routingstep, routingstep <> this ); |  |      |  |     if( not isvalid ) |  |     { |  |       feedback_o := Translations::MP_Operation_CanCreateOperationLinkFromMultipleObjects_SameRoutingStep(); |  |     } |  |      |  |     return isvalid; |  |   *] |  | } | 
 |