Resource addJournal

From Catglobe Wiki
Jump to: navigation, search

Resource_addJournal

Add a journal information to a specific resource.


Syntax

Resource_addJournal(Object)


Arguments

Object: is a ResourceJournalEntry objects.


Return type

Empty.


Examples

string commentType="UndoComplete";   // Type of journal entry

string Content="test Undo complete"; // Content of journal entry

number ResourceID=37246024;  // Resource ID

ResourceJournalEntry Rjt = new ResourceJournalEntry(ResourceID, commentType, Content);

Resource_addJournal(Rjt);