1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Quintiq file version 2.0
| #parent: #root
| StaticMethod GetInstanceText (
| Product_MP product,
| StockingPoint_MP stockingpoint,
| Date date
| ) declarative remote as String
| {
| Description: 'Return instance text for sanity check message'
| TextBody:
| [*
| productname := guard( product.Name(), '' );
| productname := MacroPlan::GetSubstituteName( productname );
|
| stockingpointname := guard( stockingpoint.Name(), '' );
| stockingpointname := MacroPlan::GetSubstituteName( stockingpointname );
|
| return Translations::MP_InventorySupply_Instance( productname, stockingpointname, date );
| *]
| }
|
|