Data entity

DualWriteCustomerActivitiesEntity

Holds activities linked to customers, such as appointments and tasks. It is built on the activities table and joined to the activity parent links and the customer table. Each record is identified by the activity number and the customer account. The name suggests it is used for dual-write sync.

Entity name
DualWriteCustomerActivitiesEntity
Public entity name
DualWriteCustomerActivity
OData collection
DualWriteCustomerActivities
Category
Document
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
ActivityNumber, AccountNum
Staging table
DualWriteCustomerActivitiesStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/DualWriteCustomerActivities
Dataverse virtual table
mserp_dualwritecustomeractivitiesentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • smmActivities · root
  • smmActivityParentLinkTable · InnerJoin to smmActivities
  • CustTable · InnerJoin to smmActivityParentLinkTable · read-only

Fields (51)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountNumUnique customer account number. It identifies the customer record and is the table key.String (20)
CustAccount
YesYesCustTable.AccountNum
ActivityNumberUnique number of the activity.String (50)
smmActivityNumber
YesYessmmActivities.ActivityNumber
ActivityTaskTimeTypeProgress state of the task, such as not started or completed.Enum
smmActivityTaskTimeType
  • NotStarted 0
  • InProgress 1
  • Completed 2
  • Waiting 3
  • Deferred 4
NoYessmmActivities.ActivityTaskTimeType
ActivityTimeTypeHow the time shows in a calendar: free, tentative, busy or out of office.Enum
smmShowTimeAs
  • Free 0
  • Tentative 1
  • Busy 2
  • OutOfOffice 3
NoYessmmActivities.ActivityTimeType
ActualEndDateTimeDate and time the activity was closed.UtcDateTime
smmActivityActualEndDateTime
NoYessmmActivities.ActualEndDateTime
ActualWorkWork actually done on the activity.Real
CaseActualWork
NoYessmmActivities.ActualWork
AllDayYes or No flag for an all-day activity.Enum
smmActivityAllDay
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.AllDay
BillingInformationText with billing details.String (150)
CaseBillingInformation
NoYessmmActivities.BillingInformation
CategoryKind of activity: appointment, task, action or event.Enum
smmActivityCategory
  • Appointment 0
  • Task 1
  • Action 2
  • Event 3
NoYessmmActivities.Category
ClosedYes or No flag showing whether the activity is closed.Enum
smmActivityClosed
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.Closed
DispatchedDispatch state: never, no or yes.Enum
SMAActivityDispatched
SMADispatched
  • Never 0
  • No 1
  • Yes 2
NoYessmmActivities.Dispatched
DoneByWorkerWorker who closed the activity.Int64
HcmWorkerRecId
NoYesHcmWorker.RecIdsmmActivities.DoneByWorker
EndDateTimePlanned end date and time.UtcDateTime
smmActivityEndDateTime
NoYessmmActivities.EndDateTime
ExternalMemoText taken from the Outlook item.String (-1)
CaseOutlookMemo
NoYessmmActivities.ExternalMemo
IsMasterAppointmentYes or No flag for a master appointment in Outlook.Enum
CaseOutlookIsMasterAppointment
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.IsMasterAppointment
IsTemplateYes or No flag showing that the activity is a template.Enum
smmActivityIsTemplate
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.IsTemplate
KeepSynchronizedYes or No flag for keeping the activity in sync with Outlook.Enum
CaseOutlookKeepSynchronized
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.KeepSynchronized
LastEditAxDateTimeDate and time of the last edit. The label looks unrelated to this meaning.low confidenceUtcDateTime
smmActivityLastEditAxDateTime
NoYessmmActivities.LastEditAxDateTime
LocationPlace where the activity happens.String (255)
smmActivityLocation
NoYessmmActivities.Location
MileageMileage text recorded for the activity.String (199)
CaseMileage
NoYessmmActivities.Mileage
ModifiedYes or No flag showing that the activity was changed.Enum
smmActivitiesModified
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.Modified
OriginalAppointmentStartDateTimeOriginal start date and time of the appointment.UtcDateTime
smmActivityStartDateTime
NoYessmmActivities.OriginalAppointmentStartDateTime
OutlookCategoriesOutlook categories on the item.String (255)
CaseOutlookCategories
NoYessmmActivities.OutlookCategories
OutlookEntryIDOutlook entry ID of the item.String (255)
smmActivityOutlookEntryID
NoYessmmActivities.OutlookEntryID
OutlookGlobalObjectIDOutlook shared object ID of the item.String (255)
smmActivityOutlookGlobalObjectID
NoYessmmActivities.OutlookGlobalObjectID
OutlookResourcesResources listed for the activity in Outlook.String
CaseOutlookResources
NoYessmmActivities.OutlookResources
PercentageCompletedPercentage of the activity that is complete.Real
CasePercentageCompleted
NoYessmmActivities.PercentageCompleted
PhaseIdPhase of the activity. Points to the activity phase group.String (20)
smmActivityPhaseId
NoYessmmActivityPhaseGroup.PhaseIdsmmActivities.PhaseId
PlanIdActivity plan the activity belongs to.String (20)
smmActivityPlanId
NoYessmmActivityPlanGroup.PlanIdsmmActivities.PlanId
PurchAgreementHeaderSystem record ID of the related purchase agreement.Int64
RefRecId
NoYesPurchAgreementHeader.RecIdsmmActivities.PurchAgreementHeader
PurposeShort text stating the purpose of the activity.String (255)
smmActivityPurpose
NoYessmmActivities.Purpose
RecurrenceStateShows whether the activity is not recurring, a recurring master, an occurrence or an exception.Enum
smmOutlookRecurrenceState
  • NotRecurring 0
  • Master 1
  • Occurrence 2
  • Exception 3
