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.
createdFrom Field in cash refund
Hello all,
I am creating Cash Refunds using webServices from our application .
what I am doing :
I get the cashsale, get items and set the refundamt in the item
and create a cashRefund object
CashRefund cashRefund = new CashRefund();
cashRefund.setEntity(customerRecordRef);
cashRefund.setItemList(refundItemList); - list of items that were present in the cashSale
cashRefund.setChargeIt(true);
cashRefund.setCreatedFrom(createdCashsaleRecordRef);
When I set the createdFrom and add this cashRefund, it creates a cashRefund with the items in the 'itemList' and also I see the original items in the cashSale. This happens only when I set the CreatedFrom ,
Is there a way to set this createdFrom and also set amt to be refunded ? so that only the item is refunded once with the amt that I want to refund.