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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
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.
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.
How to update purchase order record
[LEFT]I am trying to update a purchase order record in netsuite from my webservice request.
Instead of updating the record it adds a new record with same details of previous record.
For example i have added one record for an item with quantity 150, now i want to update this quantity to 200. when i done update operation observed that there is two records one with 150 and another with 200. Here is the code. Help me where i am doing wrong.
PurchaseOrder po=new PurchaseOrder();
po.setInternalId("6306");
RecordRef rf=new RecordRef();
rf.setInternalId("1683");
po.setEntity(rf);
Calendar trandate=Calendar.getInstance();
po.setTranDate(trandate);
0