1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| Quintiq file version 2.0
| #parent: #root
| Method CreateSalesDemand (
| MacroPlan macroplan,
| Product_MP product,
| StockingPoint_MP stockingPoint,
| Date start,
| Date end,
| Real qty,
| Real price,
| SalesSegment_MP salesSegment
| ) as Forecast
| {
| TextBody:
| [*
| // Create Sales demand
| id := macroplan.IDHolder().GetSalesDemandID( 'UTF_','_Demand' );
| priority := 'Normal';
| return Forecast::Create( product, stockingPoint, id, start, end, qty, price, priority, salesSegment.Name(), macroplan.BaseCurrency().Name(), macroplan.DefaultUnitOfMeasure().Name(), 0.0, false, false );
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|