Navigating to a new record through url.resolveRecord() in suitescript

Generic example to get a link to a new Employee record:

url.resolveRecord({
    recordType: record.Type.EMPLOYEE,
    isEditMode: true,
    params:{}
})

Leave a comment

Your email address will not be published. Required fields are marked *