Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Edit ( 
 | 
  structured[OperationInputOutputPISPNode] selection 
 | 
) id:Method_DialogCreateEditPISPNodeInRouting_Edit 
 | 
{ 
 | 
  #keys: '[139394.0.1327420986]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Edit structured operation boms 
 | 
    data := shadow( selection.Element( 0 ).OperationInputOutput().OperationBOM() ); 
 | 
    opBOMs := selectset( selection, Elements.OperationInputOutput.OperationBOM, e, true ) 
 | 
     
 | 
    DataHolderDialogData.Data( &data ); 
 | 
    DataHolderDialogDatas.Data( opBOMs.Copy() ) 
 | 
     
 | 
    // Disable product dropdown for batch edit 
 | 
    Form.DropDownListProduct().Enabled( opBOMs.Size() = 1,  
 | 
                                        Translations::MP_Designer_DisableSelectorForBatchEdit( 'product' ) );  // Forced to use string here 
 | 
                                                                                                               // because unable to access dropdown  
 | 
                                                                                                               // label 
 | 
     
 | 
     
 | 
    ApplicationMacroPlanner.ShowFormModal( this ); 
 | 
  *] 
 | 
} 
 |