SerialPlugin record get code