Table

smmPhoneLog

Calls

Holds a log of phone calls, one row per phone call ID. Each call records the date, start and end time, duration, direction and subject. It can link to a party, contact, case, activity, worker and sales unit.

Table name
smmPhoneLog
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
SysDeletedObjects70
Primary index
PhoneCallIdIdx
Replacement key
PhoneCallIdIdx
Key fields
PhoneCallId
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PhoneCallIdUnique ID of the phone call.String
smmPhoneCallId
YesNone
ActivityNumberThe activity linked to the call.String (50)
smmActivityNumber
NosmmActivities.ActivityNumberNone
CallDateThe date of the call.Date
smmPhoneDate
YesNone
CallDescriptionFree-text description of the call.String (-1)
smmTMUserMemo
NoNone
CallSubjectShort subject of the call.String (64)
smmTMCallSubject
NoNone
CallTypeWhether the call was outbound or inbound.Enum
smmPhoneCallType (enum)
NoNone
CaseIdThe case linked to the call.String
CaseId
NoCaseDetailBase.CaseIdNone
ContactPersonIdThe contact person who took part in the call.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DurationTimeHow long the call lasted.Time
smmDuration
NoNone
EndTimeTime the call ended.Time
TimeOfDay
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyThe party (customer or vendor) the call relates to.Int64
DirPartyRecId
NoCustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartyNone
PhoneNumberThe telephone number used for the call.String (20)
smmPhone
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
SalesUnitIdThe sales unit linked to the call.String (20)
smmSalesUnitId
NosmmSalesUnit.SalesUnitIdNone
StartTimeTime the call started.Time
TimeOfDay
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerThe worker who made or took the call.Int64
CrmWorkerRecId
NoHcmWorker.RecIdNone

Indexes (6)

Relations (11)

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

  • CaseDetail → CaseDetailBase

    Join on CaseId = CaseDetailBase.CaseId

    Many smmPhoneLog records → zero or one CaseDetailBase record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many smmPhoneLog records → zero or one ContactPerson record

  • CustTable → CustTable

    Join on Party = CustTable.Party

    Many smmPhoneLog records → zero or one CustTable record

  • DirAddressBookParty → DirAddressBookPartyAllView

    Join on Party = DirAddressBookPartyAllView.Party

    Cardinality not set in the metadata.

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmPhoneLog records → zero or one DirPartyTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many smmPhoneLog records → zero or one smmActivities record

  • smmBusRelTable → smmBusRelTable

    Join on Party = smmBusRelTable.Party

    Many smmPhoneLog records → zero or one smmBusRelTable record

  • smmSalesUnit → smmSalesUnit

    Join on SalesUnitId = smmSalesUnit.SalesUnitId

    Many smmPhoneLog records → zero or one smmSalesUnit record

  • smmTMCallListTable → smmTMCallListTable

    Join on Party = smmTMCallListTable.Party

    Cardinality not set in the metadata.

  • VendTable → VendTable

    Join on Party = VendTable.Party

    Many smmPhoneLog records → zero or one VendTable record

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many smmPhoneLog records → zero or one HcmWorker record

Get this data out

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

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

Email sales@drdynamics.co.uk