Quintiq file version 2.0
|
#parent: #root
|
Method ExportNonFinancialKPI
|
{
|
Description: 'Export non-financial kpi to knowledge table'
|
TextBody:
|
[*
|
// chee wee Dec-28-2010 (created)
|
table := NonFinancialKPITable::Table();
|
table.Edit();
|
table.FlushRows();
|
|
traverse( this, KPI.astype( NonFinancialKPI ), kpi )
|
{
|
row := table.AddRow();
|
row.Name( kpi.Name() );
|
row.IsShown( kpi.KPISetting().IsShown() );
|
row.Maximize( kpi.IsMaximize() );
|
row.DisplayIndex( kpi.DisplayIndex() );
|
desc := kpi.DescriptionUOM();
|
if( desc = "" )
|
{
|
desc := "*";
|
}
|
row.DescriptionUOM( desc );
|
row.IsPercentage( kpi.IsPercentage() );
|
}
|
|
this.SaveKB( table );
|
*]
|
}
|