lazhen
2024-08-16 107f0e4b79a6189e5f61ca0a4d77dd8d047a8f2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Quintiq file version 2.0
#parent: #root
Constraint IsSumOfNominalOK
{
  #keys: '2[110994.0.1029828208][110994.0.1029828212]'
  ConstraintCondition:
  [*
    value := this.Nominal() = 1;
    
    return value;
  *]
  ConstraintKind: 'Soft'
  ConstraintText: '@Translations::MP_Recipe_ViolateHasValidNominal( this.Nominal() )@'
  Description: 'Violated when the sum of the nominal values of the recipe ingredients does not equal to 1'
}