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
Setting an Inventory Item Price to null via C#
I am attempting to clear the item purchase price and sales price on an inventory item via C# web services. While I can update the price to another numerical value (including zero), I cannot seem to get the price set to null.
The issue appears when I try to set the price to null to be updated:
cNSItem.cost = 0; cNSItem.costSpecified = true;
Using these fields I can only specify an amount to change the cost too, I don't see away to simply clear any value out of the cost.
Is there a flag in the object I am missing that specifies the clearing of the price?
0