Quintiq file version 2.0
#parent: #root
Method Edit (
  internal[GUIComponent] parent,
  OperationLinkEdge operationlinkedge
) id:Method_DialogEditOperationLink_Edit
{
  #keys: '[113694.2.515542488]'
  Body:
  [*
    // Edit operation link
    ol := operationlinkedge.BaseOperationLink().astype( OperationLink )
    data := shadow( ol );
    
    Dialog.Data( data );
    
    Dialog.UpdateUOMLabel();
    result := Dialog.DoModal( parent );
    
    if( result > 0 )
    {
      Dialog.Data().Commit();
    }
  *]
}
