Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

dt

UTC date and time when this transaction was written to the log.

datetime
uid

The user who triggered the action in the first place. Null if change was triggered by the system.

NOTE: This field is only populated in some cases for the time being.

int?
cidThe company to which the user belongs. Null if change was triggered by the system.int?
   
 Grouping of traces 
ts

A globally unique identifier which permits to group related traces.

For example if an operation updates three different objects in the framework of an operation then all three traces share the same ts value.

string
tsc

An English description of the user interface or system operation attached to ts.

Examples: "Job status change", "Batch deletion of jobs", "Submission of order"...

NOTE: This field is only populated in some cases for the time being.

string?
   
 Changed object 
oc

Uniquely identifies the type of object (primary keys in brackets)being traced.

For example:

  • o: Order (oid)
  • jc: Codyt Job (jid)
  • js: Standard job (jid)
  • ps: Person/User (uid)
  • mc: Master Company (mid)
  • c: Company (cid)
  • p: Project (pid)
  • d: Document (did)
  • rs: RevisionSet (rsid)
  • pl: Pricelist (plid)
  • svc: Pricelist services (excluding inhouse person services) (svcid)
  • ds: Resource (dsid)
  • jsd: Standard job document (jid + did)
  • ca: Company properties (caid)

User profiles

  • uprof: User profiles (uprofid)
  • uproff: User profile functionality (uprofid, ufunc)
See full list of traced business objects further down
  • ...

See Traces for all objects.


 
key

The unique key of the changed object. This may be a composite key.

Example of a company change (object "c"):

Code Block
key: { "cid": 1000 }

Example of a standard job document change (object "jsd"):

Code Block
key: { "js": "s9928", "did": 88372 }

See list of objects and their keys

 

object
   
 

Change details

string
aType of action:
  • "d": Deletion
  • "i": Insertion
  • "c": Change
string
fld

The data fields. Each element contains a changed field.

Example:

Code Block
[
	{ "f": "Reference", "v": "New reference 1", "p": "Old reference" },
	{ "f": "Status_", "v": 3, "p": 2 }
]

Notes:

  • With deletions the fld property is always empty
  • Fields with null-values are not listed

 

object[]
vThe used field names may undergo changes or extensions over time. This is the field dictionary version of the present trace.int

...