lihongji
2024-11-13 3d65ee18d645a30e600c9b63f0daefe2fc2b1151
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
Method GetSalesDemandInfo (
  SalesDemandBase salesDemand,
  String scenario
) as String
{
  TextBody:
  [*
    return 'Mismatch linked fulfillment restriction(s) for scenario ' + scenario + String::NewLine() + 
           'Sales demand with start = ' + salesDemand.StartDate().Format( 'D-M-Y' ) +
           ', segment = ' + salesDemand.SalesSegmentName() + 
           ', product = ' + salesDemand.ProductID() + 
           ', stocking point = ' + salesDemand.StockingPointID();
  *]
  InterfaceProperties { Accessibility: 'Module' }
}