1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| Quintiq file version 2.0
| #parent: #root
| StaticMethod Create (
| StockingPoint_MP owner,
| String originlaneid,
| String destinationlaneid
| ) as StockingPointInLane
| {
| Description: 'Create static method'
| TextBody:
| [*
| // soh yee Aug-28-2013 (created)
| result := StockingPointInLane::FindStockingPointInLaneTypeIndex( owner.ID(), originlaneid, destinationlaneid );
|
| if( isnull( result ) )
| {
| result := owner.StockingPointInLane( relnew,
| StockingPointID := owner.ID(),
| OriginLaneID := originlaneid,
| DestinationLaneID := destinationlaneid );
| }
| return result;
| *]
| }
|
|