| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method ViolateHasProductInStockingPoint () declarative remote as String |  | { |  |   Description: 'returns false if the link to pisp is missing' |  |   TextBody: |  |   [* |  |     // ying ying Jan-9-2014 (created) |  |     value := '' |  |     if( isnull( this.ProductInStockingPoint_MP() ) ) |  |     { |  |       value := Translations::MP_PISPAccount_ViolateHasProductInStockingPoint( |  |                ifexpr( this.ProductID() = '', Translations::MP_SanityCheck_IsMissingID(), this.ProductID() ), |  |                ifexpr( this.StockingPointID() = '', Translations::MP_SanityCheck_IsMissingID(), this.StockingPointID() ) ); |  |     } |  |      |  |     return value; |  |   *] |  | } | 
 |