TruxtonNote

From truxwiki.com
Jump to navigation Jump to search

This class lets you add to the [InvestigatorNote] table in Truxton.

Attributes and Methods

investigationid: str

A GUID for the investigation this event belongs to. This corresponds to the [ID] column of the [Investigation] table and is stored in the [InvestigationID] column of the [InvestigatorNote] table.

text: str

The contents of the note.

objectid: str

This is the GUID of the object being noted.

objecttype: int

The type of the thing that objectid represents. It should contain a value in the [ID] column of the [ObjectType] table or you can use a defined constant.

save() -> boolean

This will commit the information to the [InvestigatorNote] table. It will return True if the record was saved to the database, False if there was an error.