Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Using NullField on line item level?
Hi there,
We are attempting to use the NullField function to update some of our line items on an existing transaction to a value of null. We can get this to work on the transaction level for body fields, but are unable to get them set on the line item level. Is this something that is available? Example code below:
Example for body field (This works):
$nfl = new NullField();
$nfl->name = array('memo');
$cashRefund->nullFieldList = $nfl;
$request = new UpdateRequest();
$request->record = $cashRefund;
Example for line item level (This does not work):
This would be inserted in our items array:
0