1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| Quintiq file version 2.0
| #parent: #root
| Method GetKPIInventoryLocationPreference (
| String accountname
| ) declarative remote as Real
| {
| Description: 'Return the bonus of storing inventory at preffered location'
| TextBody:
| [*
| // TYG2 Jul-14-2016 (modified)
|
| value := sum( this,
| PreferenceAccount.AccountAssignment,
| aa,
| aa.Account_MP().Name() = accountname, aa.BaseCostWithinKPIHorizon() )
| return value;
| *]
| }
|
|