| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod GetInstanceText ( |  |   Product_MP product, |  |   SalesSegment_MP salessegment, |  |   Date start, |  |   Date end, |  |   String type |  | ) declarative remote as String |  | { |  |   Description: 'Return instance text for sanity check message' |  |   TextBody: |  |   [* |  |     // Adhi Dec-21-2015 (created) |  |      |  |     productname := guard( product.Name(), '' ); |  |     productname := MacroPlan::GetSubstituteName( productname ); |  |      |  |     ssname := guard( salessegment.Name(), '' ); |  |     ssname := MacroPlan::GetSubstituteName( ssname ); |  |      |  |     return Translations::MP_SalesDemand_Instance( productname, ssname, start, end, type ); |  |   *] |  | } | 
 |