Quintiq file version 2.0
#parent: #root
Method SetID (
  internal[WebEditField] targeteditfield,
  String newname,
  String existingname,
  String existingid
) id:Method_ApplicationMacroPlanner_SetID
{
  #keys: '[135040.0.232653383]'
  Body:
  [*
    // Update EditorID to have EditorName's value
    if( existingid = ''
        or existingname = existingid )
    {
      targeteditfield.Text( newname );
    }
  *]
}