NoYessmmActivities.RecurrenceState
ReminderActiveYes or No flag for a reminder.Enum
smmActivityReminderActive
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.ReminderActive
ReminderDateTimeDate and time of the reminder.UtcDateTime
smmActivityReminderDateTime
NoYessmmActivities.ReminderDateTime
ReminderMinutesMinutes before the start that the reminder is set.Integer
smmActivityReminderMinutes
NoYessmmActivities.ReminderMinutes
ResponseRequestedYes or No flag showing whether a response is requested.Enum
CaseResponseRequested
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.ResponseRequested
SensitivityPrivacy level: normal, personal, private or confidential.Enum
smmSensitivity
  • Normal 0
  • Personal 1
  • Privat 2
  • Confidential 3
NoYessmmActivities.Sensitivity
SourceApplication the activity came from.String (255)
smmActivitySource
NoYessmmActivities.Source
StartDateTimeStart date and time of the activity.UtcDateTime
smmActivityStartDateTime
NoYessmmActivities.StartDateTime
StatusWhether the activity is unread or read.Enum
smmActivityStatus
  • Unread 0
  • Read 1
NoYessmmActivities.Status
TaskPriorityPriority of the task: low, normal or high.Enum
smmActivityPriority
  • Low 1
  • Normal 0
  • High 2
NoYessmmActivities.TaskPriority
TaskRoleRole linked to the task.String
CaseTaskRole
NoYessmmActivities.TaskRole
TotalWorkTotal planned work for the activity.Real
CaseTotalWork
NoYessmmActivities.TotalWork
TeamTaskYes or No flag for a team task.Enum
CaseTeamTask
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.TeamTask
TypeIdActivity type. Points to the activity type group.String (20)
smmActivityTypeId
NoYessmmActivityTypeGroup.TypeIdsmmActivities.TypeId
UserMemoNotes entered by the user.String (-1)
smmActivityUserMemo
NoYessmmActivities.UserMemo
ParentTypeKind of parent record, such as customer, vendor, sales order or case.Enum
smmActivityParentType
  • None 0
  • Person 12
  • Organization 16
  • Case 17
  • ContactPerson 18
  • SalesTable 1
  • BusRel 2
  • Customer 13
  • Vendor 14
  • PurchTable 3
  • Quotation 5
  • ServiceOrder 6
  • Project 7
  • Campaign 8
  • CallList 9
  • Lead 10
  • Opportunity 11
  • ServiceOrderLine 15
  • Collections 18
  • RentalItem 101
NoYessmmActivityParentLinkTable.ParentType
PrimaryLinkYes or No flag marking the main link of the activity.Enum
smmActivityPrimaryLink
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivityParentLinkTable.PrimaryLink
RefRecIdSystem record ID of the linked parent record.Int64
smmActivityParentRefRecId
NoYesCaseDetailBase.RecIdContactPerson.RecIdProjTable.RecIdPurchTable.RecIdSMAServiceOrderLine.RecIdSMAServiceOrderTable.RecIdSalesQuotationTable.RecIdSalesTable.RecIdsmmBusRelTable.RecIdsmmCampaignTable.RecIdsmmLeadTable.RecIdsmmOpportunityTable.RecIdsmmTMCallListGroup.RecIdsmmActivityParentLinkTable.RefRecId
RefTableIdID of the table that holds the parent record.Integer
smmActivityParentRefTableId
NoYessmmActivityParentLinkTable.RefTableId
ResponsibilityIdResponsibility linked to the activity.String (20)
smmResponsibilityId
NoYessmmResponsibilityGroup.ResponsibilityIdsmmActivities.ResponsibilityId

