is it possible to loadrecord customer record in sc...
# sitebuilder
g
is it possible to loadrecord customer record in scriptable cart? I need to get values of the pricelevel
d
Try nlapiGetFieldValue('entity') then loading that record ID and logging the output (bearing in mind it'll obviously only work when logged in!). If it doesn't work, you may be able to use lookupFields instead. I found the whole scriptable cart v.restrictive though. I ended up using SSP on the front end and an event script on order submission instead, which seems much more reliable.
Also, make sure you're testing in a private/incognito window, as you seem to get permission oddities arising from UI and web session crossover otherwise.