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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PhoneCallIdUnique ID of the phone call. | StringsmmPhoneCallId | Yes | None | |
ActivityNumberThe activity linked to the call. | String (50)smmActivityNumber | No | smmActivities.ActivityNumber | None |
CallDateThe date of the call. | DatesmmPhoneDate | Yes | None | |
CallDescriptionFree-text description of the call. | String (-1)smmTMUserMemo | No | None | |
CallSubjectShort subject of the call. | String (64)smmTMCallSubject | No | None | |
CallTypeWhether the call was outbound or inbound. | EnumsmmPhoneCallType (enum) | No | None | |
CaseIdThe case linked to the call. | StringCaseId | No | CaseDetailBase.CaseId | None |
ContactPersonIdThe contact person who took part in the call. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DurationTimeHow long the call lasted. | TimesmmDuration | No | None | |
EndTimeTime the call ended. | TimeTimeOfDay | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyThe party (customer or vendor) the call relates to. | Int64DirPartyRecId | No | CustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.Party | None |
PhoneNumberThe telephone number used for the call. | String (20)smmPhone | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SalesUnitIdThe sales unit linked to the call. | String (20)smmSalesUnitId | No | smmSalesUnit.SalesUnitId | None |
StartTimeTime the call started. | TimeTimeOfDay | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerThe worker who made or took the call. | Int64CrmWorkerRecId | No | HcmWorker.RecId | None |
Indexes (6)
DirectoryIdxNot unique.
CaseIdIdxNot unique.
DateTimeNot unique.
PhoneCallIdIdxPrimary indexReplacement keyUnique, alternate key.
Empl_Date_Type_IdxNot unique.
ContactIdxNot unique.
Relations (11)
Each relation joins smmPhoneLog to another table on the fields shown.
CaseDetail→CaseDetailBaseJoin on
CaseId = CaseDetailBase.CaseIdMany smmPhoneLog records → zero or one CaseDetailBase record
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany smmPhoneLog records → zero or one ContactPerson record
CustTable→CustTableJoin on
Party = CustTable.PartyMany smmPhoneLog records → zero or one CustTable record
DirAddressBookParty→DirAddressBookPartyAllViewJoin on
Party = DirAddressBookPartyAllView.PartyCardinality not set in the metadata.
DirPartyTable_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany smmPhoneLog records → zero or one DirPartyTable record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany smmPhoneLog records → zero or one smmActivities record
smmBusRelTable→smmBusRelTableJoin on
Party = smmBusRelTable.PartyMany smmPhoneLog records → zero or one smmBusRelTable record
smmSalesUnit→smmSalesUnitJoin on
SalesUnitId = smmSalesUnit.SalesUnitIdMany smmPhoneLog records → zero or one smmSalesUnit record
smmTMCallListTable→smmTMCallListTableJoin on
Party = smmTMCallListTable.PartyCardinality not set in the metadata.
VendTable→VendTableJoin on
Party = VendTable.PartyMany smmPhoneLog records → zero or one VendTable record
Worker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany 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.