Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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.