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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Problem while creating Track Time
Hi ,
We are trying to create a Track Time record using Webservices (2.5 Version) and we are getting error like "The specified key is invalid" . We are using the following code. pls help me out ....
TimeBill tm = new TimeBill();
RecordRef rf = new RecordRef();
rf.internalId ="978";
rf.name ="sudheer allampati";
rf.type = RecordType.employee;
tm.employee =rf;
RecordRef r = new RecordRef();
r.internalId ="-5";
r.name="wolfe electronics";
r.type = RecordType.customer;
tm.customer =r;
tm.externalId ="7htr001";
tm.hours ="20";
tm.isBillable =true;
tm.isBillableSpecified =true;
tm.rate =10.00;
tm.rateSpecified =true;
WriteResponse res = cnw.update(tm);
Thanks,
7Huser
0