Table
WorkPeriodTemplate
Period templates
Holds period templates, keyed by name. Each template can set a fixed start day of the week, link to a working time template, and be linked to a legal entity.
- Table name
WorkPeriodTemplate- Module
Master planning- Table group
Group- Table type
Regular- Data per company
No- Configuration key
None- Primary index
RecId- Replacement key
NameIdx- Key fields
Name- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameName of the period template. | String (60)PeriodTemplateName | Yes | ReqMasterPlanningProductCoverageGroupEntity | |
FixedDayStartDay of the week on which a day-based period starts. | EnumPeriodTemplateFixedDayStartWeekDays (enum) | No | None | |
LegalEntityLegal entity linked to the template. | Int64RefRecId | Yes | CompanyInfo.RecId | None |
LegalEntityDefaultShows whether this is the default template for the legal entity. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
WorkTimeIdWorking time template used by this period template. | StringWorkTimeIdBase | No | WorkTimeTable.WorkTimeId | None |
WorkTimeIdDataAreaIdCompany of the working time template. | StringSelectableDataArea | No | WorkTimeTable.dataAreaId | None |
Indexes (1)
NameIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins WorkPeriodTemplate to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany WorkPeriodTemplate records → exactly one CompanyInfo record
WorkTimeTable→WorkTimeTableJoin on
WorkTimeIdDataAreaId = WorkTimeTable.dataAreaId,WorkTimeId = WorkTimeTable.WorkTimeIdMany WorkPeriodTemplate records → zero or one WorkTimeTable record
Get this data out
Tables are not exposed directly. These public entities read from WorkPeriodTemplate; use one of them in Power BI, Power Platform or a data management project.
ReqMasterPlanningProductCoverageGroupEntity· 1 field from this table
Need help with WorkPeriodTemplate in a report, an integration or a migration? Talk to Dr Dynamics.