mikael
Newbie
Karma: 0
Posts: 5
|
 |
« on: March 17, 2010, 08:59:43 am » |
|
Hi,
I have problem with changing the viewable info on work logs from java code.
I have a custom class that creates work logs and it works fine to set the worklog description and long description... but the viewable info doesn't change (in the db it is the WORKLOG.CLIENTVIEWABLE field)
Here's parts of my code
WorkLogSetRemote worklogset = (WorkLogSetRemote)ticket.getMboSet("WORKLOG"); WorkLogRemote newworklog = (WorkLogRemote)worklogset.add();
newworklog.setValue("description", worklogsummary, 11L); newworklog.setValue("description_longdescription", message, 11L);
newworklog.setValue("clientviewable", 1); // this line doesn't do anything
The logs doesn't say nothing. Does someone know what's the problem here?
Best Regards,
Mikael
|