1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| Quintiq file version 2.0
| #parent: #root
| Method ValidateInput (
| String label,
| Number value,
| output String feedback_o
| ) as Boolean id:Method_ScenarioManager_DialogResourceManager_ValidateInput
| {
| #keys: '[127238.1.248308885]'
| Body:
| [*
| // Validate editor
|
| valid := true;
|
| if ( value <= 0 )
| {
| //Remove &( mnemonic ) from the label
| label := label.ReplaceAll( "&", "");
| feedback_o:= Translations::MP_Designer_ValidateResourceManagerQuantity( label ) ;
| valid := false
| }
|
| return valid;
| *]
| }
|
|