Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Help Displaying Item Internal ID
I've been working on my advanced templates and have run into a problem. I need to be able to call my current item's internal id inside of a template like <%=getCurrentAttribute('item','something-to-call-internal-id')%>. My problem originated when I want to be able to access the input fields within my 'addtocarthtml' tag form. I realize there may be more than one way to solve my problem, however, I would still like to know whether or not I can call an item's auto-generated internal id number.
Thank you for any help!
Matt Dyar
---------------------------------------------
Figured it out. It isn't in any manuals but I tried using <%=getCurrentAttribute('item','internalid')%> and it seems to return the correct item value.