| 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
29
30
31
32
33
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod GetIsUniqueCost ( |  |   output String feedback_o, |  |   StockingPointCost stockingPointCost, |  |   StockingPoint_MP stockingPoint, |  |   String accountName, |  |   String costDriver, |  |   Date start |  | ) declarative remote as Boolean |  | { |  |   Description: 'Verify for single stocking point cost creation if unique' |  |   TextBody: |  |   [* |  |     // Check SP cost is unique within the SP.SPCost |  |     isvalid := AccountCost::GetIsUniqueCost( stockingPointCost, |  |                                              accountName, |  |                                              costDriver, |  |                                              start, |  |                                              stockingPoint.StockingPointCost( relget ) ); |  |     if( not isvalid ) |  |     { |  |       if( feedback_o <> '' ) |  |       { |  |         feedback_o := feedback_o + String::NewLine(); |  |       } |  |        |  |       feedback_o := feedback_o + Translations::MP_AccountCost_Web_IsNotUnique( Translations::MP_AccountCost_Web_StockingCost() ); |  |     } |  |      |  |     return feedback_o = ''; |  |   *] |  | } | 
 |