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
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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