Maybe I'm missing something obvious, but anyone kn...
# suitescript
d
Maybe I'm missing something obvious, but anyone knows how to access the field SSN (socialsecuritynumber) from Employee record in saved search from script? When I do
Copy code
const emp = record.load({type: record.Type.EMPLOYEE, id: 6104})
const ssn = emp.getValue({fieldId: 'socialsecuritynumber'})
I get it as a normal string, but
Copy code
const ss = search.lookupFields({type: search.Type.EMPLOYEE, columns: 'socialsecuritynumber', id: 6104})
returns it in an encrypted way, so just *********** Is there a way I can decode this value received from a saved search?