Script Editor Blank Title 73059

In the scrip Editor I will need to add a condition if Part.tracklot =
yes then (see code bottom), but I don't know when I write part.tracklot
= true in the script editor.



If sPartNum.IndexOf("PC") > -1 Or "07004.05.05.2080.D" = sPartNum Then
txtLotNumber.Enabled = False
btnLotNumber.Enabled = False
btnLotNumber.Focus()

Thanks !

Vantage 8.03.305