Hello,
I'm a developer working on the company website. I need to get all the pricing information out of netsuite and display it on the site for our customers. I am trying to do this using .Net and web services. I don't fully understand the data model of NS pricing. I assume InventoryItem has a property called price, and that is what I want, along with (possibly) ItemGroup. This page has a list of what I want: https://system.sandbox.netsuite.com/app/common/item/itemlist.nl
I tried modifying the NSClientERP example to search all items and then let me loop over the result, but it's bringing back more than just InventoryItems and crashing it.
var itemSearch = new ItemSearch(); SearchResult res = _service.search(itemSearch); if (res.status.isSuccess) { Record[] recordList; if (res.totalRecords > 0) { for (int i = 1; i <= res.totalPages; i++) { recordList = res.recordList; foreach (var r in recordList) { InventoryItem item = (InventoryItem) r; _out.writeLn("item:" + item.internalId + " desc: " + item.salesDescription + " price: " + item.lastPurchasePrice.ToString()); } Any help or direction appreciated!