Anyone ever see SS 1.0 fail to be referenced?
# suitescript
t
Anyone ever see SS 1.0 fail to be referenced?
m
It seems to indicate that the variable value is not defined. Did you use the right field id or was there no value when getting the value?
t
The function just doesn't exist to be referenced. nlapiGetRecordId() doesn't require an id
m
when is this happening? on load or save?
t
edit mode just in the console
m
You could try something like id = nlapiGetNewRecord().getId();
t
i'm not looking for an id. I'm showing that the 1.0 API is not loading
b
things using the new ui, like inbound shipments (or in your case an account using Show Project in New UI) dont support suitescript 1
☝️ 1
they also dont support html in fields, so you cant do things like put scripts in inline html fields or dialogs
t
wait WHAT?!
@battk Thanks
a
👏
a
If you want to load it in the console to inspect it, you “should” be able to run nlapiLoadRecord() on that record type and record on another core record (like a purchase order). Thats what we have to do when scripting on the inboundshipment.