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
| StaticMethod IsMoveValid (
| output String feedback_o,
| ScenarioNode target,
| ScenarioNodes information
| ) remote as Boolean
| {
| Description: 'Checks if target is a folder or scenario and determines if item can be moved to target'
| TextBody:
| [*
| // ju jinn Apr-8-2014 (created)
| feedback_o := '';
|
| if( target.istype( Scenario ) and forall( information, Elements, nodes, nodes.istype( ScenarioFolder ) ) )
| {
| feedback_o := Translations::ScenarioNode_IsMoveValid_NotValid();
| }
|
| return feedback_o = '';
| *]
| }
|
|