Foreign keys (19)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • DoneByWorker → HcmWorker.RecId (key of HcmWorker)

    Many smmActivities records → zero or one HcmWorker record

    HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity

  • PhaseId → smmActivityPhaseGroup.PhaseId (key of smmActivityPhaseGroup)

    Many smmActivities records → zero or one smmActivityPhaseGroup record

    Not exposed by a public entity.

  • PlanId → smmActivityPlanGroup.PlanId (key of smmActivityPlanGroup)

    Many smmActivities records → zero or one smmActivityPlanGroup record

    Not exposed by a public entity.

  • PurchAgreementHeader → PurchAgreementHeader.RecId (key of PurchAgreementHeader)

    One or more smmActivities records → zero or one PurchAgreementHeader record

    PurchAgreementHeader details: see CLMIntegrationPurchaseAgreementHeaderEntity, PurchPurchaseAgreementHeaderV2Entity, BudgetReservationAgreementLineEntity_PSN

  • TypeId → smmActivityTypeGroup.TypeId (key of smmActivityTypeGroup)

    Many smmActivities records → zero or one smmActivityTypeGroup record

    Not exposed by a public entity.

  • RefRecId → CaseDetailBase.RecId (key of CaseDetailBase)

    Many smmActivityParentLinkTable records → zero or one CaseDetailBase record

    CaseDetailBase details: see QMSCAPACaseEntity, HcmFMLACaseAssociationEntity, HcmFMLACaseCertificationEntity

  • RefRecId → ContactPerson.RecId (key of ContactPerson)

    Relation also requires ParentType = smmActivityParentType::ContactPerson.

    Many smmActivityParentLinkTable records → zero or one ContactPerson record

    ContactPerson details: see smmContactPersonV2Entity, smmContactPersonCDSV2Entity, smmContactPersonCDSEntity

  • RefRecId → ProjTable.RecId (key of ProjTable)

    Relation also requires ParentType = smmActivityParentType::Project.

    Many smmActivityParentLinkTable records → zero or one ProjTable record

    ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity

  • RefRecId → PurchTable.RecId (key of PurchTable)

    Relation also requires ParentType = smmActivityParentType::PurchTable.

    Many smmActivityParentLinkTable records → zero or one PurchTable record

    PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity

  • RefRecId → SMAServiceOrderLine.RecId (key of SMAServiceOrderLine)

    Relation also requires ParentType = smmActivityParentType::ServiceOrderLine.

    Many smmActivityParentLinkTable records → zero or one SMAServiceOrderLine record

    SMAServiceOrderLine details: see SMAServiceOrderLineEntity, TaxSMAServiceOrderLineTransTaxInformationEntity, SMAServiceOrderLineBiEntity

  • RefRecId → SMAServiceOrderTable.RecId (key of SMAServiceOrderTable)

    Relation also requires ParentType = smmActivityParentType::ServiceOrder.

    Many smmActivityParentLinkTable records → zero or one SMAServiceOrderTable record

    SMAServiceOrderTable details: see SMAServiceOrderHeaderEntity, SMAServiceOrderLineEntity, SMAServiceOrderTableBiEntity

  • RefRecId → SalesQuotationTable.RecId (key of SalesQuotationTable)

    Relation also requires ParentType = smmActivityParentType::Quotation.

    Many smmActivityParentLinkTable records → zero or one SalesQuotationTable record

    SalesQuotationTable details: see ProjQuotationHeaderEntity, SalesQuotationHeaderV2Entity, SalesQuotationHeaderEntity

  • RefRecId → SalesTable.RecId (key of SalesTable)

    Relation also requires ParentType = smmActivityParentType::SalesTable.

    Many smmActivityParentLinkTable records → zero or one SalesTable record

    SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity

  • RefRecId → smmBusRelTable.RecId (key of smmBusRelTable)

    Relation also requires ParentType = smmActivityParentType::BusRel.

    Many smmActivityParentLinkTable records → zero or one smmBusRelTable record

    smmBusRelTable details: see smmProspectEntity, smmProspectD365SalesEntity, smmContactPersonCDSV2Entity

  • RefRecId → smmCampaignTable.RecId (key of smmCampaignTable)

    Relation also requires ParentType = smmActivityParentType::Campaign.

    Many smmActivityParentLinkTable records → zero or one smmCampaignTable record

    smmCampaignTable details: see DimAttributeSmmCampaignTableEntity

  • RefRecId → smmLeadTable.RecId (key of smmLeadTable)

    Relation also requires ParentType = smmActivityParentType::Lead.

    Many smmActivityParentLinkTable records → zero or one smmLeadTable record

    smmLeadTable details: see smmLeadContactPersonCDSEntity

  • RefRecId → smmOpportunityTable.RecId (key of smmOpportunityTable)

    Relation also requires ParentType = smmActivityParentType::Opportunity.

    Many smmActivityParentLinkTable records → zero or one smmOpportunityTable record

    Not exposed by a public entity.

  • RefRecId → smmTMCallListGroup.RecId (key of smmTMCallListGroup)

    Relation also requires ParentType = smmActivityParentType::CallList.

    Many smmActivityParentLinkTable records → zero or one smmTMCallListGroup record

    Not exposed by a public entity.

  • ResponsibilityId → smmResponsibilityGroup.ResponsibilityId (key of smmResponsibilityGroup)

    Many smmActivities records → zero or one smmResponsibilityGroup record

    Not exposed by a public entity.

Need help with DualWriteCustomerActivitiesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk