| 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
27
28
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod ValidateInput ( |  |   output String feedback_o, |  |   output String sanitycheckfeedback_o, |  |   Product_MP product, |  |   Recipe recipe, |  |   Date effectivedate, |  |   RecipeWithEffectiveDate rwedip |  | ) declarative remote as Boolean |  | { |  |   Description: 'Validate input for effective date' |  |   TextBody: |  |   [* |  |     feedback_o := ''; |  |     sanitycheckfeedback_o := ''; |  |                      |  |     if( exists( product, RecipeWithEffectiveDate, productrecipe,  |  |                 productrecipe <> rwedip |  |                 and productrecipe.EffectiveDate() = effectivedate ) ) |  |     { |  |       feedback_o := Translations::MP_RecipeWithEffectiveDateInProduct_ValidateInput_DuplicateEffectiveDate( product.ID(), effectivedate ); |  |       sanitycheckfeedback_o := SanityCheckCategoryLevel::GetSanityCheckCategoryDataIssue(); |  |     } |  |      |  |     return feedback_o = ''; |  |   *] |  | } | 
 |