Data entity
DualWritePurchaseOrderActivitiesEntity
Entity for dual-write that connects activities to purchase orders. The root is the activities table, joined to the activity parent links and the purchase orders. It holds activity status, dates, location, category, phase and Outlook-related fields. The key is the activity number and purchase order number.
- Entity name
DualWritePurchaseOrderActivitiesEntity- Public entity name
DualWritePurchaseOrderActivity- OData collection
DualWritePurchaseOrderActivities- Category
Document- Module
Accounts payable- Read-only
No- Data management enabled
Yes- Configuration key
LogisticsBasic- Keys
ActivityNumber, PurchaseOrderNumber- Staging table
DualWritePurchaseOrderActivitiesStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/DualWritePurchaseOrderActivities- Dataverse virtual table
mserp_dualwritepurchaseorderactivitiesentity. 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· rootsmmActivityParentLinkTable· InnerJoin tosmmActivitiesPurchTable· InnerJoin tosmmActivityParentLinkTable· read-only
Fields (51)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActivityNumberUnique number of the activity. | String (50)smmActivityNumber | Yes | Yes | smmActivities.ActivityNumber | |
ActivityTaskTimeTypeProgress state of the task, such as not started or completed. | Enum
| No | Yes | smmActivities.ActivityTaskTimeType | |
ActivityTimeTypeHow the time shows in a calendar: free, tentative, busy or out of office. | Enum
| No | Yes | smmActivities.ActivityTimeType | |
ActualEndDateTimeDate and time the activity was closed. | UtcDateTimesmmActivityActualEndDateTime | No | Yes | smmActivities.ActualEndDateTime | |
ActualWorkWork actually done on the activity. | RealCaseActualWork | No | Yes | smmActivities.ActualWork | |
AllDayYes or No flag for an all-day activity. | EnumsmmActivityAllDay
| No | Yes | smmActivities.AllDay | |
BillingInformationText with billing details. | String (150)CaseBillingInformation | No | Yes | smmActivities.BillingInformation | |
CategoryKind of activity: appointment, task, action or event. | Enum
| No | Yes | smmActivities.Category | |
ClosedYes or No flag showing whether the activity is closed. | EnumsmmActivityClosed
| No | Yes | smmActivities.Closed | |
DispatchedDispatch state: never, no or yes. | EnumSMAActivityDispatched
| No | Yes | smmActivities.Dispatched | |
DoneByWorkerWorker who closed the activity. | Int64HcmWorkerRecId | No | Yes | HcmWorker.RecId | smmActivities.DoneByWorker |
EndDateTimePlanned end date and time. | UtcDateTimesmmActivityEndDateTime | No | Yes | smmActivities.EndDateTime | |
ExternalMemoText taken from the Outlook item. | String (-1)CaseOutlookMemo | No | Yes | smmActivities.ExternalMemo | |
IsMasterAppointmentYes or No flag for a master appointment in Outlook. | EnumCaseOutlookIsMasterAppointment
| No | Yes | smmActivities.IsMasterAppointment | |
IsTemplateYes or No flag showing that the activity is a template. | EnumsmmActivityIsTemplate
| No | Yes | smmActivities.IsTemplate | |
KeepSynchronizedYes or No flag for keeping the activity in sync with Outlook. | EnumCaseOutlookKeepSynchronized
| No | Yes | smmActivities.KeepSynchronized | |
LastEditAxDateTimeDate and time of the last edit. The label looks unrelated to this meaning.low confidence | UtcDateTimesmmActivityLastEditAxDateTime | No | Yes | smmActivities.LastEditAxDateTime | |
LocationPlace where the activity happens. | String (255)smmActivityLocation | No | Yes | smmActivities.Location | |
MileageMileage text recorded for the activity. | String (199)CaseMileage | No | Yes | smmActivities.Mileage | |
ModifiedYes or No flag showing that the activity was changed. | EnumsmmActivitiesModified
| No | Yes | smmActivities.Modified | |
OriginalAppointmentStartDateTimeOriginal start date and time of the appointment. | UtcDateTimesmmActivityStartDateTime | No | Yes | smmActivities.OriginalAppointmentStartDateTime | |
OutlookCategoriesOutlook categories on the item. | String (255)CaseOutlookCategories | No | Yes | smmActivities.OutlookCategories | |
OutlookEntryIDOutlook entry ID of the item. | String (255)smmActivityOutlookEntryID | No | Yes | smmActivities.OutlookEntryID | |
OutlookGlobalObjectIDOutlook shared object ID of the item. | String (255)smmActivityOutlookGlobalObjectID | No | Yes | smmActivities.OutlookGlobalObjectID | |
OutlookResourcesResources listed for the activity in Outlook. | StringCaseOutlookResources | No | Yes | smmActivities.OutlookResources | |
PercentageCompletedPercentage of the activity that is complete. | RealCasePercentageCompleted | No | Yes | smmActivities.PercentageCompleted | |
PhaseIdPhase of the activity. Points to the activity phase group. | String (20)smmActivityPhaseId | No | Yes | smmActivityPhaseGroup.PhaseId | smmActivities.PhaseId |
PlanIdActivity plan the activity belongs to. | String (20)smmActivityPlanId | No | Yes | smmActivityPlanGroup.PlanId | smmActivities.PlanId |
PurchAgreementHeaderSystem record ID of the related purchase agreement. | Int64RefRecId | No | Yes | PurchAgreementHeader.RecId | smmActivities.PurchAgreementHeader |
PurposeShort text stating the purpose of the activity. | String (255)smmActivityPurpose | No | Yes | smmActivities.Purpose | |
RecurrenceStateShows whether the activity is not recurring, a recurring master, an occurrence or an exception. | Enum
| No | Yes | smmActivities.RecurrenceState | |
ReminderActiveYes or No flag for a reminder. | EnumsmmActivityReminderActive
| No | Yes | smmActivities.ReminderActive | |
ReminderDateTimeDate and time of the reminder. | UtcDateTimesmmActivityReminderDateTime | No | Yes | smmActivities.ReminderDateTime | |
ReminderMinutesMinutes before the start that the reminder is set. | IntegersmmActivityReminderMinutes | No | Yes | smmActivities.ReminderMinutes | |
ResponseRequestedYes or No flag showing whether a response is requested. | EnumCaseResponseRequested
| No | Yes | smmActivities.ResponseRequested | |
SensitivityPrivacy level: normal, personal, private or confidential. | Enum
| No | Yes | smmActivities.Sensitivity | |
SourceApplication the activity came from. | String (255)smmActivitySource | No | Yes | smmActivities.Source | |
StartDateTimeStart date and time of the activity. | UtcDateTimesmmActivityStartDateTime | No | Yes | smmActivities.StartDateTime | |
StatusWhether the activity is unread or read. | Enum
| No | Yes | smmActivities.Status | |
TaskPriorityPriority of the task: low, normal or high. | Enum
| No | Yes | smmActivities.TaskPriority | |
TaskRoleRole linked to the task. | StringCaseTaskRole | No | Yes | smmActivities.TaskRole | |
TotalWorkTotal planned work for the activity. | RealCaseTotalWork | No | Yes | smmActivities.TotalWork | |
TeamTaskYes or No flag for a team task. | EnumCaseTeamTask
| No | Yes | smmActivities.TeamTask | |
TypeIdActivity type. Points to the activity type group. | String (20)smmActivityTypeId | No | Yes | smmActivityTypeGroup.TypeId | smmActivities.TypeId |
UserMemoNotes entered by the user. | String (-1)smmActivityUserMemo | No | Yes | smmActivities.UserMemo | |
ParentTypeKind of parent record, such as customer, vendor, sales order or case. | Enum
| No | Yes | smmActivityParentLinkTable.ParentType | |
PrimaryLinkYes or No flag marking the main link of the activity. | EnumsmmActivityPrimaryLink
| No | Yes | smmActivityParentLinkTable.PrimaryLink | |
RefRecIdSystem record ID of the linked parent record. | Int64smmActivityParentRefRecId | No | No (private) | CaseDetailBase.RecIdContactPerson.RecIdProjTable.RecIdPurchTable.RecIdSMAServiceOrderLine.RecIdSMAServiceOrderTable.RecIdSalesQuotationTable.RecIdSalesTable.RecIdsmmBusRelTable.RecIdsmmCampaignTable.RecIdsmmLeadTable.RecIdsmmOpportunityTable.RecIdsmmTMCallListGroup.RecId | smmActivityParentLinkTable.RefRecId |
RefTableIdID of the table that holds the parent record. | IntegersmmActivityParentRefTableId | No | No (private) | smmActivityParentLinkTable.RefTableId | |
ResponsibilityIdResponsibility linked to the activity. | String (20)smmResponsibilityId | No | Yes | smmResponsibilityGroup.ResponsibilityId | smmActivities.ResponsibilityId |
PurchaseOrderNumberPurchase order number. It identifies the order. | String (20)PurchIdBase | Yes | Yes | PurchTable.PurchId |
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 DualWritePurchaseOrderActivitiesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.