Skip to content

dbo.OptimoRouteLog ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.OptimoRouteLog.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentitySurrogate primary key of the log entry.
2Modulenvarchar(50)noName of the OptimoRoute integration module/component that generated this log entry.
3Actionnvarchar(50)noThe action performed or event that occurred (e.g. create/update/sync/error).
4JobIDuniqueidentifieryesPrime Ecosystem job the log entry relates to, if applicable.
5AppointmentIDuniqueidentifieryesPrime Ecosystem appointment the log entry relates to, if applicable.
6BookingIDintyesethBooking record the log entry relates to, if applicable.
7UserIDuniqueidentifieryesUser (e.g. estimator/driver) the log entry relates to, if applicable.
8Detailsnvarchar(1000)yesFree-text detail/message describing what happened, e.g. request/response info or error text.
9UpdatedAtdatetimenoTimestamp when this log entry was recorded.
10PlanDatedatetimeyesDate of the OptimoRoute route plan the log entry relates to, if applicable.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
IX_OptimoRouteLog_UpdatedAtNONCLUSTEREDUpdatedAtAction, AppointmentID, BookingID, JobID, Module, UserID
IX_OptimoRouteLog_ModuleActionUpdatedAtNONCLUSTEREDModule, Action, UpdatedAt

Relationships (inferred) ​

FromToConfidence
dbo.OptimoRouteLog.AppointmentIDdbo.primeAppointments.idhigh
dbo.OptimoRouteLog.JobIDdbo.primeJobs.Idhigh
dbo.OptimoRouteLog.UserIDdbo.primeUsers.idhigh

Referenced by ​

Procedures: dbo.spOptimoRouteGetDistinctActions, dbo.spOptimoRouteGetDistinctModules, dbo.spOptimoRouteGetLogs, dbo.spOptimoRouteGetLogsPaged, dbo.spOptimoRouteLogInsert