The CreatorCon Call for Content is officially open! Get started here.

Need to update a Journal field

PraveenPadmanab
Kilo Explorer

I need to update a journal field.

Can anyone please provide me the syntax for updating a journal field.

1 REPLY 1

jason_petty
Tera Expert

I have been able to do it in two different ways. Examples:

Comments Field:
target.comments.setJournalEntry(source.u_comments); //This will set comments with a value.
target.comments = "" + source.comments; //Also will set it.

Work Notes Field:
target.work_notes.setJournalEntry(source.u_worknotes); //This will set work_notes with a value.
target.work_notes = "" + source.work_notes; //Also will set it.