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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityNumberUnique number of the activity.String (50)
smmActivityNumber
YessmmActivities.ActivityNumberNone
CategoryDefaultDefault project category for the activity.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
JobIdIdentifier of the job.String (20)
JmgJobId
NoNone
JobPayTypePay type for the job: all, hourly rate or piecework rate.Enum
JmgJobPayType
JmgJobPayTypeEnum (enum)
NoNone
MandatoryShows whether the activity is restricted to its category.Enum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PSAActivityActivity identification code.String (20)
PSAActivityIdNew
NoNone
PSAActivityDurationDuration of the activity in days.Real
PSAActivityDuration
NoNone
PSACalendarIdCalendar used for the activity.String
CalendarId
NoNone
PSAConstraintDateDate used by the scheduling constraint.Date
PSAConstraintDate
NoNone
PSAConstraintTypeScheduling constraint, such as must start on or finish no later than.Enum
PSAConstraintType (enum)
NoNone
PSADefaultDateDefault date for the activity.Date
TransDate
NoNone
PSADurationToEndShows whether the duration decides the end date.Enum
PSADurationToEnd
NoYes (enum)
NoNone
PSAHierarchyHierarchy the activity belongs to.String
PSAHierarchy
NoNone
PSAIgnoreCalendarShows whether the resources' calendar is disregarded.Enum
PSAIgnoreCalendar
NoYes (enum)
NoNone
PSAMileStoneShows whether the activity is a milestone.Enum
NoYes (enum)
NoNone
PSARefRecIdReference to the activity setup record.Int64
RefRecId
NoPSAActivitySetup.RecIdNone
PSASchedEffortTotal effort in hours.Real
Hours
NoNone
PSASchedEndScheduled end date.Date
SchedToDate
NoNone
PSASchedFromTimeScheduled start time.Time
SchedFromTime
NoNone
PSASchedStartScheduled start date.Date
SchedFromDate
NoNone
PSASchedToTimeScheduled end time.Time
SchedToTime
NoNone
PSAScheduledStaffing status: not, partially or fully staffed, or fully staffed with conflict.Enum
PSASchedule
PSAScheduled (enum)
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TxtDescription of the activity.String (60)
Description
NoNone

Indexes (2)

  • ActivityNumberIdxPrimary indexReplacement key

    ActivityNumber

    Unique, alternate key.

  • jobIdx

    JobId

    Not unique.

Relations (3)

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

  • ProjCategory → ProjCategory

    Join on CategoryDefault = ProjCategory.CategoryId

    Many ProjActivity records → zero or one ProjCategory record

  • PSAActivitySetup → PSAActivitySetup

    Join on PSARefRecId = PSAActivitySetup.RecId

    Zero or one ProjActivity record → zero or one PSAActivitySetup record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Zero 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.

Email sales@drdynamics.co.uk