Quintiq file version 2.0
|
#parent: #root
|
MethodOverride GetDisplayName () const declarative remote as String
|
{
|
TextBody:
|
[*
|
// Get display name of this import group object from the translations
|
result := this.Name();
|
|
// ObjectGroup Accounts
|
if( result = MPSyncUtility::ID_ObjectGroup_Accounts() )
|
{
|
result := Translations::MPSync_ObjectGroup_Accounts();
|
}
|
// ObjectGroup Actuals
|
else if( result = MPSyncUtility::ID_ObjectGroup_Actuals() )
|
{
|
result := Translations::MP_Designer_Actuals();
|
}
|
// ObjectGroup Bookmarks
|
else if( result = MPSyncUtility::ID_ObjectGroup_Bookmarks() )
|
{
|
result := Translations::MPSync_ObjectGroup_Bookmarks();
|
}
|
// ObjectGroup Campaigns
|
else if( result = MPSyncUtility::ID_ObjectGroup_Campaigns() )
|
{
|
result := Translations::MPSync_ObjectGroup_Campaigns();
|
}
|
// ObjectGroup Capacities
|
else if( result = MPSyncUtility::ID_ObjectGroup_Capacities() )
|
{
|
result := Translations::MPSync_ObjectGroup_Capacities();
|
}
|
// ObjectGroup EntitiesCosts
|
else if( result = MPSyncUtility::ID_ObjectGroup_Costs() )
|
{
|
result := Translations::MPSync_ObjectGroup_Costs();
|
}
|
// ObjectGroup Entities
|
else if( result = MPSyncUtility::ID_ObjectGroup_Entities() )
|
{
|
result := Translations::MPSync_ObjectGroup_Entities();
|
}
|
// ObjectGroup Feedback
|
else if( result = MPSyncUtility::ID_ObjectGroup_Feedback() )
|
{
|
result := Translations::MP_GlobalParameters_KPIFeedbackName();
|
}
|
// ObjectGroup GlobalParameters
|
else if( result = MPSyncUtility::ID_ObjectGroup_GlobalParameters() )
|
{
|
result := Translations::MPSync_ObjectGroup_GlobalParameters();
|
}
|
// ObjectGroup ImportProfiles
|
else if( result = MPSyncUtility::ID_ObjectGroup_ImportProfiles() )
|
{
|
result := Translations::MPSync_ObjectGroup_ImportProfiles();
|
}
|
// ObjectGroup InventorySpecifications
|
else if( result = MPSyncUtility::ID_ObjectGroup_InventorySpecifications() )
|
{
|
result := Translations::MP_Functionality_InventorySpecifications();
|
}
|
// ObjectGroup InventorySupplies
|
else if( result = MPSyncUtility::ID_ObjectGroup_InventorySupplies() )
|
{
|
result := Translations::MP_Functionality_InventorySupplies();
|
}
|
// Object group KPI setting
|
else if( this.Name() = MPSyncUtility::ID_ObjectGroup_KPISetting() )
|
{
|
result := Translations::MPSync_ObjectGroup_KPISetting();
|
}
|
// ObjectGroup Lanes
|
else if( result = MPSyncUtility::ID_ObjectGroup_Lanes() )
|
{
|
result := Translations::MPSync_ObjectGroup_Lanes();
|
}
|
// ObjectGroup Periods
|
else if( result = MPSyncUtility::ID_ObjectGroup_Periods() )
|
{
|
result := Translations::MPSync_ObjectGroup_Periods();
|
}
|
// ObjectGroup Products
|
else if( result = MPSyncUtility::ID_ObjectGroup_Products() )
|
{
|
result := Translations::MPSync_ObjectGroup_Products();
|
}
|
// ObjectGroup Recipes
|
else if( result = MPSyncUtility::ID_ObjectGroup_Recipes() )
|
{
|
result := Translations::MPSync_ObjectGroup_Recipes();
|
}
|
// ObjectGroup Routings
|
else if( result = MPSyncUtility::ID_ObjectGroup_Routings() )
|
{
|
result := Translations::MPSync_ObjectGroup_Routings();
|
}
|
// ObjectGroup SalesDemands
|
else if( result = MPSyncUtility::ID_ObjectGroup_Forecast() )
|
{
|
result := Translations::MPSync_ObjectGroup_Forecasts();
|
}
|
// ObjectGroup ServiceLevels
|
else if( result = MPSyncUtility::ID_ObjectGroup_ServiceLevels() )
|
{
|
result := Translations::MPSync_ObjectGroup_ServiceLevels();
|
}
|
// ObjectGroup Strategies
|
else if( result = MPSyncUtility::ID_ObjectGroup_Strategies() )
|
{
|
result := Translations::MPSync_ObjectGroup_Strategies();
|
}
|
// ObjectGroup SupplyChainParameters
|
else if( result = MPSyncUtility::ID_ObjectGroup_SupplyChainParameters() )
|
{
|
result := Translations::MPSync_ObjectGroup_SupplyChainParameters();
|
}
|
// ObjectGroup SupplySpecifications
|
else if( result = MPSyncUtility::ID_ObjectGroup_SupplySpecifications() )
|
{
|
result := Translations::MP_Functionality_SupplySpecifications();
|
}
|
// ObjectGroup PostponementSpecifications
|
else if( result = MPSyncUtility::ID_ObjectGroup_PostponementSpecAndFulfillmentRestriction() )
|
{
|
result := Translations::MPSync_ObjectGroup_PostponementSpecAndFulfillmentRestriction();
|
}
|
|
return result;
|
*]
|
}
|