yanyuan
2023-08-30 7af0bd71b417d78f000b8a90111edc8b2256707f
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 GetErrorMessage (
  ProductInStockingPointInPeriod pispip,
  String msg
) as String
{
  TextBody:
  [*
    // Get error message for pispip
    return pispip.ProductInStockingPoint_MP().Name()+ " in " 
           + [String]pispip.Start().Date()
           + " (" + [String]pispip.PeriodSpecificationInPISP().PeriodSpecification_MP().ID() + ") "
           + msg
  *]
  InterfaceProperties { Accessibility: 'Module' }
}