Can we get all the state's internal id in suitescr...
# suitescript
a
Can we get all the state's internal id in suitescript?
w
try getField('state').getSelectOptions();
a
let me check
@wbermudo We want to get the state from customer, so when I used var subRecord = nlapiViewCurrentLineItemSubrecord('addressbook','addressbookaddress'); var state = subRecord.getField('state'); then I will get an erro message.
How can I get the internal id of the state from the customer
w
are you in clientside/UE (dynamic or non)?
a
I am trying in Suitelet.
Can we get this in client script?