The id parameter is the internal id of the record,...
# suitescript
m
The id parameter is the internal id of the record, so you should be doing
nlapiLoadRecord('customerpayment', 16309531)
👍 1