In purchase invoice report automatically populate the serial number. remove the serial number

You have to write a custom server script report your own way
Reference: Create scripts report error - #2 by NCP