@Hubert You can't assume that Record Field IDs match their corresponding Search Column IDs; it's pretty common for them to mismatch, for records to include fields that aren't avialable in searches, and for searches to include columns that aren't available directly on the record. The Records Browser is your reference for accessing fields via script: https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2018_2/script/record/salesorder.html