Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Is an RMA record type the same as the PO?
Hello All,
I am creating some suite script on the item receipt transaction and have been trying to figure out how to determine when the item receipt was created based on a PO or from an RMA. I take the internal id of the createdfrom transaction and then load the record casting it with the purchaseorder type.
It was my assumption that when I try to load an RMA using the purchaseorder type it would flag an error but to my surprise it did not. I then thought that even though it may have loaded correctly that when i did a getRecordType() function it would return the right type but it seems both the RMA and PO is giving me purchaseorder type. I then further thought that I can grab the label using getValueText() but that function is unsupported in suitescript! Does anyone have any idea if these findings are correct and what would be the best