Table

PSAActivitySetup

Activity setup

Holds setup details for activities in project scheduling. Each record has hierarchy position, schedule dates and times, constraints, effort and cost. It links to activities, calendars, project categories and roles.

Table name
PSAActivitySetup
Module
Project
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (44)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityActivity identification code.String (20)
PSAActivityId
NoNone
ActivityDurationDuration of the activity, in hours.Real
Hours
NoNone
ActivityGroupID of the activity group.String (20)
PSAActivityGroupId
NoNone
ActivityNumberNumber of the related activity record.String (50)
smmActivityNumber
YessmmActivities.ActivityNumberNone
CalendarIdCalendar used for the activity.String
CalendarId
NoWorkCalendarTable.CalendarIdNone
CategoryDefaultDefault project category for the activity.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ConstraintTypeScheduling constraint type, such as As Soon As Possible or Must Start On.Enum
PSAConstraintType (enum)
NoNone
CostAtCompleteTotal cost amount expected for the activity at completion; currency not stated in the metadata.Real
ProjTotalCostAmount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DurationToEndYes/No flag: whether the duration decides the end date.Enum
PSADurationToEnd
NoYes (enum)
NoNone
EffortPlanned effort in hours.Real
Hours
NoNone
EffortAtCompleteEffort in hours at completion.Real
Hours
NoNone
ElementNodeTypeWhether the element is a Node or an Activity.Enum
ElementNodeType (enum)
NoNone
ElementNumberNumber of this element in the hierarchy.String
ElementNumber
NoNone
HierarchyIdID of the hierarchy the element belongs to.String
HierarchyIdBase
NoNone
IgnoreCalendarYes/No flag: whether the resources' calendars are disregarded.Enum
PSAIgnoreCalendar
NoYes (enum)
NoNone
IsTemplateYes/No flag showing whether the activity is a template.Enum
smmActivityIsTemplate
NoYes (enum)
NoNone
LevelLevel number of the element in the hierarchy.Integer
Integer
NoNone
LineNumLine number used for ordering.Real
LineNum
NoNone
MandatoryYes/No flag showing whether the activity is mandatory.Enum
NoYes (enum)
NoNone
MileStoneYes/No flag showing whether the element is a milestone.Enum
NoYes (enum)
NoNone
NumberOfResourcesNumber of resources for the activity.Real
NumberOfResources
NoNone
ParentElementNumberElement number of the parent element in the hierarchy.String
ElementNumber
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PSAConstraintDateDate used with the scheduling constraint.Date
PSAConstraintDate
NoNone
PSAConstraintTypeScheduling constraint type, such as Finish No Later Than or Must Finish On.Enum
PSAConstraintType (enum)
NoNone
PSAHierarchyLevelTypeType of hierarchy level: Subproject, Task, Root, Level or Activity.Enum
PSAHierarchyLevelType (enum)
NoNone
PSALevelDescriptionDescription of the level.String (60)
Description
NoNone
PSALevelNameName of the level.String (60)
Name
NoNone
PSANameLinkName used as a link for the level.low confidenceString (60)
Name
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 staffed, Partially staffed, Fully staffed or Fully staffed with conflict.Enum
PSASchedule
PSAScheduled (enum)
NoNone
PSASubprojectYes/No flag showing whether the element is a subproject.Enum
NoYes (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
ReferenceElementNumberElement number of another element that this one refers to.low confidenceString
ElementNumber
NoNone
ResourceCategoryRole the activity needs, pointing to the role record.Int64
ResourceCategoryRecId
NoPSASchedRole.RecIdNone
SiblingNumberLine number showing the order among elements at the same level.Real
LineNum
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
TxtShort description text.String (60)
Description
NoNone

Indexes (2)

Relations (4)

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

  • ProjCategory → ProjCategory

    Join on CategoryDefault = ProjCategory.CategoryId

    Many PSAActivitySetup records → zero or one ProjCategory record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Zero or one PSAActivitySetup record → exactly one smmActivities record

  • WorkCalendarTable → WorkCalendarTable

    Join on CalendarId = WorkCalendarTable.CalendarId

    Many PSAActivitySetup records → zero or one WorkCalendarTable record

  • PSASchedRole → PSASchedRole

    Join on ResourceCategory = PSASchedRole.RecId

    Many PSAActivitySetup records → exactly one PSASchedRole record

Get this data out

No public entity reads from PSAActivitySetup. Its data is only reachable through the application, a custom entity or a database export.

Need help with PSAActivitySetup in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk