Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Cannot create TimeBill
Hi ,
I want to create a TimeBill using Webservices (2.5 Version) and we are getting error like "[Error]: [Code=UNEXPECTED_ERROR] An unexpected error occurred." . We are using the following code. pls help me out ....
TimeBill timebill = new TimeBill();
RecordRef ref = new RecordRef();
ref.setInternalId("969");
timebill.setEmployee(ref);
ref = null;
ref = new RecordRef();
ref.setInternalId("1");
timebill.setLocation(ref);
ref = null;
ref = new RecordRef();
ref.setInternalId("-5");
timebill.setCustomer(ref);
timebill.setHours("1.1");
timebill.setExternalId("MYTIME01");
Calendar ca = Calendar.getInstance(Locale.US);
ca.set(Integer.parseInt("2007"), Integer.parseInt("7"), Integer
.parseInt("12"));
timebill.setTranDate(ca);
WriteResponse response = _port.add(timebill);
Thanks,
Derykm