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
34
| Quintiq file version 2.0
| #parent: #root
| Method Update (
| Boolean isenable,
| String name,
| Product_MP product,
| StockingPoint_MP stockingpoint,
| SalesSegment_MP salessegment,
| Real targetpercentage,
| Date start,
| Date end,
| Boolean isusedforsafetystockcalculation,
| Boolean isusedforplanningfulfillment,
| Boolean isfromdb
| )
| {
| Description: 'Updates service level'
| TextBody:
| [*
| // edz1 Jul-7-2016 (created)
|
| this.IsManuallyConfigured( not isfromdb );
| this.IsEnabled( isenable );
| this.Name( name );
| this.Start( start );
| this.End( end );
| this.ProductID( guard( product.ID(), '' ) )
| this.StockingPointID( guard( stockingpoint.ID(), '' ) );
| this.SalesSegmentName( guard( salessegment.Name(), '' ) );
| this.TargetPercentage( targetpercentage );
| this.IsUsedForSafetyStockCalculation( isusedforsafetystockcalculation );
| this.IsUsedForPlanningFulfillment( isusedforplanningfulfillment );
| *]
| }
|
|