Mike Robbins
08/12/2020, 3:41 PMvar result = search.lookupFields({
type: 'customer',
id: customerId,
columns: [
'taxable',
'taxitem'
]
});
I’ve tried Lists->Customer->View/Edit, Lists->PerformSearch->View/Full. In my custom role, it’s returning an empty object. With the Admin role, it correctly returns the field values.Mike Robbins
08/12/2020, 3:48 PMscottvonduhn
08/12/2020, 4:09 PMvar result = nlapiLookupField('customer', customerId, ['taxable', 'taxitem']);
to see what error gets thrown.tdietrich
08/12/2020, 4:34 PMMike Robbins
08/12/2020, 4:39 PMscottvonduhn
08/12/2020, 4:39 PMMike Robbins
08/12/2020, 8:56 PMMike Robbins
08/12/2020, 9:12 PM