Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method SetLabels () id:Method_DialogCreateEditPostponedSalesDemandCost_SetLabels 
 | 
{ 
 | 
  #keys: '[124808.2.602715577]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Set label quantity with unit of measure 
 | 
    product := SelectionProduct.Data(); 
 | 
    productuom := guard( product.UnitOfMeasureName(), '' ); 
 | 
    pisp := select( product, ProductInStockingPoint_MP, pisp, pisp.StockingPoint_MP() = SelectionStockingPoint.Data() ); 
 | 
     
 | 
    currency := guard( SelectionStockingPoint.Data().Currency_MP().Name(), MacroPlan.BaseCurrency().Name() ) 
 | 
    uom := guard( pisp.UnitOfMeasureName(), productuom ); 
 | 
     
 | 
    // Set the label based on the translations 
 | 
    LabelCost.Text( Translations::MP_Designer_DialogCreateEditPostponedSalesDemandCost_CostPerUoM( currency, uom ) ); 
 | 
  *] 
 | 
} 
 |