Table
ProjActivity
Activities
Project activities, keyed by activity number. Each record extends an activity with a default category, job and pay type details, and scheduling data such as duration, dates, constraints and staffing status. It links to the main activities table and to activity setup.
- Table name
ProjActivity- Module
Project management and accounting- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
ActivityNumberIdx- Replacement key
ActivityNumberIdx- Key fields
ActivityNumber- Model
Foundation
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActivityNumberUnique number of the activity. | String (50)smmActivityNumber | Yes | smmActivities.ActivityNumber | None |
CategoryDefaultDefault project category for the activity. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
JobIdIdentifier of the job. | String (20)JmgJobId | No | None | |
JobPayTypePay type for the job: all, hourly rate or piecework rate. | EnumJmgJobPayTypeJmgJobPayTypeEnum (enum) | No | None | |
MandatoryShows whether the activity is restricted to its category. | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PSAActivityActivity identification code. | String (20)PSAActivityIdNew | No | None | |
PSAActivityDurationDuration of the activity in days. | RealPSAActivityDuration | No | None | |
PSACalendarIdCalendar used for the activity. | StringCalendarId | No | None | |
PSAConstraintDateDate used by the scheduling constraint. | DatePSAConstraintDate | No | None | |
PSAConstraintTypeScheduling constraint, such as must start on or finish no later than. | EnumPSAConstraintType (enum) | No | None | |
PSADefaultDateDefault date for the activity. | DateTransDate | No | None | |
PSADurationToEndShows whether the duration decides the end date. | EnumPSADurationToEndNoYes (enum) | No | None | |
PSAHierarchyHierarchy the activity belongs to. | StringPSAHierarchy | No | None | |
PSAIgnoreCalendarShows whether the resources' calendar is disregarded. | EnumPSAIgnoreCalendarNoYes (enum) | No | None | |
PSAMileStoneShows whether the activity is a milestone. | EnumNoYes (enum) | No | None | |
PSARefRecIdReference to the activity setup record. | Int64RefRecId | No | PSAActivitySetup.RecId | None |
PSASchedEffortTotal effort in hours. | RealHours | No | None | |
PSASchedEndScheduled end date. | DateSchedToDate | No | None | |
PSASchedFromTimeScheduled start time. | TimeSchedFromTime | No | None | |
PSASchedStartScheduled start date. | DateSchedFromDate | No | None | |
PSASchedToTimeScheduled end time. | TimeSchedToTime | No | None | |
PSAScheduledStaffing status: not, partially or fully staffed, or fully staffed with conflict. | EnumPSASchedulePSAScheduled (enum) | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TxtDescription of the activity. | String (60)Description | No | None |
Indexes (2)
ActivityNumberIdxPrimary indexReplacement keyUnique, alternate key.
jobIdxNot unique.
Relations (3)
Each relation joins ProjActivity to another table on the fields shown.
ProjCategory→ProjCategoryJoin on
CategoryDefault = ProjCategory.CategoryIdMany ProjActivity records → zero or one ProjCategory record
PSAActivitySetup→PSAActivitySetupJoin on
PSARefRecId = PSAActivitySetup.RecIdZero or one ProjActivity record → zero or one PSAActivitySetup record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberZero or one ProjActivity record → exactly one smmActivities record
Get this data out
No public entity reads from ProjActivity. Its data is only reachable through the application, a custom entity or a database export.
Need help with ProjActivity in a report, an integration or a migration? Talk to Dr Dynamics.