1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Constraint HasValidProduct 
 |  { 
 |    #keys: '2[127238.1.1555852785][127238.1.1555852786]' 
 |    ConstraintCondition: 
 |    [* 
 |      convert_result := true; 
 |      try 
 |      { 
 |        convert_result := not isnull( this.IOProduct_MP() ); 
 |      } 
 |      onerror 
 |      { 
 |      } 
 |      return convert_result; 
 |    *] 
 |    ConstraintKind: 'Soft' 
 |    ConstraintText: '@Translations::MPSync_InvalidProductID( this.ProductID() )@' 
 |    Description: 'To indicate recipe product is linked to a valid product' 
 |  } 
 |  
  |