1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| Quintiq file version 2.0
| #parent: #root
| Method AddSPIPs (
| output StockingPointInPeriods spips_o,
| Period_MP period,
| StockingPoint_MPs splist
| ) as owning StockingPointInPeriods
| {
| TextBody:
| [*
| addedspips := construct( StockingPointInPeriods );
| traverse( splist, Elements, sp )
| {
| spip := StockingPointInPeriod::FindStockingPointInPeriodTypeIndex( sp.ID(), period.Start(), period.End() );
| spips_o.Add( spip );
| addedspips.Add( spip );
| }
| return &addedspips
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|