Quintiq file version 2.0 
 | 
#parent: LabelCost 
 | 
Response OnCreated () id:Response_DialogCreateEditPostponedSalesDemandCost_LabelCost_OnCreated 
 | 
{ 
 | 
  #keys: '[11660.0.832664478]' 
 | 
  Body: 
 | 
  [* 
 | 
    //preset label 
 | 
    currency := guard( MacroPlan.BaseCurrency().Name(),"" ); 
 | 
     
 | 
    if( not isnull( SelectionStockingPoint.Data() ) ) 
 | 
    { 
 | 
      currency := SelectionStockingPoint.Data().Currency_MP().Name(); 
 | 
    } 
 | 
    this.Text( Translations::MP_Designer_Cost() + ' (' + currency + ')' ); 
 | 
  *] 
 | 
  DefinitionID: 'Responsedef_GUIComponent_OnCreated' 
 | 
} 
 |