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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Is Util Class available for Netsuite Webservices?
Hi,
I am working on itemFulfillment.
As per records guide the following is the code.
ItemFulfillment itemFulfillment = new ItemFulfillment();
itemFulfillment.setCreatedFrom([COLOR="Red"]Util.makeRecordRef(salesOrder.getInternalId(), RecordType.salesOrder));
ItemFulfillmentItemList ifil = new ItemFulfillmentItemList();
ItemFulfillmentItem ifi = new ItemFulfillmentItem();
ifi.setOrderLine(salesOrder.getItemList().getItem(0).getLine());
ifil.setItem(new ItemFulfillmentItem[]{ifi});
itemFulfillment.setItemList(ifil);
itemFulfillment = sessMgr.getNetsuitePort().add(itemFulfillment);[/COLOR]
As per the above code there must be some Util class that supports makeRecordRef().
Can anybody give more help on this?
Thanks in advance.