lihongji
2024-09-29 a39aa89a8d8daeeefb5f37b1d4318bc5a6990da1
1
2
3
4
5
6
7
Quintiq file version 2.0
#parent: #root
Method CanCreateInstance (String name) remote as Boolean
{
  Description: "Checks whether an instance with the given name can be created. Tests that the name doesn't exist already."
  TextBody: 'return not exists( this, KpiTracker.MetaData, kpi, kpi.Name() = name );'
}