Table

smmTransLog

Transaction log

Log of changes made to records in the sales and marketing area. Each row notes the action (create, update or delete), the kind of record, the time and the worker. It has no defined key and can point to customers, vendors, contacts, sales orders, documents and other record types.

Table name
smmTransLog
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
SmmCRM
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContactPersonIdContact person linked to the logged record.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LogActionKind of change that was logged: create, update or delete.Enum
smmLogAction (enum)
NoNone
LogDateTimeDate and time in UTC when the change was logged.UtcDateTime
smmLogDateTime
YesNone
LogTypeKind of record that was changed, such as customer table, contact or sales orders.Enum
smmLogType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyParty in the global address book that the logged record relates to.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
PrimaryDescriptionMain text describing the logged record.String (60)
smmLogPrimDescription
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefDateReference date for the logged record.Date
TransDate
NoNone
RefNumReference number of the logged record. A relation to a case ID is given.low confidenceString (50)
smmLogRefNum
NoCaseDetailBase.CaseIdNone
RefRecIdSystem record ID of the logged record.Int64
smmLogRecId
YesCaseDetailBase.RecIdNone
RefTableIdID of the table that the logged record belongs to. Together with the record ID it identifies the exact row.Integer
smmLogTableId
YesCustTable.TableIdDocuRef.TableIdSalesTable.TableIdVendTable.TableIdsmmActivities.TableIdsmmCampaignTable.TableIdsmmMailings.TableIdNone
SalesUnitIdSales unit linked to the logged record.String (20)
smmSalesUnitId
NosmmSalesUnit.SalesUnitIdNone
SecondaryDescriptionAdditional short text describing the logged record.String (20)
smmLogSecDescription
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerWorker linked to the log entry.Int64
smmLogWorker
NoHcmWorker.RecIdNone

Indexes (8)

Relations (21)

Each relation joins smmTransLog to another table on the fields shown.

  • CaseDetailBase → CaseDetailBase

    Join on RefRecId = CaseDetailBase.RecId

    Many smmTransLog records → exactly one CaseDetailBase record

  • CaseDetailCaseId → CaseDetailBase

    Join on RefNum = CaseDetailBase.CaseId

    Many smmTransLog records → zero or one CaseDetailBase record

  • CaseDetailTable → CaseDetailBase

    Join on RefTableId = CaseDetailBase.TableId

    Cardinality not set in the metadata.

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many smmTransLog records → zero or one ContactPerson record

  • CustTable → CustTable

    Join on RefTableId = CustTable.TableId, RefRecId = CustTable.RecId, RefNum = CustTable.AccountNum

    Cardinality not set in the metadata.

  • CustTrans → CustTrans

    Join on RefTableId = CustTrans.TableId, RefRecId = CustTrans.RecId, RefNum = CustTrans.Voucher

    Cardinality not set in the metadata.

  • DirAddressBookParty → DirAddressBookPartyAllView

    Join on Party = DirAddressBookPartyAllView.Party

    Cardinality not set in the metadata.

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmTransLog records → zero or one DirPartyTable record

  • DocuRef → DocuRef

    Join on RefTableId = DocuRef.TableId, RefRecId = DocuRef.RecId

    Many smmTransLog records → zero or one DocuRef record

  • SalesTable → SalesTable

    Join on RefTableId = SalesTable.TableId, RefRecId = SalesTable.RecId, RefNum = SalesTable.SalesId

    Cardinality not set in the metadata.

  • smmActivities → smmActivities

    Join on RefTableId = smmActivities.TableId, RefRecId = smmActivities.RecId, RefNum = smmActivities.ActivityNumber

    Cardinality not set in the metadata.

  • smmBusRelTable → smmBusRelTable

    Join on RefTableId = smmBusRelTable.TableId, RefRecId = smmBusRelTable.RecId

    Many smmTransLog records → zero or one smmBusRelTable record

  • smmCampaignTable → smmCampaignTable

    Join on RefRecId = smmCampaignTable.RecId, RefNum = smmCampaignTable.CampaignId, RefTableId = smmCampaignTable.TableId

    Cardinality not set in the metadata.

  • smmLeadTable → smmLeadTable

    Join on RefTableId = smmLeadTable.TableId, RefRecId = smmLeadTable.RecId

    Many smmTransLog records → zero or one smmLeadTable record

  • smmMailings → smmMailings

    Join on RefTableId = smmMailings.TableId, RefRecId = smmMailings.RecId, RefNum = smmMailings.KeyId

    Cardinality not set in the metadata.

  • smmOpportunityTable → smmOpportunityTable

    Join on RefTableId = smmOpportunityTable.TableId, RefRecId = smmOpportunityTable.RecId

    Many smmTransLog records → zero or one smmOpportunityTable record

  • smmSalesUnit → smmSalesUnit

    Join on SalesUnitId = smmSalesUnit.SalesUnitId

    Many smmTransLog records → zero or one smmSalesUnit record

  • smmTMCallListTable → smmTMCallListTable

    Join on RefTableId = smmTMCallListTable.TableId, RefRecId = smmTMCallListTable.RecId

    Many smmTransLog records → zero or one smmTMCallListTable record

  • VendTable → VendTable

    Join on RefTableId = VendTable.TableId, RefRecId = VendTable.RecId, RefNum = VendTable.AccountNum

    Cardinality not set in the metadata.

  • VendTrans → VendTrans

    Join on RefTableId = VendTrans.TableId, RefRecId = VendTrans.RecId, RefNum = VendTrans.Voucher

    Cardinality not set in the metadata.

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many smmTransLog records → zero or one HcmWorker record

Get this data out

No public entity reads from smmTransLog. Its data is only reachable through the application, a custom entity or a database export.

Need help with smmTransLog in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk