Create two searches in your getInputData phase and...
# suitescript
m
Create two searches in your getInputData phase and get results for both custom records. Build a generic object out of each result from both searches that looks like {item: 1234, recordType: ‘customrecord1’, name: ‘record type name’} and push each object onto an array. return the array from getInputData.