<@UDFQ3HX96> I have been able to achieve this by d...
# suitescript
k
@Zain Shaikh I have been able to achieve this by doing
Copy code
createRecord.selectNewLine({sublistId: 'contact'});
                    createRecord.setCurrentSublistValue({sublistId: 'contact', fieldId: 'entityid', value: firstName + ' ' + lastName});
                    createRecord.setCurrentSublistValue({sublistId: 'contact', fieldId: 'email', value: emailAddress});
                    createRecord.setCurrentSublistValue({sublistId: 'contact', fieldId: 'phone', value: phoneNo});
                    createRecord.setCurrentSublistValue({sublistId: 'contact', fieldId: 'contactrole', value: -10});
                    createRecord.commitLine({sublistId: 'contact'});
👍 1