Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method SetLabels () id:Method_DialogCreateEditActualPISPIP_SetLabels 
 | 
{ 
 | 
  #keys: '[124808.2.624274872]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Set labels 
 | 
    pisp := guard( DataHolderPISPIP.Data().ProductInStockingPoint_MP(), null( ProductInStockingPoint_MP ) ); 
 | 
    productuom := ''; 
 | 
     
 | 
    if( isnull( pisp ) ) 
 | 
    { 
 | 
      product := SelectionProduct.Data(); 
 | 
      productuom := guard( product.UnitOfMeasureName(), '' ); 
 | 
      pisp := Dialog.UpdatePISP(); 
 | 
    } 
 | 
     
 | 
    uom := guard( pisp.UnitOfMeasureName(), productuom ); 
 | 
     
 | 
    LabelActualInventoryLevelEnd.Text( Translations::MP_Designer_DialogCreateEditActualPISPIP_InventoryLevelEndUOM( uom ) ); 
 | 
  *] 
 | 
} 
 |