Discussions
nlapiLoadRecord - how to get parent's name
Hi guys,
I am trying to get a parent record name with no success. Once I have loaded the parent record by nlapLoadRecord I have tries:
a) myParentRecord.getFieldValue ('name') --> This return parentRecordID
b) myParentRecord.getFieldTextValue ('name') --> This show following error: SSS_NOT_YET_SUPPORTED
c) myParentRecord.getField('name').getName() --> This show following error: SSS_NOT_YET_SUPPORTED
d) I have printed out all field names by using getAllFields however I can't see anything else relevant apart from id, name, recordid, etc...
e) I have tried myParentRecord.getFieldValue ('id') but SuiteCloud alerts that ths is not a valid internalID.